[Dovecot] Issue Authenticating to a new dovecot-postfix installation

Anthony Nedland anthony.nedland at baldwin-telecom.net
Thu Dec 31 21:05:49 EET 2009


Timo Sirainen wrote:
> On Thu, 2009-12-31 at 12:41 -0600, Anthony Nedland wrote:
>   
>> I noticed that the statement has /var/vmail//rakka. Is the // ok?
>>     
>
> That's because the %d is empty.
>
>   
>> I tried with rakka at domain and this is my log on that attempt
>>
>> AUTH#0111#011PLAIN#011service=pop3#011lip=192.168.1.9#011rip=64.33.164.10#011lport=110#011rport=50836#011resp=AHJha2thIAhAYmFsZHRlbC5jb20AcmFra2E=
>>     
>
> Decode the resp base64 string above. You'll see that after "user"
> there's a space and backspace character. So it looks like your test was
> just broken because backspace wasn't working correctly.
>   
Ok, I didn't use backspace this time. Here's the output from mail.log

Dec 31 13:02:48 mail dovecot: auth(default): new auth connection: pid=5604
Dec 31 13:03:00 mail dovecot: auth(default): client in: 
AUTH#0111#011PLAIN#011service=pop3#011lip=192.168.1.9#011rip=64.33.164.10#011lport=110#011rport=54542#011resp=AHJha2thQGJhbGR0ZWwuY29tAHJha2th
Dec 31 13:03:00 mail dovecot: auth-worker(default): mysql: Connected to 
localhost (postfix)
Dec 31 13:03:00 mail dovecot: auth-worker(default): 
sql(rakka at baldtel.com,64.33.164.10): query: SELECT username as user, 
password, '/var/vmail/baldtel.com/rakka' as 
userdb_home,'maildir:/var/vmail/baldtel.com/rakka' as userdb_mail, 150 
as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 
'rakka at baldtel.com' AND active = 1
Dec 31 13:03:00 mail dovecot: auth-worker(default): 
sql(rakka at baldtel.com,64.33.164.10): Password mismatch
Dec 31 13:03:00 mail dovecot: auth-worker(default): 
sql(rakka at baldtel.com,64.33.164.10): PLAIN(rakka) != 
'$1$f82c98f9$/vrwt3aZHWM/5j1pjEhVZ1'
Dec 31 13:03:02 mail dovecot: auth(default): client out: 
FAIL#0111#011user=rakka at baldtel.com
Dec 31 13:03:03 mail dovecot: pop3-login: Aborted login (auth failed, 1 
attempts): user=<rakka at baldtel.com>, method=PLAIN, rip=64.33.164.10, 
lip=192.168.1.9

It looks like it worked, but didn't like the password. Is that right? I 
don't see how the password could be wrong, but I can make another user 
to check that.

Any thoughts on the error in mail.err? Did I get that part into the last 
message?

Thanks for all the help also.

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anthony_sig.JPG
Type: image/jpeg
Size: 15126 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20091231/875b8df5/attachment-0001.jpe 


More information about the dovecot mailing list