[Dovecot] create folder automatically
Hello.
I install a sieve rule automatically when a mailbox is created, like: if exists "X-Spam-Flag" { fileinto "Junk"; stop; }
However, sometimes, this folder does not exist. How create it automatically?
Thanks!
Regards,
-- -Nicolas.
Seth Mattinen escreveu:
Indeed, the only way for deliver _not_ to create a folder that does not exist is by giving the -n command line option, as stated in http://wiki.dovecot.org/LDA .
-- Eduardo M Kalinowski eduardo@kalinowski.com.br
Le Tue, 30 Sep 2008 13:27:57 -0300, Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> a écrit :
Hello.
Indeed, the folder is created with the sieve rule (cf precedent mail). I see this line in my deliver log:
Oct 1 10:48:42 trinite deliver(test@domain.fr): msgid=<20081001090028.CD851886C@mail.domain.biz>: saved mail to Junk
However, when we connect us in the webmail, or download mail with IMAP, the folder is not present.
The folder is created, but no line about it is present in subscriptions file. So, the folder is not viewable.
And we can't create it in a IMAP connection because it exists... (but not visible).
Thanks for your help.
Best regards,
--
- Nicolas.
how about subscribing that folder? autocreation doesnt imply autosubscribe. i am sure users might be a bit angry if you autosubscribe any folder of theirs, esp. if they read their mails via a mobile device.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
participants (5)
-
Eduardo M KALINOWSKI
-
Marcus Rueckert
-
Nicolas Letellier
-
Seth Mattinen
-
Timo Sirainen