[Dovecot] create folder automatically

Nicolas Letellier nicolas at nicoelro.net
Wed Oct 1 11:52:34 EEST 2008


Le Tue, 30 Sep 2008 13:27:57 -0300,
Eduardo M KALINOWSKI <eduardo at kalinowski.com.br> a écrit :

> Seth Mattinen escreveu:
> > Nicolas Letellier wrote:
> >   
> >> 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?
> >>
> >>     
> > It is created automatically (at least on mine it does).
> >   
> 
> 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 .
> 
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 at domain.fr):
msgid=<20081001090028.CD851886C at 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.


More information about the dovecot mailing list