Hey folks,

I currently have a problem with my Postfix MTA and the spamd. I followed
the instructions in IntegratedSpamdInPostfix and it works so far, but
I'm using Mailman which delivers its mails always per ::1. Now the
problem is that many of our list mails are DKIM-signed by the senders
and the list puts a footer in the mails, so the spamd recognizes an
invalid signature.
I'd like to solve this by disabling the spam check for localhost mails.
I tried the following configuration in master.cf (/myspamfilter/ is a
pipe service with a script derived from the "bash script to rewrite spam
method" section):

smtp      inet  n       -       n       -       -       smtpd
    -o inet_interfaces=127.0.0.1,[::1]
smtp      inet  n       -       n       -       -       smtpd
    -o content_filter=myspamfilter -o inet_interfaces=<Server's
IPv4>,[<Server's IPv6>]

This did not work as the second smtpd instance also received the
localhost mails (checked with lsof/strace etc; maybe it's something with
Linux's accept-on-all-addresses behavior or I'm just to naive for
postfix). Does anyone of you have a similar situation/configuration
which works?

Regards
Norbert

Reply via email to