[Dovecot] postfix - dovecot - ldap

Martin Sengstschmid
Thu, 15 Jan 2009 15:53:25 -0000

Hallo,

Although imap-Login seems to work dovecot doesn't write
/usr/local/mail/abcshop.at/bamm
/usr/local/mail/abcshop.at/bamm/Maildir

The directory /usr/local/mail/ is owned by virtual:virtual (2000:2000)

dovecot.conf
.....
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
log_path=/var/log/dovecot.log
info_log_path=/var/log/dovecot-info.log
......

dovecot-info.log
.....
dovecot: Jan 15 16:35:10 Info: Dovecot v1.1.7 starting up
dovecot: Jan 15 16:35:11 Info: auth(default): new auth connection: pid=10430
dovecot: Jan 15 16:35:11 Info: auth(default): new auth connection: pid=10432
dovecot: Jan 15 16:35:11 Info: auth(default): new auth connection: pid=10431
dovecot: Jan 15 16:35:20 Info: auth(default): new auth connection: pid=10434
dovecot: Jan 15 16:35:26 Info: auth(default): client in: AUTH    1
 PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1
 lport=143    rport=52791
resp=AGJhbW1AYWJjc2hvcC5hdABiYW1tX3NlY3JldA=dovecot: Jan 15 16:35:26 Info:
auth(default):
ldap(bamm at abcshop.at,127.0.0.1): pass search:
base=ou=people,dc=abcshop,dc=at scope=subtree
filter=(&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=bamm at
abcshop.at))
fields=uniqueIdentifier,userPassword
dovecot: Jan 15 16:35:26 Info: auth(default):
ldap(bamm at abcshop.at,127.0.0.1): result:
uniqueIdentifier(user)=bamm at abcshop.at userPassword(password)=bamm_secret
dovecot: Jan 15 16:35:26 Info: auth(default): client out: OK    1
 user=bamm at abcshop.at
dovecot: Jan 15 16:35:26 Info: auth(default): master in: REQUEST    1
 10431    1
dovecot: Jan 15 16:35:26 Info: auth(default):
ldap(bamm at abcshop.at,127.0.0.1): user search:
base=ou=people,dc=abcshop,dc=at scope=subtree
filter=(&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=bamm at
abcshop.at))
fields=mailHomeDirectory,mailUidNumber,mailGidNumber,mailStorageDirectory,mailQuota
dovecot: Jan 15 16:35:26 Info: auth(default):
ldap(bamm at abcshop.at,127.0.0.1): result: mailGidNumber(gid)=2000
mailHomeDirectory(home)=/usr/local/mail/abcshop.at/bamm
mailQuota(quota=maildir:storage)=2621440
mailStorageDirectory(mail)=maildir:/usr/local/mail/abcshop.at/bamm/Maildir
mailUidNumber(uid)=2000
dovecot: Jan 15 16:35:26 Info: auth(default): master out: USER    1
 bamm at abcshop.at    gid=2000    home=/usr/local/mail/abcshop.at/bamm
 quota=maildir:storage=2621440
 mail=maildir:/usr/local/mail/abcshop.at/bamm/Maildir    uid=2000
dovecot: Jan 15 16:35:26 Info: imap-login: Login:
user=<bamm at abcshop.at>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
secured
dovecot: Jan 15 16:35:40 Info: IMAP(bamm at abcshop.at): Disconnected:
Logged out bytes=18/97

What is going wrong?

MArtin