--On August 19, 2015 at 7:10:00 PM +0000 Viktor Dukhovni <[email protected]> wrote:

On Wed, Aug 19, 2015 at 01:38:34PM -0500, Paul Schmehl wrote:

I do this once in a blue moon, so troubleshooting problems requires me to
dive back into man pages and try to understand what's going on.  The
error that I think is telling me what the problem is is: Aug 19 18:31:43
mail postfix/qmgr[41135]: warning: connect to transport private/filter:
Connection refused

If you're still seeing that, you've not read the FILTER_README
reference closely enough.

    http://www.postfix.org/FILTER_README.html#simple_turnoff

    Turning off the simple content filter

    To turn off "simple" content filtering:


It's not that easy to grasp. However, I think I have it working correctly now. Why the simple filter script no longer works is a complete mystery, because no changes were made to that or the postfix config. I'm now piping the mail into spamassassin directly.

smtp       inet  n       -       -       -       -       smtpd
       -o content_filter=spamassassin

spamassassin unix -      n       n       -       -      pipe
       user=spamd argv=/usr/local/bin/spamc -f -e
       /usr/sbin/sendmail -oi -f ${sender} ${recipient}

smtpd pass - - n - - smtpd -o content_filter=spamassassin:dummy

Paul Schmehl ([email protected])
Independent Researcher

Reply via email to