[Dovecot] Limiting Dovecot access by user-spesific ip addresses?
Timo Sirainen
tss at iki.fi
Sun Mar 12 11:08:42 EET 2006
On Sat, 2006-03-11 at 10:15 -0500, Bob Hope wrote:
> If your users are stored in MySQL, couldn't a variable be added to the
> dovecot-sql.conf section to do something like "user_query = SELECT home,
> uid, gid FROM users WHERE userid = '%u' and ip='%ip'"? I realize the %ip
> would have to be added, but that should be an easy addition. Then you
> can just put an ip range or single ip in the MySQL table from which the
> user is allowed to authenticate.
There's already %R for the %ip.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060312/dbe45ccc/attachment.pgp
More information about the dovecot
mailing list