[Dovecot] Running pop3 on more than one port
Hi All
This is possibly a silly question but after reading some of the docs and hunting a bit I could not find an answer.
I need to run my pop3 service on both the standard 110 port and another (not really sure which yet) port.
My ISP is doing shaping on port 110 destined traffic causing a nightmare with some of my machines pulling only some of their mail then crashing (and no its not anything else it is the ISP).
How do I get pop3 of dovecot to bind to two ports?
Regards
Andrew Gargan Developer Interface Media (PTY) Ltd. Tel: 011 507 3003
If dovecot doesn't do it I think you can do it with IP tables.
iptables -v -t nat -A PREROUTING -p tcp -j REDIRECT --dport 23 --to-ports 110
This should make port 23 for example redirect to port 110. I used to use this code to make port 23 act as another port 25.
Andrew Gargan wrote:
Hi All
This is possibly a silly question but after reading some of the docs and hunting a bit I could not find an answer.
I need to run my pop3 service on both the standard 110 port and another (not really sure which yet) port.
My ISP is doing shaping on port 110 destined traffic causing a nightmare with some of my machines pulling only some of their mail then crashing (and no its not anything else it is the ISP).
How do I get pop3 of dovecot to bind to two ports?
Regards
Andrew Gargan Developer Interface Media (PTY) Ltd. Tel: 011 507 3003
-- Marc Perkel - marc@perkel.com
Spam Filter: http://www.junkemailfilter.com My Blog: http://marc.perkel.com
You can run two instances of Dovecot with different config files. Not elegant, I know, but we're doing this for IMAP (more to have different versions of Dovecot).
Chris
Andrew Gargan wrote:
Hi All
This is possibly a silly question but after reading some of the docs and hunting a bit I could not find an answer.
I need to run my pop3 service on both the standard 110 port and another (not really sure which yet) port.
My ISP is doing shaping on port 110 destined traffic causing a nightmare with some of my machines pulling only some of their mail then crashing (and no its not anything else it is the ISP).
How do I get pop3 of dovecot to bind to two ports?
Regards
Andrew Gargan Developer Interface Media (PTY) Ltd. Tel: 011 507 3003
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
participants (3)
-
Andrew Gargan
-
Chris Wakelin
-
Marc Perkel