[Dovecot] Maildir handling

Timo Sirainen tss at iki.fi
Mon Jan 14 18:30:13 EET 2008


On Mon, 2008-01-14 at 17:13 +0100, Sascha Holzleiter wrote:
> Hi,
> 
> we just setup a new mailserver for our company with some sieve filtering
> in place. Everything works as expected but there is one flaw.
> We setup the per user sieve filters in files within the users mailbox
> maildir as follows:
> 
> lrwxrwxrwx   1 mail mail      21 Jan 13 17:20 .dovecot.sieve ->
> sieve/phpscript.sieve
> 
> This link is actually picked up by dovecot and being announced as an
> IMAP folder which gives an error in certain MUAs as they try to access
> it. 
> 
> Is there a way to let dovecot check if the link is really a maildir, so
> lets say a directory with a maildirfolder file within it? Or just to
> hide this link from dovecot so its not advertised as an IMAP folder?

This is one reason why home directory shouldn't be the same as mail
directory. http://wiki.dovecot.org/VirtualUsers#homedirs

You can maybe work around this by setting maildir_stat_dirs=yes,
although I'm not sure if it works with symlinks.

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


More information about the dovecot mailing list