Date: Mon, 22 Apr 2002 18:50:58 -0400 From: mpd <mpd@rochester.rr.com> To: Adam M Ryan <adam@powersurge.net> Cc: freebsd-questions@freebsd.org Subject: Re: procmail and spamassissan Message-ID: <20020422185058.A31494@rochester.rr.com> In-Reply-To: <LOBBLIOBJFLGFEDBACNIEEBFFLAA.adam@powersurge.net>; from adam@powersurge.net on Mon, Apr 22, 2002 at 05:03:01PM -0500 References: <LOBBLIOBJFLGFEDBACNIEEBFFLAA.adam@powersurge.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 22, 2002 at 05:03:01PM -0500, Adam M Ryan wrote: > Hello, > > I have install SA without problems and even tested it, now I am trying to > have SA process all the mail a certain user receives. Right now its not > working, the user just receives mail as normal, and doesn't even use SA > rules. > > Here is my .forward > > p5@riptide[~]# cat .forward > "| spamassassin || exit 75" > > .procmailrc > > p5@riptide[~]# cat .procmailrc > :0fw > | spamassassin -P > > :0: > * ^X-Spam-Status: Yes > caughtspam These are probably in the wrong place. See below. > VERBOSE=on > PATH=$HOME/bin:/usr/bin:$PATH > DEFAULT=/var/mail/p5 # <-- change to your mailbox > PMDIR=$HOME/.procmail > LOGFILE=$PMDIR/log > > > maillog: > Apr 22 15:28:56 riptide sendmail[86768]: g3MKSuI86768: forward > /home/p5/.forward.riptide+: Group writable directory > Apr 22 15:28:56 riptide sendmail[86768]: g3MKSuI86768: forward > /home/p5/.forward+: Group writable directory > Apr 22 15:28:56 riptide sendmail[86768]: g3MKSuI86768: forward > /home/p5/.forward.riptide: Group writable directory > Apr 22 15:28:56 riptide sendmail[86768]: g3MKSuI86768: forward > /home/p5/.forward: Group writable directory > > > Am I forgetting something? Can anyone help me with this? I *just* set this up like 3 days ago, so I should be able to help. 1) Did you have procmail installed and working already? If so, there's no need for using the .forward file. (I use postfix as my MTA, and it execs procmail as the LDA so I don't need to bother.) 2) You put the first rule (the :0fw one) before you define PATH. This might be why spamassassin isn't getting run. Try putting the 2 spamassassin rules after those variables are defined. > > > Regards, > > Adam Ryan > > mike -- ___________________________________________________________ "HURRY UP, OLD BEAN! FETCH MY KEYS AND DRIVING CAP POST-HASTE!" - Chicken Delicious from "LET US MEET CHICKEN DELICIOUS" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020422185058.A31494>