<div dir="ltr">Centos:  7.2.1511 (Core)<br>postfix: 2.10.1<br>amavisd-new: 2.10.1<br><br>This postfix server was designed to run as follows, which it has done for several months without incident:<br><br>Original filter-only:<br><a href="http://master.cf">master.cf</a>:<br>smtp  inet  n  -  n  -  -  smtpd<br>  -o content_filter=filter:dummy<br><br>filter  unix  -  n  n  -  10  pipe<br>  flags=Rq user=filter null_sender=<br>  argv=/var/spool/filter/bin/filter.sh -f ${sender} -- ${recipient}<br><br><br>Now, I'm tasked with retrofitting spamassassin on same host, which works using<br>following configuration:<br><br>Spamassassin-only:<br><a href="http://master.cf">master.cf</a>:<br>smtp  inet  n  -  n  -  -  smtpd<br>  -o content_filter=spamassassin<br><br>spamassassin unix -  n  n  -  -  pipe<br>  user=spamd argv=/usr/bin/spamc -f -e<br>  /usr/sbin/sendmail -oi -f ${sender} ${recipient}<br><br><br>Our problem is using _both_ spamassassin and filter, preferably in that order.<br><br>postfix-users pointed me to: amavisd-new, which I have installed. This works properly, regarding spam & virus.<br><br>How need I configure postfix to first call amavisd-new, then use "filter?"<br><br><pre style="background-color:rgb(255,255,255);color:rgb(51,102,255)" cols="72"><span><a href="http://twitter.com/mikeschleif" target="_blank"></a></span><font size="2"><span></span></font></pre>
</div>