[Dovecot] Dovecot - not pulling pop3s email from virtual mbox

Ganesh Hariharan ghariharan at gmail.com
Thu Jan 16 14:24:18 EET 2014


I have come to this level, where I get the error

"Jan 16 17:46:38 ns dovecot: auth: Debug:
passwd-file(info at ghhdomain.com,10.0.0.12):
lookup: user=info at ghhdomain.com file=/etc/dovecot/users
Jan 16 17:46:38 ns dovecot: auth: Error:
password(info at ghhdomain.com,10.0.0.12):
Password in passdb is not in expected scheme cram-md5
Jan 16 17:46:40 ns dovecot: auth: Debug: client out: FAIL#0111#011user=
info at ghhdomain.com
Jan 16 17:47:14 ns dovecot: auth: Debug: client in:
AUTH#0112#011CRAM-MD5#011service=pop3#011secured#011lip=10.0.0.12#011rip=10.0.0.12#011lport=995#011rport=52290
Jan 16 17:47:14 ns dovecot: auth: Debug: client out:
CONT#0112#011PDY1ODkwNDMyOTE1ODg4NTAuMTM4OTg3NDYzNEBucy5tYXN0ZXItc2VydmVyPg==
Jan 16 17:47:14 ns dovecot: auth: Debug: client in:
CONT#0112#011aW5mb0BnaGhkb21haW4uY29tIDY0ZGYxZGI4MzVhNzQ0NjJlZjNlZDQwZGRlMDdiZjQ4
Jan 16 17:47:14 ns dovecot: auth: Debug:
passwd-file(info at ghhdomain.com,10.0.0.12):
lookup: user=info at ghhdomain.com file=/etc/dovecot/users
Jan 16 17:47:14 ns dovecot: auth: Error:
password(info at ghhdomain.com,10.0.0.12):
Password in passdb is not in expected scheme cram-md5
Jan 16 17:47:16 ns dovecot: auth: Debug: client out: FAIL#0112#011user=
info at ghhdomain.com
Jan 16 17:47:17 ns dovecot: pop3-login: Aborted login (auth failed, 2
attempts): user=<info at ghhdomain.com>, method=CRAM-MD5, rip=10.0.0.12,
lip=10.0.0.12, TLS"


output of dovecot -n , below...

# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-431.el6.i686 i686 CentOS release 6.5 (Final) ext4
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = cram-md5
mail_debug = yes
mail_gid = 503
mail_location = mbox:/var/spool/mail/%u
mail_uid = 503
mbox_write_locks = fcntl
passdb {
  args = scheme=cram-md5 username_format=%u /etc/dovecot/users
  driver = passwd-file
}
service pop3-login {
  inet_listener pop3 {
    port = 110
  }
  inet_listener pop3s {
    port = 995
    ssl = yes
  }
}
ssl_cert = </etc/postfix/newcert.pem
ssl_key = </etc/postfix/newkey.pem
userdb {
  args = username_format=%u /etc/dovecot/users
  driver = passwd-file
}


the client uses CRAM-MD5 using thunderbird....

Please help, on the next steps...

Regards
G


On Thu, Jan 16, 2014 at 4:04 PM, Ganesh Hariharan <ghariharan at gmail.com>wrote:

> Hi Steffen,
>
> Please see the dovecot -n output attached
>
> I have two files , users and passwd
>
> cat /etc/dovecot/users
> info at ghhdomain.com:501:501:/var/spool/mail/ghhdomain/info/:/bin/false:
>
> [sysopminds at ns ~]$ cat /etc/dovecot/passwd
> info at ghhdomain.com:
> {CRAM-MD5}e02d374fde0dc75a17a557039a3a5338c7743304777dccd376f332bee68d2cf6:503:503
>
> TIA
> G
>
>
>
>
> On Thu, Jan 16, 2014 at 3:44 PM, Steffen Kaiser <
> skdovecot at smail.inf.fh-brs.de> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> On Thu, 16 Jan 2014, Ganesh Hariharan wrote:
>>
>>  Jan 16 09:27:04 ns dovecot: auth: Error: passwd-file /etc/dovecot/users:
>>> User info at ghhdomain.com has invalid GID '/var/spool/mail/ghhdomain/
>>> info/'
>>> Jan 16 09:27:04 ns dovecot: auth: Debug: passwd-file /etc/dovecot/users:
>>> Read 0 users
>>>
>>
>>  Please see my configs
>>>
>> don't grab selected output from the conf files, use doveconf -n
>>
>>
>>> users file look like this
>>> info at ghhdomain.com:
>>> {CRAM-MD5}e02d374fde0dc75a17a557039a3a5338c7743304777dccd376f332bee68d
>>> 2cf6:503:503
>>>
>>>
>> Do you have a line with "/var/spool/mail/ghhdomain/info/" in
>> /etc/dovecot/users ? Post that line and, say, three lines before and three
>> after it.
>>
>> - -- Steffen Kaiser
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>>
>> iQEVAwUBUtew/HD1/YhP6VMHAQLtbwgAjj11c42Ou+tQ5pBglOIIIfU+VrKjq2Av
>> 0Ii2FMcjT/KMH7yHya/Dj6KGUMv1miZGj3FSpGaihcYIilxkjUXKr01noSmEb4Pj
>> BkSHkqciJrzVZulzDtOiWXEl3jsT3VpQcqMKbfMOrAshG9nxz0cTCw6AtIEllJC8
>> StytjqaaYDBaW5zmRWY7kSjKiLHr8Y3nLQfFLPjrRw1KL1lKTTNm8o2mpA1Yah+3
>> cBZ1zFBswxbVmORhcug+sJB+vWauiZ9cX5DGgjLjflHFiaL9CXnGnjntdki2ZFjg
>> VAShxwU/RSnTQBrdYvWSvAtD+bXP+3eySuitaHqyGcogHVZFb1bPQQ==
>> =w/kl
>> -----END PGP SIGNATURE-----
>>
>
>


More information about the dovecot mailing list