Em 04/10/16 07:12, Anton Bruckner escreveu:
Hello,
i have following scenario:
Many external mail domains resolve to one single ip address ex 1.2.3.4 after
dns lookup - is it now possible, to define a rule that says -
relay any mail with destination host "1.2.3.4" to relay host "5.6.7.8" ?
I know that i can do it with a transport rule - but only with names, not ip
addresses.
Any ideas ?
i have already done that using iptables rules !
iptables -t nat -A POSTROUTING -p tcp --dport 25 -d
original.destination.ip -j DNAT --to your.relay.ip.host
(or something like that, did not tried the rule, just wrote by head)
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertru...@solutti.com.br
My SPAMTRAP, do not email it