[Dovecot] %d not recognized with LDAP

Anil replicase at gmail.com
Fri Jan 4 18:12:31 EET 2008


I saw the recent threads but didn't help for me.

Here's my configuration:

The domain isn't getting expanded as per logs:
Jan  4 08:06:40 vds5 dovecot: [ID 107833 mail.info] IMAP(admin):
maildir: data=/var/mail/apps//admin/Maildir

# 20080102: /usr/local/dovecot/etc/dovecot.conf
listen: *:143
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /usr/local/dovecot/var/run/dovecot/login
login_executable: /usr/local/dovecot/libexec/dovecot/imap-login
login_log_format_elements: user=<%n@%d> method=%m rip=%r lip=%l %c
login_max_connections: 64
max_mail_processes: 128
mail_location: maildir:/var/mail/apps/%d/%n/Maildir
mail_debug: yes
auth default:
  passdb:
    driver: ldap
    args: /usr/local/dovecot/etc/dovecot-ldap.conf
  userdb:
    driver: static
    args: uid=vmail gid=vmail home=/var/mail/apps/%d/%n

Here's the relevant LDAP configuration:
auth_bind = yes
pass_attrs = uid=user
pass_filter = uid=%n



I tried setting the mail_location to: maildir:~/Maildir and explicitly
specifying the full path, but still the Maildir is getting created
with out the %d. Of course, the user is logging in with
"admin at domain.com".


Any ideas?


More information about the dovecot mailing list