Maxwell wrote:
Dennis
Thanks - works like a charm. I'm using RedHat so I stuck this in my
/etc/sysconfig/iptables file and set iptables to load on start.
Should be good to go : )
On 5/5/06, *Dennis Erickson* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Maxwell wrote:
> Hi there - I recently setup a new mail server based around the
Toaster
> ( http://shupp.org/toaster/ ) to great success. I just have
one main
> issue at this point - many of our users were set to port 587 due to
> their home ISP blocking port 25. However, the toaster does not seem
> to respond to requests on this port. I'm sure this is
relatively easy
> - but can someone instruct me on how to have SMTP respond to
requests
> on port 587 as well as 25?
>
> Thanks!
Here is what I am using to get around that.
iptables -t nat -A PREROUTING -p tcp --dport 587 -i eth0 -j REDIRECT
--to-ports 25
Simple command to start listening on port 587.
Dennis.
Glad I could help.