[Dovecot] Plugin "lazy_expunge" and subfolder
Hi Timo, hi all,
we want to use the "lazy_expunge" plugin (from dovecot 2.1.10) and had configured it in a test environemnt like described in "http://wiki2.dovecot.org/Plugins/Lazyexpunge" (1 namespace)
There are some subfolders from "INBOX" (like "INBOX/SPAM") in a "maildir++" configuration. All actions on first level directories ".INBOX", ."Sent" or ".Archives" are working as expected.
If there is an expunge activity on e.g. ".INBOX.SPAM" directory we get an error message in dovecot log: Sep 26 12:27:55 imap(testuser): Error: lazy_expunge: Couldn't open expunge mailbox: Character not allowed in mailbox name: '.'
What can we do or change to make it work?
-- Best regards A. Kossack
Andreas Kossack Andreas.Kossack@TU-Cottbus.De BTU Cottbus, Brandenburg, Germany, Walther-Pauer-Str.2, 03046 Cottbus http://wwwca.telesec.de/cgi-bin/caservice/Common/InstallRoot/DT-Root-CA-2.de...
Am 26.09.2012 12:50, schrieb Andreas Kossack:
Hi Timo, hi all,
we want to use the "lazy_expunge" plugin (from dovecot 2.1.10) and had configured it in a test environemnt like described in "http://wiki2.dovecot.org/Plugins/Lazyexpunge" (1 namespace)
There are some subfolders from "INBOX" (like "INBOX/SPAM") in a "maildir++" configuration. All actions on first level directories ".INBOX", ."Sent" or ".Archives" are working as expected.
If there is an expunge activity on e.g. ".INBOX.SPAM" directory we get an error message in dovecot log: Sep 26 12:27:55 imap(testuser): Error: lazy_expunge: Couldn't open expunge mailbox: Character not allowed in mailbox name: '.'
What can we do or change to make it work?
sorry didnt tested lazy_plugin yet
try
http://wiki2.dovecot.org/Plugins/Listescape
Examples
Allow '.' characters with Maildir++ layout when virtual hierarchy separator is changed to '/':
mail_plugins = $mail_plugins listescape
namespace private { separator = / inbox = yes }
plugin { # The default escape character is '\', but you can change it. # Note that even here the expansion of % takes place, thus you need to # use "%%" if you want to have the % sign as the escape character. #listescape_char = "\\" }
or change your general namespace settings to get it work , might be better choice
-- Best Regards MfG Robert Schetterer
Hi Robert,
If there is an expunge activity on e.g. ".INBOX.SPAM" directory we get an error message in dovecot log: Sep 26 12:27:55 imap(testuser): Error: lazy_expunge: Couldn't open expunge mailbox: Character not allowed in mailbox name: '.'
sorry didnt tested lazy_plugin yet try http://wiki2.dovecot.org/Plugins/Listescape It works now with "mail_plugins = $mail_plugins ... lazy_expunge listescape"
Thank you for your hint in the right direction.
-- Mit freundlichen Grüßen A. Kossack
Andreas Kossack Andreas.Kossack@TU-Cottbus.De BTU Cottbus, Brandenburg, Germany, Walther-Pauer-Str.2, 03046 Cottbus http://wwwca.telesec.de/cgi-bin/caservice/Common/InstallRoot/DT-Root-CA-2.de...
Diese Nachricht wurde aus 100% wiederverwerteten Elektronen erstellt.
On 26.9.2012, at 17.15, Andreas Kossack wrote:
If there is an expunge activity on e.g. ".INBOX.SPAM" directory we get an error message in dovecot log: Sep 26 12:27:55 imap(testuser): Error: lazy_expunge: Couldn't open expunge mailbox: Character not allowed in mailbox name: '.'
sorry didnt tested lazy_plugin yet try http://wiki2.dovecot.org/Plugins/Listescape It works now with "mail_plugins = $mail_plugins ... lazy_expunge listescape"
Ugh, kludgy. Here's a proper fix: http://hg.dovecot.org/dovecot-2.1/rev/4e431b202cfd
Hi Timo, hi all,
Sep 26 12:27:55 imap(testuser): Error: lazy_expunge: Couldn't open expunge mailbox: Character not allowed in mailbox name: '.'
try http://wiki2.dovecot.org/Plugins/Listescape It works now with "mail_plugins = $mail_plugins ... lazy_expunge listescape"
Ugh, kludgy. Here's a proper fix: http://hg.dovecot.org/dovecot-2.1/rev/4e431b202cfd Now it works lika a charm without "listescape" "mail_plugins = $mail_plugins ... lazy_expunge"
Thank you Timo...
-- Best regards A. Kossack
Andreas Kossack Andreas.Kossack@TU-Cottbus.De BTU Cottbus, Brandenburg, Germany, Walther-Pauer-Str.2, 03046 Cottbus http://wwwca.telesec.de/cgi-bin/caservice/Common/InstallRoot/DT-Root-CA-2.de...
participants (3)
-
Andreas Kossack
-
Robert Schetterer
-
Timo Sirainen