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? Greetings, Sascha
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
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: signature.asc 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-0002.bin>
Seemingly Similar Threads
- need help with public namespaces
- convert plugin created maildirfolder file in root maildir directory
- ManageSieve and invalid scriptname
- maildirfolder file created in maildir root during auto-creation with 2.3.4.1 but not 2.2.27
- Dovecot dsync not replicating ".dovecot.sieve -> .sieve/managesieve.sieve" / setactive