Thomas Hummel
2009-Feb-13 11:55 UTC
[Dovecot] ACL plugin when file in Maildir is not a directory
Hello Timo, On a production (by that I mean many users) dovecot-1.1.8/Maidir server where ACL plugin has been enabled, I ran on a log verbosity problem : For some reason (in fact, due to mbox -> Maildir migration script), some people have in their Maildir a .procmail.logfile file. The problem is that dovecot (or the ACL plugin) wants to find a dovecot-acl file in what it would like to be a directory, and then complains : dovecot: IMAP(xxxxxxxx): open(/courriel/boites/xxxxxxxx/.procmail.logfile/dovecot-acl) failed: Not a directory Such a behavior makes the log file grow too much too quickly. Note that my setup regarding log verbosity is at its minimal/default (except for proctitle) : verbose_ssl = no verbose_proctitle = yes auth_verbose = no mail_debug = no auth_debug = no auth_debug_passwords = no One more thing : would I have a log (or in what verbosity setup would I have one) line complaining about no-acl in the system wide acl directory : acl = vfile:/opt/dovecot/dovecot-acls:cache_secs=300 as a matter of fact, /opt/dovecot/dovecot-acls is empty for me (I don't need it for now). thanks -- Thomas Hummel | Institut Pasteur <hummel at pasteur.fr> | P?le informatique - syst?mes et r?seau
Timo Sirainen
2009-Feb-20 20:42 UTC
[Dovecot] ACL plugin when file in Maildir is not a directory
On Fri, 2009-02-13 at 12:55 +0100, Thomas Hummel wrote:> Hello Timo, > > On a production (by that I mean many users) dovecot-1.1.8/Maidir server where > ACL plugin has been enabled, I ran on a log verbosity problem : > > For some reason (in fact, due to mbox -> Maildir migration script), some people > have in their Maildir a .procmail.logfile file. > > The problem is that dovecot (or the ACL plugin) wants to find a dovecot-acl > file in what it would like to be a directory, and then complains : > > dovecot: IMAP(xxxxxxxx): open(/courriel/boites/xxxxxxxx/.procmail.logfile/dovecot-acl) failed: Not a directorymaildir_stat_dirs=yes probably fixes this?> One more thing : would I have a log (or in what verbosity setup would I have > one) line complaining about no-acl in the system wide acl directory : > > acl = vfile:/opt/dovecot/dovecot-acls:cache_secs=300 > > as a matter of fact, /opt/dovecot/dovecot-acls is empty for me (I don't need it > for now).What do you mean? Complain about what? Missing global ACL files? That wouldn't really make sense. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090220/40d336f7/attachment-0002.bin>