[Dovecot] Port variable in LMTP userdb lookups?

Mark Zealey mark.zealey at webfusion.com
Thu Oct 20 12:38:42 EEST 2011


Hi all,

I'm currently changing some systems to use the redirector service, which 
means that to get local deliveries going I need to get lmtp set up so it 
can be redirected as well. This is working fine, however we have a 
number of different ports running on our servers depending on which 
brand a customer is using. When the time comes to do the user look up, 
we use (port, user, domain) to do a unique database lookup which works 
fine for everything (proxied pop, imap, lmtp & straight pop, imap) but 
not straight lmtp - perhaps because it doesn't have a 2-stage login 
process unlike the pop/imap protocols. Looking at the SQL query we are 
issuing, the %a port variable is set to 0 even though the connection is 
coming in from TCP. Is there a way to change this? We are running 
dovecot 2.0.12 however looking through the changelogs I can't see this 
would be fixed in the newest version.

Thanks,

Mark


More information about the dovecot mailing list