Date: 22 May 2003 15:49:04 +0200
In-Reply-To: <87br...@papadoc.bayour.com>
Message-ID: <874r...@papadoc.bayour.com>
Lines: 23
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
"Turbo" == Turbo Fredriksson <tur...@bayour.com> writes:
Turbo> I'm trying to stop spam to reach the user(s). I've
Turbo> successfully managed to put all spam in /var/mail/spam
Turbo> (which is a Maildir).
Turbo> As said, everything works, exept that if a mail file isn't
Turbo> owned by the user, courier-imap won't see it. Setting the
Turbo> UMASK was an attempt to put the user in the 'mail' group,
Turbo> sgid'ing maildrop to 'mail'. Sure enough, the mail (file)
Turbo> should have been readable by courier-imap (mail file
Turbo> owner/modes: turbo.mail/ 660). But it seems courier-imap
Turbo> REQUIRE that the mail is owned by the user...
Bah! For the mail archives:
I went the other way. I sgid'ed maildrop to group 'spam', and made
sure that /var/mail/spam is owned by 'spam.spam' (mode 660). That way
each mail will be created as USER.spam (mode 660)..