I have installed ubuntu 8 server and zimbra in a LAN with another server (opensuse11) with a static IP.
I can send mail from zimbra to everybody but the only way I can receive mail is from another account in zimbra.
my public IP is 18.104.22.168
zimbra server is on 192.168.1.7
I have made changes to my iptables script, as follows:
of course there are a lot more things in this script but, except in default policies, there aren't any DROP rules.
iptables -A INPUT -i $ANYNET -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -i $ANYNET -p tcp --dport 110 -j ACCEPT
iptables -t nat -A PREROUTING --dst 22.214.171.124 -p tcp --dport 25 -j DNAT --to 192.168.1.7
Thanks in advance