Timo Sirainen wrote:
If ACL plugin isn't loaded, I suppose the mailboxes can be accessed if the process has filesystem permissions to access them.
Kind of, but it doesn't really work in real life. I tried setting it up initially around... say 1.0rc23 and it runs into permissions problems writing the various dovecot.index files because they're 0600 mode to that specific imap logged in user.
The config (commented out right now) looks like: (*)
# Spam Training namespace public { separator = . prefix = SpamTraining. location = maildir:/var/spool/imap_shared/SpamTraining }
What I was finding with testers is that each person's login process was rewriting permissions on the subscriptions file and the index files didn't work out for the same reason; 1 person would drop an email into a subfolder ("MissedSpam" e.g.), Dovecot would write indexes 0600 to that named user then everyone else would start getting errors.
Unfortunately I didn't have the time to do massive debugging right then so just had to comment it out and save it for another day. :-/
-te
(*) right now it works with gnarly ugly symlinks in a user's ~/Maildir under Courier-IMAP, and I have two shellscripts that nightly read the contents of two subfolders - MissedSpam and FalsePositives - and passes those to SpamAssassin with 'sa-learn --spam' e.g. then deletes each mail file.
-- Troy Engel | Systems Engineer Fluid Inc. | http://www.fluid.com