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.