On a server, if outgoing email is being blocked by spam filters, I can sometimes get around the problem by using an IPTables rule to force the email out through a different IP address like this:
1 |
/sbin/iptables -t nat -A POSTROUTING -p tcp --dport 25 -j SNAT --to-source w.x.y.x |