[oclug] procmail
Peter
peter at justblends.ca
Fri Jun 25 07:22:52 EDT 2004
Unfortunately the answers to my first question were ironicaly blocked by a
spam filter (not spamassassin). I am therefore posting this again. I
apologize in advance for the double post.
Peter
> I would like to be able to have procmail create a $USER.spam file in
> /var/spool/mail Currently it creates a catch-all mailbox for all users. I
> want to have it create a separate spam mail box for each user if a spam
> email is detected by spamassassin.
>
> Any help would be appreciated. Thanks.
>
> My current promail file looks as so:
>
> -----
> BLOCKFILE=/var/spool/mail/spam
>
> :0fw
> | spamc -u $LOGNAME -s 2048000
>
> :0
> * ^X-Spam-Status: Yes
> {
> LOG="RECIPE: Blocked by SpamAssassin$NL"
>
> :0
> $BLOCKFILE
> }
> -----
> --
> OCLUG general discussion list
> OCLUG at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug
>
More information about the OCLUG
mailing list