A couple of our remote users are using Earthlink dial-ups to send/receive email through our SME server (6.0.1). Earthlink, of course, has blocked traffic on port 25
After pounding my head and searching solutions (none of which worked), I finally realized that there is a very simple way to fix this problem and wanted to share it with anyone else who may be struggling with the same issue.
It occured to me that rather than trying get qmail to listen on 2 ports or listen on a completely different port, I could use iptables to bypass Earthlink's block.
iptables -t nat -A PREROUTING -p tcp --dport 5190 -j REDIRECT --to-ports 25
All I had to do then was setup the dialup users to use port 5190 instead of the standard port 25. This redirects all traffic on port 5190 to port 25 on the same machine AFTER the user had made the connection to the SME server through Earthlink.
As far as I can see, there are no security holes or flaws in this process, but I would welcome any input you have.
Hope this helps!