Hey Miles, On Sat, 2002-04-06 at 00:44, Miles Fidelman wrote: > Hi Folks, > > Maybe somebody can help me with the following: > > - I've just installed spamassassin 2.11 on my machine (Sun, Solaris) > - it works from the command line > - it works as a filter when I pipe from within Pine > - but, when I stick the recommended rule into .procmailrc, things break
Try this rule (it works on freebsd 4.5-stable with postfix as mta, procmail v3.22: ## Fire off SA :0fw:SA.lock * !^X-Loop: ${LOGNAME}@{$HOST} * !^FROM_DAEMON | /usr/bin/spamassassin -P :0e { EXITCODE=$? } ## Now lets see what SA found :0: * !^X-Loop: ${LOGNAME}@{$HOST} * !^FROM_DAEMON * ^X-Spam-Flag: YES { :0 $HOME/mail/sa-trapped } HTH & HAND -- Nils Vogels PGP:0xC26BD15F Available on keyservers. S@H:3741WU/5.214yr --> setiathome.ssl.berkeley.edu. Will you find aliens? My other computer is your windows box.
signature.asc
Description: This is a digitally signed message part