search for: mailbox_copy

Displaying 20 results from an estimated 66 matches for "mailbox_copy".

2015 Nov 30
4
Questions about hardlinks, alternate storage and compression]
...ture, and I wonder if I am doing something wrong or if the feature (hardlink+sieve) simply does not exists. Hardlink+Sieve has never worked. The fix is a bit complicated. Here's my TODO entry about it: - remove mail_deliver_session after all, do all the stuff transparently by hooking into mailbox_copy(). - use this hook also to do the mail deduplication: 1) sort all destination users, 2) create mail_user only once for each user, 3) remember in src_mail the previously copied mail, 4) use that for mailbox_copy()ing to following recipients - make sure this removes dup...
2014 Nov 10
0
mail-storage.c:2222:mailbox_copy assertion failed: (!ctx->unfinished)
...ke this (only the timestamp differs). > Nov 10 21:29:53 khitomer dovecot: imap-login: Login: user=<user at hostname>, method=PLAIN, rip=XXXX, lip=YYYY, mpid=ZZZZ, TLS, session=<TTTT> > Nov 10 21:29:53 khitomer dovecot: imap(user at hostname): Panic: file mail-storage.c: line 2222 (mailbox_copy): assertion failed: (!ctx->unfinished) > Nov 10 21:29:53 khitomer dovecot: imap(user at hostname): Fatal: master: service(imap): child 35108 killed with signal 6 (core not dumped) I have the mail storage on ZFS, one separate filesystem per user and another for the lucene indexes. I.e. these...
2010 Jun 29
2
Upgrade Too 1.2.11 Broke Everything
...n 29 11:52:05 thavinci dovecot: IMAP(me at thavinci.za.net): Connection closed bytes=306/4046 As can be seen somehow it's trying to write to the mbox file and I have no idea why! And this is the db structure! SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `mailbox_copy` -- ---------------------------- DROP TABLE IF EXISTS `mailbox_copy`; CREATE TABLE `mailbox_copy` ( `username` varchar(255) NOT NULL DEFAULT '', `password` varchar(255) NOT NULL DEFAULT '', `name` varchar(255) NOT NULL DEFAULT '', `maildir` varchar(255) NOT NULL DEFA...
2014 Feb 23
1
2.2.12: Panic: file mail-index.c: line 380 (mail_index_keywords_unref): assertion failed: (keywords->refcount > 0)
...w_arg_area = 0x7fffb9d88df0, reg_save_area = 0x7fffb9d88d30}} #5 0x00007f64dae59fbc in mail_index_keywords_unref (_keywords=<optimized out>) at mail-index.c:380 keywords = <optimized out> __FUNCTION__ = "mail_index_keywords_unref" #6 0x00007f64dae22657 in mailbox_copy (_ctx=<optimized out>, mail=mail at entry=0xbcf260) at mail-storage.c:2140 ctx = 0xbd3a80 t = 0xbcd580 keywords = 0xbd4a50 pvt_flags = 0 real_mail = <optimized out> ret = -1 __FUNCTION__ = "mailbox_copy" #7 0x000...
2017 Sep 27
4
Panic
...n i_internal_fatal_handler (ctx=0x7ffc553b38d0, format=<optimized out>, args=<optimized out>) at failures.c:670 #4 0x00007fc5ef136cf8 in i_panic (format=format at entry=0x7fc5ef52e880 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:275 #5 0x00007fc5ef47f998 in mailbox_copy_int (_ctx=_ctx at entry=0x7ffc553b3ab0, mail=<optimized out>) at mail-storage.c:2473 #6 0x00007fc5ef47f9ff in mailbox_copy (_ctx=_ctx at entry=0x7ffc553b3ab0, mail=<optimized out>) at mail-storage.c:2489 #7 0x000055bae72a2f5f in fetch_and_copy (copy_count_r=<synthetic pointer>,...
2013 May 31
1
imapc "moving email to another folder" crashes
...ist, I am having the same problem with dovecot 2.2.1 on RHEL and dovecot 2.2.2 on FreeBSD and the imapc proxy. moving eMail from one folder to another folder. the error is reproducible. Logfile RHEL/Dovecot 2.2.1: May 31 19:57:45 imap(mail at --------.com): Panic: file mail-storage.c: line 2100 (mailbox_copy): assertion failed: (!ctx->unfinished) May 31 19:57:45 imap(mail at --------.com): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x5f68a) [0x7fd60b76a68a] -> /usr/lib64/dovecot/libdovecot.so.0(+0x5f6d6) [0x7fd60b76a6d6] -> /usr/lib64/dovecot/libdovecot.so.0(+0x1fffa) [0x7fd60b7...
2014 Feb 09
1
Dsync crash (v2.2.10, sdbox+sis → mbox)
...cot-storage.so.0(index_mail_close+0xf5) [0x7f58a98a6295] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_save_cancel+0x48) [0x7f58a98867c8] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mail_storage_copy+0x92) [0x7f58a9880e32] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x5f) [0x7f58a9886c2f] -> dsync() [0x42f750] -> dsync(dsync_brain_sync_mails+0x459) [0x42e9c9] -> dsync(dsync_brain_run+0x2a1) [0x42ac51] -> dsync() [0x42876f] -> dsync() [0x411c97] -> dsync(doveadm_mail_try_run+0x238) [0x4120a8] -> dsync(main+0x3d1) [0x41aaa1] -> /lib64/lib...
2014 Jun 19
2
dovecot 2.2.13 core dump (signal 11)
...ts (ctx=0x12f9810, mail=0x12f5030) at acl-mailbox.c:409 destbox = 0x12edf90 save_right = <value optimized out> #2 acl_copy (ctx=0x12f9810, mail=0x12f5030) at acl-mailbox.c:430 t = <value optimized out> abox = 0x12ee5f8 #3 0x00007f4c11b741ed in mailbox_copy (_ctx=<value optimized out>, mail=0x12f5030) at mail-storage.c:2149 ctx = 0x12f9810 t = 0x12f32d0 keywords = 0x12f9b80 pvt_flags = 0 backend_mail = 0x12f5030 ret = <value optimized out> __FUNCTION__ = "mailbox_copy...
2017 Sep 27
0
Panic
...al_fatal_handler (ctx=0x7ffc553b38d0, format=<optimized out>, args=<optimized out>) at failures.c:670 > #4 0x00007fc5ef136cf8 in i_panic (format=format at entry=0x7fc5ef52e880 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:275 > #5 0x00007fc5ef47f998 in mailbox_copy_int (_ctx=_ctx at entry=0x7ffc553b3ab0, mail=<optimized out>) at mail-storage.c:2473 > #6 0x00007fc5ef47f9ff in mailbox_copy (_ctx=_ctx at entry=0x7ffc553b3ab0, mail=<optimized out>) at mail-storage.c:2489 > #7 0x000055bae72a2f5f in fetch_and_copy (copy_count_r=<synthetic poi...
2015 Jun 18
1
Dovecot 2.1.9 shared folder deletion causes fault
...ot/libdovecot.so.0(+0x5e271) [0x7eff3f6d1271] -> /usr/lib/dovecot/libdovecot.so.0(+0x5e34e) [0x7eff3f6d134e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7eff3f68ca9e] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xa7cbc) [0x7eff3f9e2cbc] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x6c) [0x7eff3f9ac8ec] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x15) [0x7eff3f9ac985] -> dovecot/imap(+0xded5) [0x7eff3fe78ed5] -> dovecot/imap(command_exec+0x3c) [0x7eff3fe836dc] -> dovecot/imap(+0x176cf) [0x7eff3fe826cf] -> dovecot/imap(+0x17785) [0x7eff3fe82785] -...
2015 Aug 12
1
imap segfaults when using antispam plugin, and moving mail to an 'unsure' folder.
...hould refuse this action. What actually happens though is that the imap process throws an error and dies: Aug 12 17:53:07 255c7fc2d2f0 imap: antispam: mailbox_is_unsure(Review-Classification): 1 Aug 12 17:53:07 255c7fc2d2f0 dovecot: imap(user at example.com): Panic: file mail-storage.c: line 2141 (mailbox_copy): assertion failed: (!ctx->unfinished) Aug 12 17:53:07 255c7fc2d2f0 dovecot: imap(user at example.com): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x5e271) [0x7f718e7dd271] -> /usr/lib/dovecot/libdovecot.so.0(+0x5e34e) [0x7f718e7dd34e] -> /usr/lib/dovecot/libdovecot.so.0(i_fat...
2015 Nov 30
0
Questions about hardlinks, alternate storage and compression]
...m doing something wrong or if the feature (hardlink+sieve) simply does not exists. > > Hardlink+Sieve has never worked. The fix is a bit complicated. Here's my TODO entry about it: > > - remove mail_deliver_session after all, do all the stuff transparently > by hooking into mailbox_copy(). > - use this hook also to do the mail deduplication: 1) sort all destination > users, 2) create mail_user only once for each user, 3) remember in > src_mail the previously copied mail, 4) use that for mailbox_copy()ing > to following recipients >...
2015 Nov 30
1
Questions about hardlinks, alternate storage and compression]
...ong or if the feature (hardlink+sieve) simply does not exists. >> >> Hardlink+Sieve has never worked. The fix is a bit complicated. Here's my TODO entry about it: >> >> - remove mail_deliver_session after all, do all the stuff transparently >> by hooking into mailbox_copy(). >> - use this hook also to do the mail deduplication: 1) sort all destination >> users, 2) create mail_user only once for each user, 3) remember in >> src_mail the previously copied mail, 4) use that for mailbox_copy()ing >> to following recipien...
2012 Feb 14
1
index synchronization during local delivery
...l delivery, So when local deliveries, it will first generate the UID, move the mail into maildir, then synchronize the mailbox index, which is part of dovecot LDA does. The question is what API or something else about index synchronization I can integrate into our own LDA program easily? Seems mailbox_copy() would be the possibility? Thanks.
2017 Sep 27
0
mail-storage.c:2473 assertion failed: (!ctx->unfinished) (related to antispam?)
...got to update it. Two more bits of info. Here's the log output related to this crash: dovecot: imap-login: Login: user=<2014>, method=PLAIN, rip=217.122.126.195, lip=10.42.0.13, mpid=10569, TLS, session=<IsP37ypaFYHZen7D> dovecot: imap(2014): Panic: file mail-storage.c: line 2473 (mailbox_copy_int): assertion failed: (!ctx->unfinished) (I've omitted the raw backtrace) And, I just discovered that (it seems that) whenever such a crash happens, an empty /tmp/antispam-mail-xyz directory is created, which makes me suspect that at least the antispam plugin is involved in these imap ses...
2014 May 08
0
Error Panic: file mail-storage.c
Hi to all, i have dovecot 2.2.12 compiled from source on debian 6 i find this errors on errorlog ...... 2014-05-08 12:44:21 imap(XXXXXXXXX): Panic: file mail-storage.c: line 2141 (mailbox_copy): assertion failed: (!ctx->unfinished) 2014-05-08 12:44:21 imap(XXXXXXXXX): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x6f47a) [0x7f54671e847a] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x6f4f6) [0x7f54671e84f6] -> /usr/local/lib/dovecot/libdovecot.so.0(i_error+0) [...
2013 Jun 12
2
LMTP crash with sdbox and SIS
..._t = <optimized out> mbox = <optimized out> __FUNCTION__ = "sdbox_copy" #10 0x00007fc2706b1320 in quota_copy (ctx=0x9b7ef0, mail=0x9a3c60) at quota-storage.c:220 t = 0x9b4b70 qt = 0x9b7e80 qbox = 0x9b2450 #11 0x00007fc2715afadf in mailbox_copy (_ctx=_ctx at entry=0x7fff6b38aaa8, mail=0x9a3c60) at mail-storage.c:2116 ctx = 0x9b7ef0 t = 0x9b4b70 keywords = 0x0 pvt_flags = 0 ---Type <return> to continue, or q <return> to quit--- real_mail = <optimized out> ret = <optimized...
2011 Aug 08
2
How to make dovecot-lda/deliver mark a message as seen
...d have a special case here in which I want a mail that is delivered locally with dovecot-lda to be marked as "seen". In dovecot 1.1.7 I succeeded to achive this, by modifing deliver.c so that upon adding a -S switch to the command arguments, the flag MAIL_SEEN was added to the call of mailbox_copy(). This seemed to work pretty good. With the new version, i tried to do something similar by selectively adding mail_update_flags(ctx.src_mail, MODIFY_ADD, MAIL_SEEN); just before the call of mail_deliver(), whenever the -S argument is given. But this does not work. What is wrong? Is there a be...
2014 Aug 06
1
Panic on alway_bcc mail with attachment while using sdbox
...t; /usr/lib/dovecot/libdovecot.so.0(+0x66700) [0x443700] -> /usr/lib/dovecot/libdovecot.so.0(+0x18c23) [0x3f5c23] -> /usr/lib/dovecot/libdovecot.so.0(+0x2278b) [0x3ff78b] -> /usr/lib/dovecot/libdovecot-storage.so.0(sdbox_copy+0x4ad) [0x23c6ad] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x62) [0x27da72] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_save_using_mail+0x2b) [0x27db4b] -> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver_save+0x1a1) [0x5dd3c1] -> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver+0x143) [0x5dd7c3] -> dovecot/lmtp() [0x804d090] -> /u...
2009 Apr 13
0
How can I skip EOH in headers?
...an/work/rarules/src/rarules-plugin.c:181 #6 0x0809d830 in mail_get_stream (mail=0x8141860, hdr_size=0x0, body_size=0x0, stream_r=0xbfbfe920) at mail.c:149 #7 0x0809d936 in mail_storage_copy (t=0x811b980, mail=0x8141860, flags=0, keywords=0x0, dest_mail=0x0) at mail-copy.c:17 #8 0x080a0632 in mailbox_copy (t=0x811b980, mail=0x8141860, flags=0, keywords=0x0, dest_mail=0x0) at mail-storage.c:763 #9 0x0805960d in deliver_save (namespaces=0x8121c68, storage_r=0xbfbfeb94, mailbox=0x811a360 "Draft", mail=0x8141860, flags=0, keywords=0x0) at deliver.c:234 ... backtrace (B) for mbox_sa...