[Dovecot] dovecot auth

Andrzej Adam Filip anfi at onet.eu
Sat Feb 21 14:14:02 EET 2009


ben <mailing at gigaspeeds.be> wrote:
> I'm using dovecot with a passdb-file .
>
> When I login using : test at 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 = %u@%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(test at 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(test at testdomain.com@testdomain.com,195.207.136.108): unknown
> user
> dovecot: Feb 21 12:15:14 Info: auth(default): client out: FAIL	1
> user=test at testdomain.com
>
> Can someone enlighten me on how to config it so he looks up
> "test at testdomain.com" fully ?

Try:
   auth_username_format = %Lu

[ %Lu - %u turned to lowercase ]
%u@%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 : anfi at 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


More information about the dovecot mailing list