Hi,

I'm having a postfix installation that uses spamassassin for content 
filtering. Therefore I have in my master.cf

smtp      inet  n       -       n       -       75      smtpd -o 
content_filter=postfixfilter

and

postfixfilter unix -    n       n       -       -       pipe
  flags=Rq user=filter argv=/home/filter/postfixfilter -f ${sender} -- 
${recipient}

This worked fine for several years now. This postfix is now intended 
to also act as a relay-host for outgoing mail. The relay 
functionality should only be available for other hosts in my local 
network. In addition to that, the relayed mail shouldn't be filtered 
by spamassassin. To achieve this, I added the following line to my 
master.cf

192.168.xxx.xxx:25       inet    n       -       n       -       -       smtpd 
-o content_filter=

This also works fine besides the fact, that mail send to the local 
smtp-port also is filtered by spamassassin. Can anyone point me into 
the right direction on how to fix this?

Thanks in advance,
Simon

Reply via email to