We just put a one line entry in our startup scripts that allows connections
from port 26 to redirect to port 25. This way customers who are blocked by
their ISPs on port 25 can still connect to our SMTP server. But you can use
any port and as many of these lines as you want.
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 26 -j REDIRECT
--to-ports 25
Jeff
At 03:34 AM 7/19/2008, you wrote:
on 7/18/08 9:15 PM, Shane Chrisp <[EMAIL PROTECTED]> wrote:
> On Fri, 2008-07-18 at 21:02 -0700, Kurt Bigler wrote:
[snip]
>> I currently invoke qmail smtp as follows:
>>
>>
>> env - PATH="/var/qmail/bin:/usr/local/bin" \
>> tcpserver -v -H -R -l$HOSTNAME -x /var/vpopmail/etc/tcp.smtp.cdb \
>> -c200 -u89 -g89 0 25 fixcrio /var/qmail/bin/qmail-smtpd-chkuser 2>&1 | \
>> /usr/local/bin/setuidgid qmaill \
>> /usr/local/bin/multilog t n100 s1000000 /var/log/smtp &
>>
>>
>> and I am wondering if I will cause problems if I just duplicate the above
>> command with 25 changed to something else. Is there an issue of some
single
>> queue being involved, or of collisions in logging?
>
> Thats all you need to do. Change the port number to what you want and
> start up the new configuration.
Thanks!
-Kurt