[Dovecot] fetchmail can't talk to dovecot

M. Fioretti mfioretti at mclink.it
Sat Sep 30 18:46:16 EEST 2006


On Thu, Sep 28, 2006 17:21:31 PM -0700, Chris Cappuccio
(chris at nmedia.net) wrote:

> It looks like fetchmail is sending the wrong password....
> 

I have the password stored in the browser, so I don't have to type it
every time I check email with squirrelmail. I have looked at what firefox
transmits thanks to the live http headers extension.

The same password which, sent to squirrelmail via the form, works,
doesn't work if I copy it (correcting urlencoding, of course) into the
fetchmail script...

What else could it be?

TIA,
	Marco

> > 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.
> 
> -- 
> "Do you even send e-mails?"
> "I told you, I'm from the Wild West. I write by hand." -- Chuck Norris

-- 
Marco Fioretti                    mfioretti, at the server mclink.it
Fedora Core 3 for low memory      http://www.rule-project.org/

Never let your sense of morals prevent you from doing what is right
                                           Salvor Hardin , "Foundation"


More information about the dovecot mailing list