Dovecot with pam authentication and user at domain

Christian Schneider christian at ch-sc.de
Mon Feb 8 20:25:35 UTC 2016


Sorry for bringing up this issue again, but I still have no solution.
Is the describtion of my problem unclear? I suppose this setup is not 
uncommon...
Greetings
Christian

On Samstag, 16. Januar 2016 00:51:27 CET Christian Schneider wrote:
> 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/20160208/40eedb00/attachment-0001.sig>


More information about the dovecot mailing list