[NTLUG:Discuss] Procmail

Rev. wRy slot0k at pogox.org
Mon Jul 7 12:09:30 CDT 2003


Richard Humphrey wrote:
> Well, I did not mention in my original post that I am using a global
> procmailrc file... /etc/procmailrc and that I am attempting to move all
> spam to /var/spool/mail/sharedspam

okay, then put this in /etc/procmailrc :


LOGFILE=/var/log/proc.log
SPAMDIR=/var/spool/mail/sharedspam

:0fw
* < 256000
| /usr/bin/spamassassin

:0:
* ^X-Spam-Status: Yes
$SPAMDIR

> I want all spam regardless of user who it is sent, to go to the
> sharedspam mailbox. I had this working before and then I reinstalled RH
> 8.0 and now cant get things working like they were.

That *should* do it, provided your permissions are correct and all the 
directories exist.

Ry





More information about the Discuss mailing list