Is this a sendmail problem????
For some time now, I have be having problems getting mail from
my pop accounts using fetchmail. Here's what I get when I try to
use fetchmail in my linux account named wcrowshaw, retrieving mail from
a pop account name wcrowshaw:
fetchmail: 5.0.3 querying mail.ic.edu (protocol POP3) at Fri, 13 Aug
1999
18:08:55 -0400 (EDT)
fetchmail: POP3< +OK QPOP (version 2.5) at bartman starting.
fetchmail: POP3> USER wcrowshaw
fetchmail: POP3< +OK Password required for wcrowshaw.
fetchmail: POP3> PASS *
fetchmail: POP3< +OK wcrowshaw has 3 messages (2453 octets).
fetchmail: POP3> STAT
fetchmail: POP3< +OK 3 2453
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0 is the last read message.
3 messages for wcrowshaw at mail.ic.edu (2453 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK 3 messages (2453 octets)
fetchmail: POP3< 1 817
fetchmail: POP3< 2 822
fetchmail: POP3< 3 814
fetchmail: POP3< .
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 817 octets
reading message 1 of 3 (817 octets)
fetchmail: timeout after 0 seconds waiting for listener to respond.
fetchmail: Query status=7
fetchmail: normal termination, status 7
I'm getting closer to solving the problem. I don't think fetchmail
is the culprit but sendmail. I think this is indicated by the line
that says "waiting for listener to respond." I think the listener
it is talking about here is sendmail.
Here's my reasoning.
1) In fetchmail's man pages, it says that fetchmail retrieves the
messages, and then forwards them for distribution to my machine
Mail Delivery agent (MDA) which is usually sendmail.
2)In a faq provided with fetchmail's docs,it addresses the problem
that I am having: fetchmail appears to work fine, but the mail never
shows up. If this happens it says, "you may not be connecting to
the SMTP listener." It continues "Fetchmail itself is probably
working, but your SMTP port 25 listener is down or inaccessible."
It says, "The first thing to check is if you can telnet to port 25
on your smtp host (which is normally 'localhost' unless you've
specified an smtp option in your .fetchmailrc or on the command
line) and get a greeting line from the listener. If the SMTP host
is inaccessible or the listener is down, fix that first."
Now here is my interpretation of this. I telneted to the remote
machine's SMTP listener with "telnet mail.ic.edu 25." I got the
greeting message from the sendmail from that machine. O.k. that is
working.
But since it says to try "your smtp host (which is normally
'localhost'..."I thought maybe this means my own smtp host,
on my machine, perhaps my sendmail. So I tried "telnet localhost
25." I get this message:
"Trying 127.0.0.1...
telnet: Unable to connect to remote host: Network is unreachable"
In other words, I get no greeting message from sendmail. My
listener is down. If this interpretation of the faq and this
interpretation of the telnet responses is correct, then my problem
with retrieving e-mail from my pop accounts lies with sendmail.
So now I think I need to fix sendmail to retrieve my e-mail
address. But I don't know where to begin. I know that my system
uses sendmail, and I know that sendmail is up and running, because
ps -e shows it's process running.
If you're still with me this far, is my fetchmail problem a sendmail
problem? If so, how do I fix it? What setting in linuxconf should I
fix?
--
w. crowshaw
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.