On 1-Sep-2007, at 19:12, Christine Kluka wrote:
On Sat, 1 Sep 2007 17:54:33 -0600, Lewis Butler lbutler+roundcube@covisp.net wrote:
On 1-Sep-2007, at 15:23, Christine Kluka wrote:
Now my mail folder is /var/spool/imap/c/user/cvkluka, owned by cyrus/mail; if I chown it to UID/GID cvkluka/cvkluka as recommended by procmail, all mail disappears from my Roundcube mail directories when I log on. In both cases, I've used spamassassin:
This, however, is another issue. You cannot put a .procmailrc in your home directory and expect the user cyrus to process it. Since you do not, in point of fact, own your email in this configuration you cannot run procmail.
So what is the recommended configuration? To chown imap
directories from cyrus to the users (presumably before they actually start using their mailboxes) so they can benefit from procmail filters?
Nope, you can't do that. With your setup, the users are virtual and
all user's mail is owned by cyrus. The only solution is to have
Cyrus run procmail.
This is complicated and having user-define procmail files is further
complicated by teh fact that you need a mechanism for the user to
edit the file, but for the permsission to end up where procmail will
read the file.
Or filter junk in cyrus mailboxes through some other method?
I'm not familiar with cyrus enough to answer this. I do this in
postfix/coureir/mysql, but I have no way for a user to edit their
own .procmailrc file, I just have to make any desired changes myself.