This documentation is for Dovecot v1.x, see wiki2 for v2.x documentation.
Differences between revisions 3 and 4
Revision 3 as of 2005-08-29 16:25:59
Size: 218
Editor: MarcPerkel
Comment:
Revision 4 as of 2006-05-18 11:55:04
Size: 380
Comment: Add headers, mark iptables Linux-only
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Listening on additional ports =
Line 3: Line 5:
= with Linux =

This requires netfilter compiled into the kernel or loaded as module and the user-space iptables command:
Line 4: Line 10:
iptables -v -t nat -A PREROUTING -p tcp -j REDIRECT --dport 109 --to-ports 110
}}}
iptables -v -t nat -A PREROUTING -p tcp -j REDIRECT --dport 109 --to-ports 110}}}

Listening on additional ports

Here's a little trick to get servers to listen on additional ports. This can be used for SMTP as well or any other protocol.

with Linux

This requires netfilter compiled into the kernel or loaded as module and the user-space iptables command:

iptables -v -t nat -A PREROUTING -p tcp -j REDIRECT --dport 109 --to-ports 110

None: Iptables (last edited 2009-03-15 22:35:09 by localhost)