[Dovecot] Mapping usernames

Timo Sirainen tss at iki.fi
Thu Feb 12 18:36:05 EET 2009


On Thu, 2009-02-12 at 15:26 +0200, Henry wrote:
> /etc/dovecot.passwd contains:
> realnamea_abc:{PLAIN-MD5}$1$Vjkfhaa....::::::userdb_user=abc at 123.com
> 
> I've been fiddling around blindly with all kinds of settings in userdb {} above, but I always get the error:
> "passwd-file(abc at 123.com,::ffff:127.0.0.1): unknown user", amongst others.
> 
> In a nutshell, I want to allow a user to login with abc at 123.com, this name must be mapped to a real system user (eg, using /etc/dovecot.passwd), then authenticated against /etc/shadow or the MD5 password in /etc/dovecot.passwd

Then you're doing it the wrong way. Should be:

abc at 123.com:....:user=realnamea_abc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090212/86cf2c2a/attachment.bin 


More information about the dovecot mailing list