Re: [Dovecot] Mapping usernames [RESOLVED]

2009-02-12 Thread Henry
Resolved. For others, this is the simple solution which works for me: /etc/dovecot.conf: auth default { userdb passwd-file { args = /etc/passwd } passdb passwd-file { args = scheme="MD5-CRYPT" /etc/dovecot.passwd } } /etc/dovecot.passwd: b...@vhost.com:$1$yAOjs

Re: [Dovecot] Mapping usernames

2009-02-12 Thread Henry
On Thu 12/02/09 18:36 , Timo Sirainen t...@iki.fi sent: > a...@123.com:. > ...:user=realnamea_abc Thanks Timo, Unfortunately this is still not working. Any further comments would be appreciated. I've tried it two ways:- ATTEMPT 1 /etc/dovecot.conf: auth default { userd

Re: [Dovecot] Mapping usernames

2009-02-12 Thread Timo Sirainen
On Thu, 2009-02-12 at 15:26 +0200, Henry wrote: > /etc/dovecot.passwd contains: > realnamea_abc:{PLAIN-MD5}$1$Vjkfhaa::userdb_user=...@123.com > > I've been fiddling around blindly with all kinds of settings in userdb {} > above, but I always get the error: > "passwd-file(a...@123.com,::f

[Dovecot] Mapping usernames

2009-02-12 Thread Henry
Greets, We're using Dovecot 1.0.7 (which comes with CentOS 5.x). I have successfully configured dovecot to change a username from a...@123.com to realname1_abc for a machine which only has a single domain (using auth_username_format=realname1_%Ln). However, I'm pulling my hair out trying to ge