I'm trying to configure my proxy/director server, which proxies
imap/pop/managesieve correctly already, to proxy LMTP to my backend message
store server (dovecot+postfix already configured there)
This is what I have so far:
10-auth.conf
using auth-static.conf.ext instead of auth-ldap.conf.ext (switching to this
made proxying imap/pop/managesieve work)
10-director.conf
protocol lmtp {
  auth_socket_path = /usr/local/var/run/dovecot/director-userdb
}
10-master.conf (changed user from vmail to dovecot as it was giving
permission denied error before -- on the backend dovecot server this is
still 'vmail')
  unix_listener auth-userdb {
    mode = 0600
    user = dovecot
  }
20-lmtp.conf
lmtp_proxy = yes
auth-static.conf.ext
passdb {
  driver = static
  args = proxy=y nopassword=y
}
my dovecot logs show:
auth: Debug: password(user at dev.domain.com): passdb doesn't support
credential lookups
lmtp(1261): Error: user user at dev.domain.com: Auth PASS lookup failed
postfix show:
[private/dovecot-lmtp] said: 451 4.3.0 <user at dev.domain.com> Temporary
user
lookup failure (in reply to RCPT TO command)
Any ideas? Something missing/incorrect?
Thanks!
On 4.10.2010, at 22.42, Edward Carraro wrote:> passdb { > driver = static > args = proxy=y nopassword=y > } > > my dovecot logs show: > auth: Debug: password(user at dev.domain.com): passdb doesn't support > credential lookups > lmtp(1261): Error: user user at dev.domain.com: Auth PASS lookup failedLet me know if the attached patch fixes it. It compiles, other than that I haven't tested it yet. -------------- next part -------------- A non-text attachment was scrubbed... Name: diff Type: application/octet-stream Size: 2068 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20101004/6ebc9641/attachment-0002.obj>
Thanks Timo, Now in my dovecot log i get: lmtp(21186): Error: lmtp client: connect(192.168.12.205, 0) failed: Connection refused and postfix: [private/dovecot-lmtp] said: 451 4.4.0 Remote server not answering (connect) (in reply to end of DATA command)) Do I apply this patch to both the proxy and backend dovecot 2.0.4 servers? (i only did proxy right now) On Mon, Oct 4, 2010 at 5:59 PM, Timo Sirainen <tss at iki.fi> wrote:> On 4.10.2010, at 22.42, Edward Carraro wrote: > > > passdb { > > driver = static > > args = proxy=y nopassword=y > > } > > > > my dovecot logs show: > > auth: Debug: password(user at dev.domain.com): passdb doesn't support > > credential lookups > > lmtp(1261): Error: user user at dev.domain.com: Auth PASS lookup failed > > Let me know if the attached patch fixes it. It compiles, other than that I > haven't tested it yet. > >