Ganesh Hariharan
2014-Jan-16 05:58 UTC
[Dovecot] Dovecot - not pulling pop3s email from virtual mbox
Hi All,
I am bit strugging to get this work, and bit perplexed to set the right
configuration to get this work, btw: I am using passdb without any DB based
auth.
the latest logs after debug mode setting is below
Jan 16 09:27:04 ns dovecot: auth: Debug: Module loaded:
/usr/lib/dovecot/auth/libdriver_sqlite.so
Jan 16 09:27:04 ns dovecot: auth: Debug: Module loaded:
/usr/lib/dovecot/auth/libmech_gssapi.so
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
Jan 16 09:27:04 ns dovecot: auth: Fatal: No passdbs specified in
configuration file. CRAM-MD5 mechanism needs one
Jan 16 09:27:04 ns dovecot: master: Error: service(auth): command startup
failed, throttling
Please see my configs
10-mail.conf
mail_location = maildir:/var/spool/mail/%d/%n
10-ssl.conf
# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
ssl = yes
ssl_cert = </etc/postfix/newcert.pem
ssl_key = </etc/postfix/newkey.pem
auth-system.conf.ext
#passdb {
#driver = passwd-file
#args = scheme=cram-md5 username_format=%u /etc/dovecot/passwd
#}
userdb {
driver = passwd-file
args = username_format=%u /etc/dovecot/users
}
auth-passwdfile.conf.ext
passdb {
driver = passwd-file
args = scheme=CRYPT username_format=%u /etc/dovecot/users
}
users file look like this
info at ghhdomain.com:
{CRAM-MD5}e02d374fde0dc75a17a557039a3a5338c7743304777dccd376f332bee68d2cf6:503:503
I created using doveadm pw , and pasted the output to the above file
Please let me know what went wrong, and what I need to do now...
thanks
G.
userdb {
driver = passwd-file
args = username_format=%u /etc/dovecot/users
I have made a mess of these configuration after many tries.. yet not sure
what is the simple steps to make it work
Steffen Kaiser
2014-Jan-16 10:14 UTC
[Dovecot] Dovecot - not pulling pop3s email from virtual mbox
-----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 configsdon't grab selected output from the conf files, use doveconf -n> > users file look like this > info at ghhdomain.com: > {CRAM-MD5}e02d374fde0dc75a17a557039a3a5338c7743304777dccd376f332bee68d2cf6: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-----