[Dovecot] Maildir handling

Benjamin R. Haskell dovecot at benizi.com
Mon Jan 14 18:26:21 EET 2008


On Mon, 14 Jan 2008, 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?
>

In Maildir++ [1], if it doesn't start with a '.' it shouldn't be seen as a 
folder. I seem to recall some discussion of adding an option that would 
affect that in the 1.1 series.

[1] http://wiki.dovecot.org/MailboxFormat/Maildir

Best,
Ben


More information about the dovecot mailing list