Re: [Dovecot] v2.1.16 released
Timo Sirainen skrev den 2013-04-04 23:16: + Added quota-status policy service for Postfix so now postfix can use dovecot as a qouta policy daemon ? (via check_policy_service) if so super duper, but i still keep dovecot 1.x for now, will have to redo another server to go with dovecot 2.x, hopefully it will be my first mac mini server not running in an f16 with afterburner :)
Re: [Dovecot] not showing subfolders on INBOX
David Benfell wrote: > First, I'm pretty sure I screwed up something with dovecot. The > symptom appears in both thunderbird and mutt. > > Linux munich.parts-unknown.org 3.8.4-1-ARCH #1 SMP PREEMPT Wed Mar 20 > 22:10:25 CET 2013 x86_64 GNU/Linux > > Linux atlanta.parts-unknown.org 3.6.10-1-ARCH #1 SMP PREEMPT Tue Dec > 11 09:40:17 CET 2012 x86_64 GNU/Linux > > I literally copied this configuration, so it's the same on both > systems. But on the new system, I'm not seeing subfolders in INBOX. I > also copied my Maildir from the old system to the new system, so it > should--I thought, anyway--be okay. > > What did I do wrong? And how should I fix it? Possibly a filesystem permission issue or userid mismatch? How did you copy the Maildir from the old system to the new system and has the affected sufficient access to the Maildir? Can you find any errors in dovecot logfile? Regards Daniel -- https://plus.google.com/103021802792276734820
Re: [Dovecot] manually updating dovecot 1 config to dovecot 2
Felipe Gasper (cPanel) wrote: > I mean without using doveconf. > > Manually going in, with a text editor, and changing the settings to the new > formats. > > Is there anything that describes how to do this? http://wiki2.dovecot.org/Upgrading http://wiki2.dovecot.org/Upgrading/2.0 http://wiki2.dovecot.org/Upgrading/2.1 http://wiki2.dovecot.org/Upgrading/2.2 Regards Daniel -- https://plus.google.com/103021802792276734820
Re: [Dovecot] manually updating dovecot 1 config to dovecot 2
See src/config/old-set-parser.c for how doveconf does it. It doesn't convert some (more rarely used) settings that are also difficult to convert. http://wiki2.dovecot.org/Upgrading/2.0 lists those things. On 5.4.2013, at 2.37, Felipe Gasper (cPanel) wrote: > I mean without using doveconf. > > Manually going in, with a text editor, and changing the settings to the new > formats. > > Is there anything that describes how to do this? > > -FG > > On 4/4/13 6:28 PM, Daniel Parthey wrote: >> Hi Felipe, >> >> Felipe Gasper (cPanel) wrote: >>> Is there documentation somewhere on how to update a dovecot 1 >>> configuration file to dovecot 2’s preferred formats? >>> >>> We’re looking to provide Dovecot 2 with cPanel; having that >>> documentation would help us update the config file templates that we >>> ship. >> >> http://wiki2.dovecot.org/Tools/Doveconf >> >> doveconf can be used to convert v1.x configuration files into v2.x format: >> >> doveconf -n -c dovecot1.conf > dovecot2.conf >> >> Regards >> Daniel >> > > -- > Felipe Gasper > User interface development > > cPanel, Inc. > 3131 W. Alabama St. > Houston, TX 77098 > office 713-529-0800 x4096 > cell 832-633-8092 > fax 713-559-3206 >
[Dovecot] not showing subfolders on INBOX
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Apologies if a duplicate message. I initially sent the following from a non-subscribed email address (my usual address, but not the one that works when I'm having trouble with mail). First, I'm pretty sure I screwed up something with dovecot. The symptom appears in both thunderbird and mutt. I'm moving my server from a VPS to a dedicated server. *Both* are Arch Linux systems. Here's the dovecot -n output: # 2.1.15: /etc/dovecot/dovecot.conf # OS: Linux 3.8.4-1-ARCH x86_64 base_dir = /var/run/dovecot/ default_client_limit = 3000 default_process_limit = 1000 login_trusted_networks = 10.8.0.0/16 127.0.0.0/8 mail_location = maildir:~/Maildir mail_max_userip_connections = 30 passdb { args = failure_show_msg=yes driver = pam } service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } } ssl_cert = http://www.enigmail.net/ iQIcBAEBAgAGBQJRXhA2AAoJELJhbl/uPb4STkEP/2Nx3VPh0HkZW6dN4wpwyGgG MklUzErLiA8+BM+gsEzSTASq+wWkmet9/9gSSYhgRhTbaamw+ymY+VvRzjUuMOE/ Bi1Q1QfOSe2H0AymMmO8ClQX0KeKZruf+a3ezuxL/ccYeFAoF3UmlsV5JuXzh/yS 62TknVV/mnpmikTTADSF1YkCsv11pErAPCfuXS18C1C4RivylpXdnDKANCrK1/CT E00Je3uvTzc7ed7I6QuEzZyFT7CQP49DJpYIbP7570vLHl7zFJvYSfg3IWBRqFVn iiPqQ2h9pbsxM3D4ucvuiDBM17556ep80+PXAWmc/SNEH8ArGWOGqJTjVNSnqyqP j27M15F/G68kjqp/VIaJzii6/c6C4PsB8dV5vDG/rxKmpAGr6gWrv6FZ+hkmhdQn /S+AcOeIwrqeWPEWLM4OtEt3hqjvvHtstkuw2M3iUdDdraWbzPLAT2aX2Xj7zrbc h7yRBM5G74fKXZhm3iC+6I3YeIjrzy4FGj7IxP1ubhVvbGwBInBc2h0nMX7+u/xV xTwqKomuQh4nBiZNdZ+YMkaHvN5GaiYEiO8ZOAceZZ9OYuuGg8QodsaHetWkJAcL x6SkgeYmwXTRsOaXulSdUAsLqDlaz5pV0daairRee31pJ5jOdJAPYFiDKvYFXfQN FetIUFxuPYWUxS37WpI3 =pI8L -END PGP SIGNATURE-
Re: [Dovecot] manually updating dovecot 1 config to dovecot 2
I mean without using doveconf. Manually going in, with a text editor, and changing the settings to the new formats. Is there anything that describes how to do this? -FG On 4/4/13 6:28 PM, Daniel Parthey wrote: Hi Felipe, Felipe Gasper (cPanel) wrote: Is there documentation somewhere on how to update a dovecot 1 configuration file to dovecot 2’s preferred formats? We’re looking to provide Dovecot 2 with cPanel; having that documentation would help us update the config file templates that we ship. http://wiki2.dovecot.org/Tools/Doveconf doveconf can be used to convert v1.x configuration files into v2.x format: doveconf -n -c dovecot1.conf > dovecot2.conf Regards Daniel -- Felipe Gasper User interface development cPanel, Inc. 3131 W. Alabama St. Houston, TX 77098 office 713-529-0800 x4096 cell 832-633-8092 fax 713-559-3206
Re: [Dovecot] manually updating dovecot 1 config to dovecot 2
Hi Felipe, Felipe Gasper (cPanel) wrote: > Is there documentation somewhere on how to update a dovecot 1 > configuration file to dovecot 2’s preferred formats? > > We’re looking to provide Dovecot 2 with cPanel; having that > documentation would help us update the config file templates that we > ship. http://wiki2.dovecot.org/Tools/Doveconf doveconf can be used to convert v1.x configuration files into v2.x format: doveconf -n -c dovecot1.conf > dovecot2.conf Regards Daniel -- https://plus.google.com/103021802792276734820
Re: [Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs
On 5.4.2013, at 0.48, Lutz Preßler wrote: >>> Only user1.test and user1.test.test2 have ACLs that allow testuser to access >>> them. >>> >>> host:~# doveadm mailbox status -u testuser all INBOX.shared.user1.privat >>> INBOX.shared.user1.privat messages=37 recent=0 uidnext=70 >>> uidvalidity=1060291494 unseen=7 highestmodseq=1 vsize=1618757 >>> guid=9a71cb399c249d4ce10ec93908ca >>> >>> Access with search and fetch (and probably any other doveadm command) is >>> possible, too. >>> Is this how it's supposed to work? Commands in testuser IMAP session >>> respects ACLs. >> >> My guess: You have acl plugin enabled in protocol imap {}, but not globally? > No. It's enabled in global mail_plugins: Oh. Hmm. Yeah, looks like doveadm nowadays ignores ACLs when listing mailboxes. It probably shouldn't.. I'll need to think about this. Wonder why I added the RAW_LIST flag in the first place..
Re: [Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs
Hello Timo, On Thu, 04 Apr 2013, Timo Sirainen wrote: > On 2.4.2013, at 15.37, Lutz Preßler wrote: > > > Only user1.test and user1.test.test2 have ACLs that allow testuser to access > > them. > > > > host:~# doveadm mailbox status -u testuser all INBOX.shared.user1.privat > > INBOX.shared.user1.privat messages=37 recent=0 uidnext=70 > > uidvalidity=1060291494 unseen=7 highestmodseq=1 vsize=1618757 > > guid=9a71cb399c249d4ce10ec93908ca > > > > Access with search and fetch (and probably any other doveadm command) is > > possible, too. > > Is this how it's supposed to work? Commands in testuser IMAP session > > respects ACLs. > > My guess: You have acl plugin enabled in protocol imap {}, but not globally? No. It's enabled in global mail_plugins: mail_plugins = " virtual acl zlib notify mail_log quota listescape stats fts fts_lucene mailbox_alias" imap_acl only in protocol imap, of course. Lutz
[Dovecot] v2.2.rc4 released
http://dovecot.org/releases/2.2/rc/dovecot-2.2.rc4.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.rc4.tar.gz.sig A lot of small random fixes. Some last minute major cleanups/fixes to lib-http and lib-ssl-iostream error handling, which makes them much easier to debug if something goes wrong (so e.g. if https site has invalid certificate, the caller gets error message saying that, including the part of the cert that couldn't be validated). I don't have anything important left in my v2.2 TODO. It passes all my tests. So I'm hoping for v2.2.0 release any day now. + Added "doveadm replicator" commands - Larger changes to lib-http and lib-ssl-iostream error handling. The API caller can now get the exact error message as a string. - Various bugfixes to LDAP changes in rc3
[Dovecot] v2.1.16 released
http://dovecot.org/releases/2.1/dovecot-2.1.16.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.16.tar.gz.sig + Added quota-status policy service for Postfix + Added "doveadm batch" command to run multiple commands before moving onto the next user (useful only with -A and -u ) + Added forwards compatibility for v2.2 index files - mdbox: Index rebuilding crashed in some situations - Fixed a race condition with setting \Recent flags - Fixed a crash when decoding a specific message (decoding is done for SEARCH TEXT/BODY and with full text search indexing, so this couldn't fully DoS a user)
[Dovecot] manually updating dovecot 1 config to dovecot 2
Is there documentation somewhere on how to update a dovecot 1 configuration file to dovecot 2’s preferred formats? We’re looking to provide Dovecot 2 with cPanel; having that documentation would help us update the config file templates that we ship. Thank you! -- Felipe Gasper cPanel, Inc.
Re: [Dovecot] replicator process
On 3.4.2013, at 0.25, Lutz Preßler wrote: > 2.2rc3: replication unconfigured (no "replica" in doveconf -n output), > # doveadm replicator status > starts the dovecot/replicator process, which keeps running, leading > to "sync: User has no mail_replica in userdb" errors for each user every > 5 minutes. Hmh. OK, fixed in hg. It now requires that service replicator { process_min_avail=1 } or it won't start. > Same after "doveadm replicator replicate some-even-nonexisting-user". First I thought you meant that the nonexistent user would be left lying around in replicator's memory and attempted to be replicated again, but that doesn't happen with me.
Re: [Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs
On 2.4.2013, at 15.37, Lutz Preßler wrote: > Only user1.test and user1.test.test2 have ACLs that allow testuser to access > them. > > host:~# doveadm mailbox status -u testuser all INBOX.shared.user1.privat > INBOX.shared.user1.privat messages=37 recent=0 uidnext=70 > uidvalidity=1060291494 unseen=7 highestmodseq=1 vsize=1618757 > guid=9a71cb399c249d4ce10ec93908ca > > Access with search and fetch (and probably any other doveadm command) is > possible, too. > Is this how it's supposed to work? Commands in testuser IMAP session > respects ACLs. My guess: You have acl plugin enabled in protocol imap {}, but not globally?
Re: [Dovecot] Outlook 2013 - mounting folders with XLIST
On 3.4.2013, at 14.24, Hajo Locke wrote: >> Ugh. Not really. OK, latest v2.1 hg has passdb_import, userdb_import and >> userdb_userdb_import and they all work. .. > thanks, this is working. now it is possible to let the single user choose his > favorite foldernames if client is not very helpful. it results in some more > configuration, but is helpful in some situations. > > but i only achieved this without userdb prefetching. latest patch i added > latest patch http://hg.dovecot.org/dovecot-2.1/rev/cd919c490ea6 is included There are 3 more patches related to the userdb_import stuff since that one.
Re: [Dovecot] v2.2 getting NULL pointer reference with shared namespace in mailbox_tree?
On 2.4.2013, at 12.45, Walter Steiner wrote: >>> With todays nightly: >>> >>> dsync(wsunp...@iai.uni-bonn.de): Panic: file imapc-list.c: line 199 >>> (imapc_list_get_vname): assertion failed: (strncmp(prefix, storage_name, >>> prefix_len) == 0 && storage_name[prefix_len] == list->sep) Fixed this and some other stuff in hg.
Re: [Dovecot] Maildirs location migration
On 3.4.2013, at 18.42, Thomas Hummel wrote: > I'm using dovecot-2.1.15 with Maildir mailboxes located on an NFS filer. > Postfix is used to deliver mail through procmail ("mailbox_command) as LDA. > > Our team has bought another filer and everything is meant to go on it, so > we're > planning to migrate those mailboxes to the new filer. .. > I was wondering if such a migration could be done differently in order to be > seamless to the user : > > - for the postfix part, it would be easy, I guess, to create a new service > (and > a new transport map using this service) to deliver to the new location > > - but for the imap part, I'm not sure if it can be done. My guess is that, if > feasible, it would involve some namespace settings and a dsync copy but I > cannot figure out how exactly. http://wiki2.dovecot.org/Tools/Dsync#example_converting works for moving mailboxes as well as converting. It works even while procmail is used to deliver mails.
Re: [Dovecot] Proxying, pertinent values and features, SNI
On 3.4.2013, at 10.59, Christian Balzer wrote: > I'm looking into deploying dovecot as a proxy, currently using perdition. > Have been using dovecot on the actual servers for years, nearly a decade. > So far just 1.x, but for the proxy it will have to be 2.x (2.1.7 is the > current Debian version), as the trigger for this change is the need to > support multiple SSL certificates. > > All that happens on the proxy seems to be handled by the login processes, > so that is why we're not seeing anything useful in the process titles or > with doveadm, right? > And from past comments by Timo I guess that adding such functionality > isn't on his to-do list at all. doveadm proxy list > A configurable capabilities string for POP would be quite welcome, but at > least nothing is different between the 1.x backends and the 2.x proxy in > that protocol. v2.2 backends actually add some new POP3 capabilities. I guess there could be such a setting, although it's a bit annoying to develop.. > Speaking of 1.x versus 2.x, the feature to pass on the remote IP from the > proxy to the backend is a 2.x thing only, correct? Right. > So I suppose any parameters really affecting this setup are > default_process_limit and default_client_limit as well as the settings > in service-imap-login and service pop-login. > In particular mail_max_userip_connections never is looked at on the proxy > as this check happens in the respective protocol AFTER login, rite? Right. > I presume to best support all(?) clients out there is to have "local_name" > sections for SNI first and then "local" sections for IP address based > certs. It is my understanding that SNI needs to be requested by the > client, so aside from client bugs (nah, those don't exist ^o^) every > client should get an appropriate response for TLS. > Has anybody done a setup like that already? If you have separate IPs for each sertificate, you don't need to support/configure SNI, so local {} blocks are enough.
Re: [Dovecot] problem with dovecot lmtp via director
W dniu 04.04.2013 20:18, Piotr Rotter pisze: W dniu 04.04.2013 20:10, Timo Sirainen pisze: On Thu, 2013-04-04 at 20:08 +0200, Piotr Rotter wrote: I have strange problem with delivering mails via dovecot lmtp via director and i have not idea what is wrong. What Dovecot version in director and in backend? doveconf -n output from them? If director is v2.0, upgrade to v2.1 which has several LMTP proxy fixes. Hello, Thanks for super fast respond. Sorry I forgot paste dovecot configs. I use v2.1.13 in all servers Director config: ### ### dovecot -n # 2.1.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.39-gentoo-r3 x86_64 Gentoo Base System release 2.0.3 auth_mechanisms = plain login digest-md5 cram-md5 ntlm apop auth_verbose = yes default_client_limit = 10 default_process_limit = 1 default_vsz_limit = 512 M deliver_log_format = from=%f, msgid=%m, psize=%p: %$ director_mail_servers = 192.168.111.21 192.168.111.22 192.168.111.23 192.168.111.24 192.168.111.25 192.168.111.26 director_servers = 192.168.67.1 director_user_expire = 30 mins disable_plaintext_auth = no lmtp_proxy = yes login_greeting = Active24 Sp. z o.o. passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = box msgid from size } service auth-worker { user = root } service auth { client_limit = 10 unix_listener auth-userdb { group = dovecot mode = 0600 user = dovecot } } service director { fifo_listener login/proxy-notify { mode = 0666 } inet_listener { port = 9090 } unix_listener director-userdb { group = vmail mode = 0600 user = vmail } unix_listener login/director { mode = 0666 } } service imap-login { client_limit = 1000 executable = imap-login director process_limit = 1000 service_count = 1000 } service lmtp { inet_listener lmtp { address = 192.168.67.1 port = 24 } process_limit = 1000 process_min_avail = 5 user = vmail } service pop3-login { client_limit = 1000 executable = pop3-login director process_limit = 1000 service_count = 1000 } ssl_ca = $%*# I make panic with simple issue. Too small /tmp directory in tmpfs mount -o remount,size=200M /tmp solve mistake -- Pozdrawiam! / Best regards! -- Piotr Rotter Konsultant IT / IT Consultant === http://www.ACTIVE24.pl - Powerful hosting - surprisingly easy === ul. Barkocińska 6, 03-543 Warszawa PL Email: b...@active24.pl Tel: +48 22 423 33 22 GSM: +48 503 10 40 50 Skype: active24pl
Re: [Dovecot] problem with dovecot lmtp via director
W dniu 04.04.2013 20:10, Timo Sirainen pisze: On Thu, 2013-04-04 at 20:08 +0200, Piotr Rotter wrote: I have strange problem with delivering mails via dovecot lmtp via director and i have not idea what is wrong. What Dovecot version in director and in backend? doveconf -n output from them? If director is v2.0, upgrade to v2.1 which has several LMTP proxy fixes. Hello, Thanks for super fast respond. Sorry I forgot paste dovecot configs. I use v2.1.13 in all servers Director config: ### ### dovecot -n # 2.1.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.39-gentoo-r3 x86_64 Gentoo Base System release 2.0.3 auth_mechanisms = plain login digest-md5 cram-md5 ntlm apop auth_verbose = yes default_client_limit = 10 default_process_limit = 1 default_vsz_limit = 512 M deliver_log_format = from=%f, msgid=%m, psize=%p: %$ director_mail_servers = 192.168.111.21 192.168.111.22 192.168.111.23 192.168.111.24 192.168.111.25 192.168.111.26 director_servers = 192.168.67.1 director_user_expire = 30 mins disable_plaintext_auth = no lmtp_proxy = yes login_greeting = Active24 Sp. z o.o. passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = box msgid from size } service auth-worker { user = root } service auth { client_limit = 10 unix_listener auth-userdb { group = dovecot mode = 0600 user = dovecot } } service director { fifo_listener login/proxy-notify { mode = 0666 } inet_listener { port = 9090 } unix_listener director-userdb { group = vmail mode = 0600 user = vmail } unix_listener login/director { mode = 0666 } } service imap-login { client_limit = 1000 executable = imap-login director process_limit = 1000 service_count = 1000 } service lmtp { inet_listener lmtp { address = 192.168.67.1 port = 24 } process_limit = 1000 process_min_avail = 5 user = vmail } service pop3-login { client_limit = 1000 executable = pop3-login director process_limit = 1000 service_count = 1000 } ssl_ca = mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = box msgid from size quota = maildir quota2 = maildir:user quota quota_rule = *:storage=10GB quota_rule2 = *:messages=1 quota_rule3 = Trash:storage=+10M quota_rule4 = Trash:messages=+100 quota_warning = storage=80%% quota-warning 80 %u quota_warning2 = storage=90%% quota-warning 90 %u quota_warning3 = storage=100%% quota-warning 100 %u sieve_global_path = /etc/dovecot/sieve/default.sieve } sendmail_path = /usr/sbin/postfix service auth { client_limit = 12000 unix_listener auth-userdb { group = vmail mode = 0600 user = vmail } } service imap-login { process_limit = 1024 process_min_avail = 6 service_count = 100 } service imap { process_limit = 4096 process_min_avail = 6 service_count = 100 } service lmtp { inet_listener lmtp { address = 0.0.0.0 port = 24 } process_limit = 100 process_min_avail = 6 user = vmail } service pop3-login { process_limit = 1024 process_min_avail = 6 service_count = 100 } service pop3 { process_limit = 4096 process_min_avail = 6 service_count = 100 } service quota-warning { executable = script /opt/bin/quota-warning unix_listener quota-warning { mode = 0600 user = vmail } user = vmail } ssl_ca = http://www.ACTIVE24.pl - Powerful hosting - surprisingly easy === ul. Barkocińska 6, 03-543 Warszawa PL Email: b...@active24.pl Tel: +48 22 423 33 22 GSM: +48 503 10 40 50 Skype: active24pl
Re: [Dovecot] problem with dovecot lmtp via director
On Thu, 2013-04-04 at 20:08 +0200, Piotr Rotter wrote: > I have strange problem with delivering mails via dovecot lmtp via > director and i have not idea what is wrong. What Dovecot version in director and in backend? doveconf -n output from them? If director is v2.0, upgrade to v2.1 which has several LMTP proxy fixes.
[Dovecot] problem with dovecot lmtp via director
Hello, I have strange problem with delivering mails via dovecot lmtp via director and i have not idea what is wrong. After server restart bigger mails does not delivered. Postfix servers log that: 2013-04-04T19:55:38.919624+02:00 kurier9 postfix/lmtp[16620]: 3ZhWF337X5z89h3: to=, relay=192.168.67.1[192.168.67.1]:24, delay=1987, delays=1987/0/0/0.04, dsn=4.3.0, status=deferred (host 192.168.67.1[192.168.67.1] said: 451 4.3.0 Temporary internal failure (in reply to end of DATA command)) 2013-04-04T19:58:41.238926+02:00 kurier9 postfix/lmtp[16620]: 3ZhWF337X5z89h3: to=, relay=192.168.67.1[192.168.67.1]:24, delay=2170, delays=1990/0/0/180, dsn=4.4.2, status=deferred (conversation with 192.168.67.1[192.168.67.1] timed out while sending message body) Director server log something like that: 2013-04-04T20:00:45+02:00 r1 dovecot: lmtp(18447): Disconnect from 192.168.67.24: Temporary internal failure (in DATA) Dovecot servers log that: 2013-04-04T20:03:37.347279+02:00 k1 dovecot: lmtp(9380): Disconnect from 192.168.111.1: Connection closed (in RCPT TO) Please help because I have not idea what is wrong and queue growing up. Best regards Piotr Rotter
Re: [Dovecot] Crash while moving mail between private folder and shared folder
Le 31/03/13 16:26, Timo Sirainen a écrit : On 27.3.2013, at 18.01, kada...@gmail.com wrote: Just to bump the OP message as I experience the exact same symptom with the same configuration. That is: when moving an email to a virtual mailboxes, dovecot crash (and sometime the email disappears from the real mailbox). I'm guessing your error was different though. These should fix them: http://hg.dovecot.org/dovecot-2.2/rev/12136db6e31f http://hg.dovecot.org/dovecot-2.2/rev/9a8119326bd0 (not sure if http://hg.dovecot.org/dovecot-2.2/rev/f31d241d5371 is also required) Thanks Timo, this fixed my issue (yesterday's pull of the mercurial repo). You are the internet IMAP Hero. Have a nice day, kfx