<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That makes it all that much easier.<br>
<br>
Thanks for the heads up on %R. I didn't realize it was there.<br>
<br>
Tom<br>
<br>
Timo Sirainen wrote:
<blockquote cite="mid1142154522.22364.122.camel@hurina" type="cite">
<pre wrap="">On Sat, 2006-03-11 at 10:15 -0500, Bob Hope wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
There's already %R for the %ip.
</pre>
</blockquote>
</body>
</html>