Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2002 20:13:55 -0400
From:      mpd <mpd@rochester.rr.com>
Cc:        Adam M Ryan <adam@powersurge.net>, questions@freebsd.org
Subject:   Re: procmail and spamassissan
Message-ID:  <20020422201355.B32188@rochester.rr.com>
In-Reply-To: <20020422194855.A31968@rochester.rr.com>; from mpd@rochester.rr.com on Mon, Apr 22, 2002 at 07:48:55PM -0400
References:  <20020422185058.A31494@rochester.rr.com> <LOBBLIOBJFLGFEDBACNIAEBHFLAA.adam@powersurge.net> <"from adam"@powersurge.net> <20020422194855.A31968@rochester.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 22, 2002 at 07:48:55PM -0400, mpd wrote:
> Please don't remove the cc: to questions. The answers need
> to be archived along with the questions.
> 
> On Mon, Apr 22, 2002 at 06:16:36PM -0500, Adam M Ryan wrote:
> > 
> > 
> > I just installed procmail, after I installed SA.
> > 
> > I do have the:
> > ---
> > :0fw
> > | spamassassin -P
> > ----
> > rule on the very first line,
> 
> It shouldn't be there. I think PATH needs to be defined before this rule.

And here I go responding to my own mail. Ignore my advice above.
I was thinking of something else. The lack of a PATH in the
procmailrc proves that.

> 
> > 
> > As from the log I think it looks at the .forward, but doesn't do awhole lot
> > of good, hehe
> 
> Yeah, you need to use the .forward if your MTA doesn't use procmail
> as its LDA (none do by default that I know of.)
> 

This one is true, though.

> > 
> > Also from the FAQ I see that you need those :0fw lines at the top.
> 
> Not true. It needs to go before your other rules, not before
> the environment definitions. The FAQ is not very clear on this.

Maybe it doesn't need to go after the environment definitions. I
might be wrong on that, but it definitely *doesn't* need to be at
the top. As long as it's before any of the rules, it's fine.


> 
> > 
> > 
> > Thanks a lot for the help, anything else you can think of?
> 
> Nope, but here's my *entire* .procmailrc file, which is working fine.
> 
> 
> --- begin
> 
> VERBOSE=no
> MAILDIR=$HOME/mail
> PMDIR=$HOME/.Procmail
> 
> :0fw
> | spamassassin -P -a
> 
> :0:
> * ^X-Spam-Status: Yes
> spam
> 
> INCLUDERC=$PMDIR/lists.rc
> 
> --- end
> > 
> > 
> > Adam
> > 
> 
> The rules can also be put in their own .rc file, which should
> be included before any other rules. Don't worry about that now,
> though.
> 

<snipped>
mike
-- 
___________________________________________________________
 
Pokey the Penguin: "OLD BEAN, YOU SAVED US! A BRILLIANT JOB!"
Mr. Nutty: "SMASHING!"
	- from "POKEY THE PENGUIN AND HEADCHEESE"

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?20020422201355.B32188>