TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fetchmail



Hello,

Fetchmail is giving me some trouble, and I'm not sure why. I think it's
a problem with how I have networking in general set up on my system, and
not a problem with Fetchmail itself.

Here is my ~/.fetchmailrc:
===
defaults
        #interface "sl0/10.0.2.15"      # SLIRP standard address
        user reid is reid fetchmail-friends magic-numbers here
        fetchall

# Use this for production
poll mail.pconline.com protocol POP3:
        no dns, aka dusk.localdomain, dusk
        password [my password for reid@pconline.com here];
===


And here is what I get when I run fetchmail:
===
[reid@dusk ~ ] fetchmail -v
fetchmail: 4.5.8 querying mail.pconline.com (protocol POP3) at Sun Aug
15 19:54:13 1999
fetchmail: POP3< +OK Cubic Circle's v1.21 1997/08/10 [shadow] POP3 ready
<215200007c61b737@newton.pconline.com>
fetchmail: POP3> USER reid
fetchmail: POP3< +OK reid selected
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Congratulations!
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 991
fetchmail: POP3> LIST
fetchmail: POP3< +OK 1 messages (991 octets)
fetchmail: POP3< 1 991
fetchmail: POP3< .
1 message for reid at mail.pconline.com (991 bytes).
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 991 octets
reading message 1 of 1 (991 bytes)
fetchmail: no local matches, forwarding to reid
fetchmail: SMTP connect to localhost failed: Connection refused
fetchmail: POP3> QUIT
fetchmail: POP3< 
fetchmail: SMTP transaction error while fetching from mail.pconline.com
fetchmail: Query status=10
fetchmail: normal termination, status 10
===


Note that it says the SMTP connection was refused. I have qmail running
as normal and on port 25 (according to my /etc/inetd.conf), so I don't
know why it's failing. I can't telnet to 127.0.0.1 25, either.
Interestingly, telnetting to 127.0.0.1 (not port 25) fails also:

===
[reid@dusk ~ ] telnet 127.0.0.1
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.


(m18-5.pconline.com) Enter password: 

Incorrect password.

(m18-5.pconline.com) Enter password: 

Incorrect password.

(m18-5.pconline.com) Enter password: 

Authentication failed. Closing telnet session.

Connection closed by foreign host.
===

I try the passwords both for reid@dusk (localhost) and reid@pconline.com
(not the domain name m18-5.pconline.com, which is given me when I dialup
via PPP).


Will the output of 'ifconfig' help you diagnose the problem?

===
[reid@dusk ~ ] /sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:206.145.52.69  P-t-P:206.145.48.49 
Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:512  Metric:1
          RX packets:1013 errors:40 dropped:40 overruns:0 frame:0
          TX packets:916 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          Memory:177e830-177ec44 
===


Here's 'route', just for good luck:

===
[reid@dusk ~ ] /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
127.0.0.0       *               255.255.255.255 UH    0      0        0
lo
m18-5.pconline. *               255.255.255.255 UH    0      0        0
ppp0
default         m18-5.pconline. 0.0.0.0         UG    0      0        6
ppp0
===

Anything obviously wrong there? Should the Genmask for 127.0.0.0 be
255.255.255.0?


If any of you can help me diagnose this problem, that'd be great. I want
to use Mutt or Pine, not Netscape!


Thanks in advance,
-- Chris :)

  Christopher Reid Palmer : http://www.innerFireWorks.com/