[Dovecot] Dovecot's as ip/user based login filter - tested, not
working?
Alan Premselaar
alien at 12inch.com
Wed Apr 12 07:48:37 EEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sysadmin wrote:
...snip...
> And when I made a separate passwd file and configured dovecot to use it:
>
> dovecot: Apr 11 13:42:48 Info: auth(default): passwd-file
> /etc/dovecot.outusers: Read 2 users
>
> /etc/dovecot.outusers includes
>
> test1:{plain}test1:500:502::/home/test::mail=maildir:~/Maildir
> allow_nets=0.0.0.0
> test1:{plain}test2:501:502::/home/test2::mail=maildir:~/Maildir
> allow_nets=192.168.0.0/24
>
>
> So I made a test, connecting from 172.17.25.3 to both accounts worked
> well, if my conf -s syntax are ok, then what is wrong?
>
The only thing I can think of is that because they both have the same
username (test1) that the first is overriding the second and allowing
access from 0.0.0.0 (i.e. anywhere).
try changing the username on the 2nd line to be test2 and see if that
has any effect.
Alan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEPIalE2gsBSKjZHQRAiR7AKCNOiZVsBL8LzFh1f3V6Q7PygabVQCgz3kJ
hHBEchWaLZjLmPIP1f0f09Y=
=aZLQ
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list