[NTLUG:Discuss] Procmail
Richard Humphrey
richard at multicam.com
Mon Jul 7 12:11:19 CDT 2003
Well that is exactly my problem. I have the following in my
/etc/procmailrc but it doesnt work right because procmail is running as
non-root user.
I get cannot write to /var/log/procmail.log errors and
cannot write to /var/spool/mail/sharedspam errors.
DROPPRIVS=yes
LOGFILE=/var/log/procmail.log
ABYSS=/var/spool/mail/sharedspam
VERBOSE=on
FORMAIL=/usr/bin/formail
SENDMAIL=/usr/sbin/sendmail
#Spamassassin start
:0fw: spamassassin.lock
| /usr/bin/spamc
:0:
* ^X-Spam-Status: Yes
$ABYSS
#Spamassassin end
-----Original Message-----
From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org]On
Behalf Of Rev. wRy
Sent: Monday, July 07, 2003 12:10 PM
To: NTLUG Discussion List
Subject: Re: [NTLUG:Discuss] Procmail
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
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list