[Dovecot] Director service for LMTP in 2.0rc1

Oliver Eales jester at arcor.de
Wed Jul 7 16:18:40 EEST 2010


Hello,

has anyone a running setup for LMTP proxy and the director service ?
pop3/imap/managesieve is properly working, but i have problems with  
LMTP. I set it up as described in the conf.d/10-director.conf

 From the user_db i get proxy=y and no proxyhost as described for imap/pop3
But lmtp is complaining about the missing host:

Jul 07 15:00:48 auth: Debug: master in: PASS    1       
user56 at domain.de      service=lmtp    lip=::1 lport=30025     rip=::1 
rport=41992
Jul 07 15:00:48 auth: Debug: ldap(user56 at domain.de,::1): pass search: 
base=ou=mailboxes,ou=vfag,c=de,o=top scope=subtree 
filter=(&(objectClass=uco)(mail=user56 at domain.de)) 
fields=mailboxname,userpassword,myproxy
Jul 07 15:00:48 auth: Debug: auth(user56 at domain.de,::1): username 
changed user56 at domain.de -> 1000000000032
Jul 07 15:00:48 auth: Debug: ldap(1000000000032,::1): result: 
mailboxname(user)=1000000000032 userpassword(password)=<hidden> 
myproxy(proxy)=y
Jul 07 15:00:48 auth: Debug: master out: PASS   1       proxy
Jul 07 15:00:48 lmtp(18537): Debug: auth input: proxy
Jul 07 15:00:48 lmtp(18537): Error: proxy: host not given
Jul 07 15:00:48 auth: Debug: master in: USER    2       
user56 at domain.de      service=lmtp    lip=::1 rip=::1
Jul 07 15:00:48 auth: Debug: ldap(user56 at domain.de,::1): user search: 
base=ou=mailboxes,ou=vfag,c=de,o=top scope=subtree 
filter=(&(objectClass=uco)(mail=user56 at domain.de)) 
fields=homeDirectory,uidNumber,gidNumber,quotaBytes
Jul 07 15:00:48 auth: Debug: ldap(user56 at domain.de,::1): result: 
homeDirectory(home)=/mail/001/32/00/00/1000000000032 
quotaBytes(quota_rule=*:storage=%$B)=*:storage=1073741824B
Jul 07 15:00:48 auth: Debug: master out: USER   2       
user56 at domain.de      home=/mail/001/32/00/00/1000000000032   
quota_rule=*:storage=1073741824B

Do i still have have to set
lmtp_proxy=yes
?

My config:
# 2.0.rc1 (056c3240a912): /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.27.42-0.1-default x86_64 SUSE Linux Enterprise Server 11 
(x86_64)
auth_debug = yes
auth_default_realm = domain.de
auth_master_user_separator = *
auth_mechanisms = plain login
auth_verbose = yes
director_mail_servers = 10.189.34.99 10.189.34.100
director_servers = 10.189.34.38 151.189.34.59
disable_plaintext_auth = no
dotlock_use_excl = yes
lmtp_proxy = yes
log_path = /var/log/dovecot.log
mail_debug = yes
mail_gid = 60001
mail_location = mdbox:%h:INDEX=%h/index
mail_nfs_storage = yes
mail_uid = 60001
managesieve_notify_capability = mailto
managesieve_sieve_capability = comparator-i;octet 
comparator-i;ascii-casemap fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex 
imap4flags copy include variables body enotify environment mailbox date 
spamtest spamtestplus virustest
namespace type=private {
   inbox = yes
   location =
   prefix =
   separator = .
}
passdb {
   args = /usr/local/etc/dovecot/dovecot-ldap-pw.conf
   driver = ldap
}
protocols = imap pop3 lmtp sieve
service auth {
   unix_listener /var/spool/postfix/private/auth {
     mode = 0666
     user = postfix
   }
   unix_listener auth-userdb {
     group =
     mode = 0600
     user = dovecot
   }
}
service director {
   fifo_listener login/proxy-notify {
     mode = 0666
   }
   inet_listener {
     port = 13459
   }
   unix_listener director-userdb {
     mode = 0666
   }
   unix_listener login/director {
     mode = 0666
   }
}
service imap-login {
   executable = imap-login director
}
service lmtp {
   inet_listener {
     port = 30025
   }
}
service managesieve-login {
   executable = managesieve-login director
   inet_listener managesieve {
     port = 2000
   }
}
service pop3-login {
   executable = pop3-login director
}
ssl = no
userdb {
   args = /usr/local/etc/dovecot/dovecot-ldap-pw.conf
   driver = ldap
}
protocol lmtp {
   auth_socket_path = director-userdb
}




More information about the dovecot mailing list