[Dovecot] Sieve fileinto a subfolder fails -- more info, possible workaround

Timo Sirainen tss at iki.fi
Fri Aug 29 08:29:39 EEST 2008


On Thu, 2008-08-28 at 15:05 -0700, Rich McAllister wrote:
> After looking at the way Maildir represents subfolders, I changed
> the sieve line from
> 
>         fileinto "Lists/NCCC";
> 
> to
> 
> 	fileinto "Lists.NCCC";
> 
> and now it files into the NCCC subfolder of Lists as I wanted.  I'm
> not sure whether this is the expected behavior or just an accident
> that plugging that string into the file name happens to result in the right
> name.
> 
> I haven't tried, but if it's just passing the fileinto argument along
> with minimal inspection, I'm afraid the answer might be use
> "Lists/NCCC" if mail is in mbox format but "Lists.NCCC" if mail is in
> Maildirs, and it certainly seems that users editing their sieve
> scripts shouldn't have to know that.

Change your namespace configuration to use '/' separator and it's always
'/'. http://wiki.dovecot.org/Namespaces

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080829/fa3b9011/attachment.bin 


More information about the dovecot mailing list