Recently I upgraded my machine from RH 7.2 to FC 3. This step
replaced fetchmail 5.9.x with 6.2.5, whereupon fm could no
longer get my email from my ISP's POP3 server. I use mutt as
my MUA, incidentally.
The ISP's server requires username/password over an SSL
connection. fm was running in daemon mode (normally without -v).
Although I didn't notice it at first (busy recompiling my
window manager, Window Maker, etc.), the logs do show the
moment things went awry:
fetchmail: 5.9.0 querying wiscmail.wisc.edu (protocol POP3) at Sun Feb 13
21:46:45 2005
fetchmail: wiscmail.wisc.edu key fingerprint:
22:ED:3B:44:E9:24:3C:EF:01:22:BF:77:3C:54:C3:B2
fetchmail: 2 messages for anderson at wiscmail.wisc.edu (19202 octets).
fetchmail: reading message 1 of 2 (9538 octets) fetchmail: flushed
fetchmail: reading message 2 of 2 (9664 octets) fetchmail: flushed
fetchmail: 5.9.0 querying wiscmail.wisc.edu (protocol POP3) at Sun Feb 13
21:54:56 2005
fetchmail: wiscmail.wisc.edu key fingerprint:
22:ED:3B:44:E9:24:3C:EF:01:22:BF:77:3C:54:C3:B2
fetchmail: terminated with signal 15
fetchmail: starting fetchmail 6.2.5 daemon
fetchmail: 31 messages for anderson at wiscmail.wisc.edu (197719 octets).
fetchmail: reading message anderson(_at_)wiscmail(_dot_)wisc(_dot_)edu:1 of 31
(2585 octets) fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from wiscmail.wisc.edu
fetchmail: Query status=10 (SMTP)
fetchmail: sleeping at Mon Feb 14 01:46:59 2005
I had many other things on my plate to deal with first, and at
least it was possible to carry on my email activities using
thunderbird. But --bias alert-- mutt is after all the best
client around, and now I'm back to wanting it to work for me
again.
I was thinking it had something to do with SSL because when I
turned on verbose logging I was getting previously absent stuff
about certs, sending a CAPA command and so forth. Today I saw
in the FAQ that I could get rid of the CAPA issue by adding
'auth password' to my server config in .fetchmailrc.
set logfile /home/anderson/.fetchmail.log
set postmaster "root"
set daemon 480
poll wiscmail.wisc.edu with proto POP3 auth password
user "anderson" there with password "--------" is
anderson here
and ssl
The log shows that I succeed in connecting to the server but
fail at the point of actually downloading messages.
fetchmail: starting fetchmail 6.2.5 daemon
fetchmail: 6.2.5 querying wiscmail.wisc.edu (protocol POP3) at Thu Feb 24
14:11:01 2005: poll started
fetchmail: Warning: server certificate verification: self signed certificate in
certificate chain
fetchmail: Warning: server certificate verification: self signed certificate in
certificate chain
fetchmail: Issuer Organization: RSA Data Security, Inc.
fetchmail: Unknown Issuer CommonName
fetchmail: Server CommonName: wiscmail.wisc.edu
fetchmail: wiscmail.wisc.edu key fingerprint:
22:ED:3B:44:E9:24:3C:EF:01:22:BF:77:3C:54:C3:B2
fetchmail: Warning: server certificate verification: self signed certificate in
certificate chain
fetchmail: POP3< +OK University of Wisconsin-Madison 2
fetchmail: POP3> USER anderson
fetchmail: POP3< +OK password required for user
anderson(_at_)wiscmail(_dot_)wisc(_dot_)edu
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Maildrop ready
fetchmail: POP3> STAT
fetchmail: POP3< +OK 4 18945
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
fetchmail: 4 messages for anderson at wiscmail.wisc.edu (18945 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 1993
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
fetchmail: reading message anderson(_at_)wiscmail(_dot_)wisc(_dot_)edu:1 of 4
(1993 octets)
fetchmail: SMTP connect to localhost failed
fetchmail: POP3> QUIT
fetchmail: POP3< test
fetchmail: SMTP transaction error while fetching from wiscmail.wisc.edu
fetchmail: 6.2.5 querying wiscmail.wisc.edu (protocol POP3) at Thu Feb 24
14:11:07 2005: poll completed
fetchmail: Query status=10 (SMTP)
fetchmail: sleeping at Thu Feb 24 14:11:07 2005
As to why, I haven't a clue but am willing to bet someone here
does...
--
* Copyright 2005 Jess Anderson
* www.jessanderson.org * anderson(_at_)wisc(_dot_)edu
* Window Maker Themes: www.jessanderson.org/wmthemes