you don't have smtp listening on your localhost for delivery.
port 25
this is what I have on a: netstat -a :grep 25, or netstat -l
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
also you can try connecting to localhost port 25 with telnet
jhelfman@dsl-64-34-6-73:~/bash$ telnet localhost 25
Trying 127.0.0.1...
Connected to alice.
Escape character is '^]'.
220 dsl-64-34-6-73.telocity.com ESMTP
this is what mine shows....and if it is working correctly, it will hand
there awaiting commands.
I hope this helps.
On Thu, Feb 08, 2001 at 11:35:15PM -0800, Robert Cymbala muttered:
|
| This is about an old Toshiba laptop for a Vietnamese guy who wants to
| get online. Hopefully there's a simple answer I'm not seeing, it
| would save hours. It works on an old Compaq laptop (download user
| 'cymbala' email from mail.lafn.org), but can't get fetchmail to work
| on a Toshiba T4700ct laptop.
|
| Both laptops are configured the same except for kernel:
|
| "fetchmail -V" on Compaq (fetchmail works):
| This is fetchmail release 5.3.3+NTLM+SDPS+NLS
| Linux cymba.land.org 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i486 unknown
| ...
| (identical info.)
|
| "fetchmail -V" on Toshiba (fetchmail doesn't works):
| This is fetchmail release 5.3.3+NTLM+SDPS+NLS
| Linux cymba.land.org 2.2.18pre21 #1 Sat Nov 18 18:47:15 EST 2000 i486 unknown
| ...
| (identical info.)
|
| There are probably other differences as a result of creating a recent
| set of Debian installation floppies for the Toshiba (1 rescue, 1 root,
| 4 driver, & 11 base system). Otherwise, same set of CDs used to add
| software after base system was installed from floppies. Differences
| between kernel and/or base system wouldn't cause "SMTP connect to
| localhost failed," would they?
|
| These files are identical between two computers:
| /root/.fetchmailrc
| /etc/exim.conf
| /etc/hosts, ./hostname, ./mailname (same hostname & dnsdomainname)
|
| This is from Toshiba, shows where fetchmail fails:
| ------------------------------------------
| fetchmail --all --keep --verbose --verbose
|
| 5.3.3 querying mail.lafn.org (protocol POP3) at Thu, 08 Feb 2001 22:27:13 -0800
|(PST)
| POP3< +OK QPOP (version 3.0b31) at zoon.lafn.org starting.
| POP3> USER cymbala
| POP3< +OK Password required for cymbala.
| POP3> PASS *
| POP3< +OK cymbala has 2 messages (1753 octets).
| selecting or re-polling default folder
| POP3> STAT
| POP3< +OK 2 1753
| 2 messages for cymbala at mail.lafn.org (1753 octets).
| POP3> LIST
| POP3< +OK 2 messages (1753 octets)
| POP3< 1 467
| POP3< 2 1286
| POP3< .
| POP3> RETR 1
| POP3< +OK 467 octets
| reading message 1 of 2 (467 octets)
| About to rewrite Return-Path: <[EMAIL PROTECTED]>
| ...
| SMTP connect to localhost failed
| POP3> QUIT
| POP3<
| SMTP transaction error while fetching from mail.lafn.org
|
|
| That's it, even with a double "--verbose" it doesn't say why. Below
| is from Compaq, shows fetchmail working:
| ------------------------------------------
| fetchmail --all --keep --verbose --verbose
|
| POP3> RETR 1
| POP3< +OK 467 octets
| reading message 1 of 2 (467 octets)
| About to rewrite Return-Path: <[EMAIL PROTECTED]>
| ...
| SMTP< 220 cymba.land.org ESMTP Exim 3.12 #1 Thu, 08 Feb 2001 22:34:11 -0800
| SMTP> EHLO localhost
| SMTP< 250-cymba.land.org Hello root at cymba.land.org [127.0.0.1]
| SMTP< 250-SIZE
| SMTP< 250-PIPELINING
| SMTP< 250 HELP
| forwarding to localhost
| SMTP> MAIL FROM:<[EMAIL PROTECTED]> SIZE=467
| SMTP< 250 <[EMAIL PROTECTED]> is syntactically correct
| SMTP> RCPT TO:<cymbala@localhost>
| SMTP< 250 <cymbala@localhost> is syntactically correct
| SMTP> DATA
| SMTP< 354 Enter message, ending with "." on a line by itself
| SMTP>. (EOM)
| SMTP< 250 OK id=14R78F-0001qP-00
| not flushed
| POP3> RETR 2
|
| Help! what am I missing? With identical configuration files, I can't
| understand why it's not working. Both computers using pppd dialed
| into 316-0167.
| * * *
|
|
| ------------------------ Yahoo! Groups Sponsor ---------------------~-~>
| eGroups is now Yahoo! Groups
| Click here for more details
| http://click.egroups.com/1/11231/0/_/123848/_/981704120/
| ---------------------------------------------------------------------_->
|
| Linux Users Los Angeles http://www.lula.org
| http://lalugs.org
| To unsubscribe (or modify your preferences) visit
| http://www.onelist.com/community/lula OR
| send mail to [EMAIL PROTECTED]
|
--
/Jason G Helfman
"At any given moment, you may find the ticket to the circus that has always
been in your possession."
Fingerprint: 6A32 3774 E390 33B5 8C96 2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org Get Private! 1024D/35A1C149