LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2003, 12:44 PM   #1
rjayaram
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
SMTP error


Hello,

I am using Mozilla 1.2.1 on Mandrake 8.0 to connect to my ISP
(using kppp). I have no problem reading my email using IMAP.
But I am unable to send email to an SMTP server. Mozilla prints
the error message "Connecting to SMTP server failed".

I am able to ping the SMTP server with 0% packet loss.
When I try to telnet to port 25 of the machine, I get the
message "Network is unreachable".

Any help would be appreciated.

Thank you
Rajeev

The log from ping is:

[rajeev@localhost rajeev]$ ping smtp.swissmail.org
PING smtp.fpw.ch (194.209.117.61) from 67.234.22.212 : 56(84) bytes of data.
64 bytes from smtp.generalmail.com (194.209.117.61): icmp_seq=0 ttl=113 time=578.023 msec
64 bytes from smtp.generalmail.com (194.209.117.61): icmp_seq=1 ttl=113 time=278.439 msec
64 bytes from smtp.generalmail.com (194.209.117.61): icmp_seq=2 ttl=113 time=278.644 msec
64 bytes from smtp.generalmail.com (194.209.117.61): icmp_seq=3 ttl=113 time=268.667 msec
64 bytes from smtp.generalmail.com (194.209.117.61): icmp_seq=4 ttl=113 time=288.648 msec

--- smtp.fpw.ch ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max/mdev = 268.638/326.843/578.023/112.538 ms

The log from telnet is:

[rajeev@localhost rajeev]$ telnet smtp.swissmail.org
Trying 194.209.117.64...
telnet: connect to address 194.209.117.64: No route to host
Trying 194.209.117.61...
telnet: connect to address 194.209.117.61: No route to host
Trying 194.209.117.27...

telnet: connect to address 194.209.117.27: No route to host
 
Old 06-29-2003, 02:48 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
maybe you got a space or something in there.
you can put the ip in the smtp space if you want
to get around the lookup
 
Old 06-29-2003, 05:32 PM   #3
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
You forgot to specify a port number.

Try : "telnet smtp.swissmail.org 25", it might work better. :-)
 
Old 07-31-2003, 11:01 PM   #4
chipmunk
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
I've just run into this problem and found a work around on the 'net. Mozilla 1 and Netscape 6 & 7 reportedly have this bug and obviously it still persists in Mozilla 5. just found it in bugzilla: http://bugzilla.mozilla.org/show_bug.cgi?id=146488

Likewise I could ping and telnet (port 25) to the SMTP server but trying to send would result in an error: unable to contact SMTP server. Other accounts on the Linux box were able to send (with exactly the same SMTP configuration).

The solution (or rather work around): (untested) edit prefs.js file (see bugzilla report) and remove duplicate/invalid smtp server entries
or
keep adding duplicate SMTP servers. Edit:Mail & Newsgroup Account Settings:Outgoing Mail Server: Advanced make sure all have the "use name and password" box unchecked and select different copies as the default and eventually it resolves itself. I had to add 4 copies of the SMTP server and edit the "null" one which appeared on its own and voila I could send e-mail again. :-S

Hopefully you've solved this by now (given it's 2 months on) but maybe it will help someone else.
 
Old 07-31-2003, 11:42 PM   #5
yuray
Member
 
Registered: Apr 2003
Location: Russia, Khotkovo
Distribution: Debian
Posts: 146

Rep: Reputation: 15
Try mail.swissmail.org
or 194.209.117.61
or 194.209.117.27
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Router/SMTP error J_K9 General 0 07-04-2005 01:23 AM
configuring smtp , error D3javu Linux - Newbie 0 02-09-2005 10:48 PM
SMTP 415 error kinkybullet Linux - Newbie 0 05-13-2004 09:42 PM
pop-before-smtp error jglazner Linux - Software 2 12-17-2003 03:59 AM
SMTP Error Qmail madhusurabi Linux - General 1 01-04-2002 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration