Hello,
i am running dovevot 2.0.5 using ldap authentication with the allow_nets paramter to limit access to some local networks. The problem is, when i want to use the local lmtp socket from postfix
*virtual_transport = lmtp:unix:private/dovecot-lmtp *
i get the follwing error:
*Oct 21 15:48:03 auth: Info: passdb(username): allow_nets check failed: Remote IP not known
*When using the TCP socket with postfix
*virtual_transport = lmtp:localhost:30025
*it is working. (i have 127.0.0.0/8 in the allow_nets list)
Is there a way, other than using two different config sets to get this working together ? Something like disabling the address lookup on local passdb sockets ?
Regards, Oliver
On Thu, 2010-10-21 at 16:37 +0200, Oliver Eales wrote:
*virtual_transport = lmtp:unix:private/dovecot-lmtp *
LMTP does a userdb lookup normally.
*Oct 21 15:48:03 auth: Info: passdb(username): allow_nets check failed: Remote IP not known
So this shouldn't be happening. Are you using userdb static, and Dovecot is doing a passdb lookup because of it? Could you replace it with userdb lookup for lmtp-only?
protocol lmtp { userdb { driver = ldap args = dovecot-ldap.conf } }
participants (2)
-
Oliver Eales
-
Timo Sirainen