2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] System wide spam Maildir
FromSent OnAttachments
Turbo FredrikssonMay 22, 2003 5:34 am 
Turbo FredrikssonMay 22, 2003 6:55 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] System wide spam MaildirActions...
From:Turbo Fredriksson (tur@bayour.com)
Date:May 22, 2003 6:55:49 am
List:net.sourceforge.lists.courier-maildrop

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)..