Add an virtual interface:
For example:
(if your eth0=192.168.0.2)
1) ifconfig eth0:0 192.168.0.3 netmask 255.255.255.0
(this can be done with /etc/sysconfig/network-scripts/ifcfg-eth0:0 file)
2) Modify toy /opt/zimbra/postfix/conf/master.cf file:
127.0.0.1:smtp inet n - n - - smtpd
192.168.0.3:smtp inet n - n - - smtpd
192.168.0.2:smtp inet n - n - - smtpd
-o content_filter=dfilt
dfilt unix - n n - - pipe
flags=Rq user=root argv=/etc/postfix/disclaimer -f ${sender} -- ${recipient}
3) restart zimbra mta
And don't forget modify four external firewall to redirect incoming port 25 to 192.168.0.3 instead. |