[Dovecot] Dynamic server address
rick at havokmon.com
Tue Aug 8 11:27:29 EEST 2006
Kresimir Tonkovic wrote:
> On 8/8/06, *Johannes Berg* <johannes at sipsolutions.net
> <mailto:johannes at sipsolutions.net>> wrote:
> Kresimir Tonkovic wrote:
> > My mail server (ubuntu breezey badger) is connected by ADSL and
> has a
> > dynamic address. I have noticed that, every day after the IP address
> > changes, dovecot is no longer reachable from the net. Iguess
> this is
> > because dovecot doesn't register this change and continues to listen
> > on a non-existing interface/address.
> > Any comments?
> Just make it listen on 0.0.0.0 <http://0.0.0.0>?
> Not an option. I want local users to connect by pop3 and remote by pop3s.
You could have dovecot listen on 0.0.0.0 and then use an IPTABLES rule
to drop anything that's not on your local subnet to 110.
More information about the dovecot