Procmail, Spamassassin, and /etc/shadow

Marc Schwartz MSchwartz at mn.rr.com
Fri Aug 18 12:38:45 UTC 2006


Charles A. Crayne wrote:
> On Thu, 17 Aug 2006 07:57:17 +0100
> Paul Howarth <paul at city-fan.org> wrote:
> 
> :How do you call spamassassin from procmail?
> 
> In addition to the direct call cited in my previous reply, I have now
> unearthed an indirect call via a perl script, as follows:
> 
> . . .
> open( SPAM, '| spamassassin -e > /dev/null');
> print SPAM "$message";
> close( SPAM );
> . . .
> 
> -- Chuck
> 


Chuck,

What happens if you change the call in .procmailrc to:

:0 fw
| /usr/bin/spamc


so that the spamd daemon is used rather than running the spamassassin 
executable each time?

Marc Schwartz




More information about the fedora-selinux-list mailing list