[Dovecot] login_trusted_networks (v2.0.8)

Timo Sirainen tss at iki.fi
Thu Feb 10 02:58:35 EET 2011


On Thu, 2011-01-06 at 11:14 -0800, Don Buchholz wrote:
> I just spent a bit puzzling over "login_trusted_networks".  My problem
> was using "10.1.2/24" instead of "10.1.2.0/24".
> 
> Here are some things I looked for during troubleshooting that didn't
> pan out:
> 
>    (1) No messages printed to syslog.

This happens because libc's inet_aton() translates 1.2.3 to 1.2.0.3 (and
similarly 1.2 to 1.0.0.2). I'd rather not add my own checks to prevent
this.




More information about the dovecot mailing list