12 Feb
2009
12 Feb
'09
6:36 p.m.
On Thu, 2009-02-12 at 15:26 +0200, Henry wrote:
/etc/dovecot.passwd contains: realnamea_abc:{PLAIN-MD5}$1$Vjkfhaa....::::::userdb_user=abc@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@123.com,::ffff:127.0.0.1): unknown user", amongst others.
In a nutshell, I want to allow a user to login with abc@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@123.com:....:user=realnamea_abc