ben <mail...@gigaspeeds.be> wrote: > I'm using dovecot with a passdb-file . > > When I login using : t...@testdomain.com I notice dovecot strips off the > domainname and looks up everything in front of the @ in his > passdb-file... > > So I went on to configure the following in my dovecot.conf : > > auth_username_format = %...@%d > > restarted dovecot, but he still strips of the @ and the domainname ... > > LOG (sorry for f* up format) : > > dovecot: Feb 21 12:15:08 Info: auth(default): new auth connection: > pid=24483 > dovecot: Feb 21 12:15:12 Info: auth(default): client in: AUTH 1 PLAIN > service=pop3 lip=195.207.136.102 rip=195.207.136.108 lport=110 > rport=36132 resp=AGJlbkBpdHV4LmJlAHRlc3QxMjMu > dovecot: Feb 21 12:15:12 Info: auth(default): > passwd-file(t...@testdomain.com@testdomain.com,195.207.136.108): lookup: > user=test file=/opt/dovecot/etc/dovecot.passwd > dovecot: Feb 21 12:15:12 Info: auth(default): > passwd-file(t...@testdomain.com@testdomain.com,195.207.136.108): unknown > user > dovecot: Feb 21 12:15:14 Info: auth(default): client out: FAIL 1 > user=t...@testdomain.com > > Can someone enlighten me on how to config it so he looks up > "t...@testdomain.com" fully ?
Try: auth_username_format = %Lu [ %Lu - %u turned to lowercase ] %...@%d you have used produced "double domain" so try it without trailing "@%d". URL(s): http://wiki.dovecot.org/MainConfig -- [pl>en: Andrew] Andrzej Adam Filip : a...@onet.eu Genius doesn't work on an assembly line basis. You can't simply say, "Today I will be brilliant." -- Kirk, "The Ultimate Computer", stardate 4731.3