Procmail, Spamassassin, and /etc/shadow

Paul Howarth paul at city-fan.org
Fri Aug 18 13:16:36 UTC 2006


Marc Schwartz wrote:
> 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?

This is much more likely to work properly, since procmail will 
transition properly to the spamaassassin client domain this way. And of 
course it'll be faster.


Paul.




More information about the fedora-selinux-list mailing list