From: Marco F. <mfi...@mc...> - 2006-09-27 17:09:23
|
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) (note: fetchmail is regularly working on other accounts) 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. |
From: Rob M. <rob...@gm...> - 2006-09-27 17:36:46
|
On 9/27/06, Marco Fioretti <mfi...@mc...> wrote: > 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) They may be linked. > (note: fetchmail is regularly working on other accounts) On this server? If so it points directly to a username/password mismatch between the server and fetchmail. The errors provided by fetchmail suggest you're either requiring SSL/TLS for logins or you've got an error in the username or password in the fetchmail config. I'd advise you increase the logging level on the server and retry. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |
From: Matthias A. <mat...@gm...> - 2006-09-30 21:29:31
|
Marco Fioretti <mfi...@mc...> writes: > 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? Because Dovecot offers TLS (STLS/STARTTLS) and fetchmail uses it.. > fetchmail: POP3> STLS > fetchmail: POP3< +OK Begin TLS negotiation now. > 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 * Whatever this is. Something's wrong here, but I'm not going to look at 6.3.2. -- Matthias Andree |