[Dovecot] Ip addr + login name
Hi everybody,
Is there a way to bind client ip address that connects to pop3 with the login name? For example if the client ip address is 192.168.2.40 then his login name is 'test' and he can log in with only that account name. I think it is possible to do it with an external authentication program.
Thanks.
On 251, 09 08, 2005 at 10:43:36 +0600, mike wrote:
Hi everybody,
Is there a way to bind client ip address that connects to pop3 with the login name? For example if the client ip address is 192.168.2.40 then his login name is 'test' and he can log in with only that account name.
You can do it with SQL passdb and query below:
password_query = SELECT password FROM users WHERE userid = '%u' and userip = '%r'
I think it is possible to do it with an external authentication program.
-- Andrey Panin | Linux and UNIX system administrator pazke@donpac.ru | PGP key: wwwkeys.pgp.net
participants (2)
-
Andrey Panin
-
mike