[Dovecot] fetchmail can't talk to dovecot

M. Fioretti mfioretti at mclink.it
Wed Sep 27 01:47:10 EEST 2006


Hello,

I have dovecot q1.0-0_22.rc7 up and running on a server: I can read
email from squirrelmail just fine. When I try to download email with
fetchmail, however, I get the result below. Why is that happening? In
dovecot.conf I have:

protocols = imap imaps pop3,

so why should pop3 or imap fail? Where should I look?

(I'll fix the certificates problem after I've managed to get in
successfully with plain imap or pop3)

Thanks,

	Marco

fetchmail: 6.3.2 querying my.server (protocol POP3) at Wed 27 Sep 2006 12:15:17 AM CEST: poll started
fetchmail: POP3< +OK Dovecot ready.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK
fetchmail: POP3< CAPA
fetchmail: POP3< TOP
fetchmail: POP3< UIDL
fetchmail: POP3< RESP-CODES
fetchmail: POP3< PIPELINING
fetchmail: POP3< STLS
fetchmail: POP3< USER
fetchmail: POP3< SASL PLAIN DIGEST-MD5
fetchmail: POP3< .
fetchmail: POP3> STLS
fetchmail: POP3< +OK Begin TLS negotiation now.
fetchmail: Issuer Organization: SomeOrganization
fetchmail: Issuer CommonName: localhost.localdomain
fetchmail: Server CommonName: localhost.localdomain
fetchmail: Server CommonName mismatch: localhost.localdomain != my.server
fetchmail: my.server key fingerprint: ...
fetchmail: Server certificate verification error: self signed certificate
fetchmail: POP3> CAPA
fetchmail: POP3< +OK
fetchmail: POP3< CAPA
fetchmail: POP3< TOP
fetchmail: POP3< UIDL
fetchmail: POP3< RESP-CODES
fetchmail: POP3< PIPELINING
fetchmail: POP3< USER
fetchmail: POP3< SASL PLAIN DIGEST-MD5
fetchmail: POP3< .
fetchmail: POP3> USER user_name
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< -ERR Authentication failed.
fetchmail: Authentication failed.
fetchmail: Authorization failure on user_name at my.server
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Logging out
fetchmail: 6.3.2 querying my.server (protocol POP3) at Wed 27 Sep 2006 12:15:21 AM CEST: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: Writing fetchids file.
fetchmail: normal termination, status 3
fetchmail: Writing fetchids file.

if I try with IMAP the part after the certificate verification error is:

fetchmail: IMAP> A0003 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDRE
N NAMESPACE LOGIN-REFERRALS AUTH=PLAIN AUTH=DIGEST-MD5
fetchmail: IMAP< A0003 OK Capability completed.
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0004 LOGIN "user_name" *
fetchmail: IMAP< A0004 NO Authentication failed.
fetchmail: IMAP> A0005 *
fetchmail: Authorization failure on user_name at my.server
fetchmail: IMAP> A0006 LOGOUT
fetchmail: IMAP< A0005 BAD Error in IMAP command received by server.
fetchmail: IMAP< * BYE Logging out

and I don't see any error message related to this in the server log.



More information about the dovecot mailing list