Dovecot with pam authentication and user at domain

Christian Schneider christian at ch-sc.de
Fri Jan 15 23:51:27 UTC 2016


Hello all,
I'm trying to setup dovecot for local users with pam authentication.
The passdb and userdb entries are as follows:

passdb {
  args = username_format=%n
  driver = pam
}
userdb {
  args = username_format=%n
  driver = passwd
}

Using "doveadm user chriss" returns the user record as expected, but "doveadm 
user chriss at testmail.ch-sc.de" gives an error:
field   valueuserdb lookup: user chriss at testmail.ch-sc.de doesn't exist

As far as I understand, username_format=%n should drop the domain part and 
only search for the user in the userdb, but it doesn't. What am I missing?

Greetings
Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 303 bytes
Desc: This is a digitally signed message part.
URL: <http://dovecot.org/pipermail/dovecot/attachments/20160116/e3d41652/attachment.sig>


More information about the dovecot mailing list