Hi there,
We have a transport map setup so that mail destined for the local domain
or from some subdomain email servers is not routed to our relay gateway.
These entries have a null gateway set. Mail destined for all other
domains is routed via our relay.
e.g
serve...@server01.abc.co.za :
ad...@dms.abc.co.za :
abc.co.za :
* smtp:relay.xyz.co.za
We need to apply a content_filter to all outgoing mail. To do this we
have set up two smtp processes in master.cf
192.168.10.73:smtp inet n - - - - smtpd
192.168.10.72:smtp inet n - - - - smtpd
-o content_filter=dfilt:
dfilt unix - n n - - pipe
flags=Rq user=filter argv=/etc/postfix/postfix_filter.sh -f
${sender} -- ${recipient}
this is for the altermime script. In main.cf we have set up
smtp_bind_address = 192.168.10.72
The problem is it appears the transport map simply by passes the
outgoing smtp server settings as defined in main.cf and with
smtp_bind_address. I have tried editing the transport map to force it to
use the 192.168.10.72:smtp service but this doesn't work. How can I get
this to work? i.e route outgoing mail to a specific gateway via
transport maps but still apply a content filter to outgoing mail?
thanks