Sebastian Soh wrote:
>
> Hi guys
>
> I have 2 different domains running on the server. But for one of the
> domain the ISP is blocking port 25.
>
> Question
>
> 1) How do i allow that particular domain to use another SMTP port
> (let' say 667) at the same time with existing port 25
>

Have them use port 587 (submission port). That one is already in the
Toaster. It allows your users to send messages without being checked
against the blacklists. Or you can do some rerouting with iptables:
iptables -t nat -A PREROUTING -p tcp -d 111.112.113.114 --dport 667 -j
DNAT --to 111.112.113.114:25
or
iptables -t nat -A PREROUTING -i eth0 -p tcp -dport 667 -j REDIRECT
-to-port 25

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to