[Dovecot] missing slash when concatenating strings from userdb static?

Elod elod at online.ro
Tue May 13 19:47:47 EEST 2008


Dovecot version: 1.0.13
Linux: Debian Testing (kernel 2.6.22)
Fs: local

# 1.0.13: /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
valid_chroot_dirs: /home/email
mail_chroot: /home/email
first_valid_uid: 109
last_valid_uid: 109
first_valid_gid: 65534
last_valid_gid: 65534
mail_access_groups: nogroup
mail_privileged_group: mail
mail_location: maildir:~/Maildir
maildir_copy_with_hardlinks: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
auth default:
   passdb:
     driver: passwd-file
     args: /home/email/%d/passwd
   userdb:
     driver: static
     args: uid=email gid=nogroup home=/%d/%n


It finds mails with "/%d/%n" but not with "%d/%n".

At another site I have the same version, but with an SQL backend. That 
one works beautifully with relative (to chroot dir) paths.

-- 
Valkai Elõd


More information about the dovecot mailing list