I am having problems getting my mail server to work. It used to work fine when I was connected directly to the Internet but I had to move the machine and it is now behind a NAT router. I have setup port 25 for SMTP through the NAT but when I try to send a message it says that it can't connect to the remote host. The remote server IP gets resolved ok but it doesn't seem to be able to connect to it.
My FTP and Tomcat servers are working fine, so I suspect the problem has something to do with the fact that my router not only does NAT but also gets its external IP from a pool, so I don't know how to configure JAMES to get the dynamic external IP.
After testing through MailTester.com, I get that the connection times out, and since I'm quite sure I have the smtp and pop3 ports (25 and 110) properly open on my router, it seems that JAMES doesn't bind to my external IP, and I have no idea how to fix that.
Any help would be appreciated.