LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-15-2003, 10:39 AM   #1
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Rep: Reputation: 30
Cannot connect to any SMTP Servers?


Hi, I am running Slackware 9 with Balsa Mail Client. I used to be able to check my POP3 accounts and send mail via SMTP fine, then all of a sudden I can still receieve the mail from my POP3 accounts but i can't send anything! I have 2 POP3 Accounts and both refuse to send, i know it is not them because it works on my other computer (WinXP) I tried (From my linux box) to telnet to the servers on port 25 but could not connect This is really annoying becasue i can't send any mail! Also i know it is not Balsa's fault because i have tried with several mail clients. If anyone can help me out please reply. Thanks.
 
Old 06-15-2003, 11:53 AM   #2
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
Have you been messing with IP tables of late?

Please post output from:

iptables -L

Flibble
 
Old 06-15-2003, 12:03 PM   #3
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
hmm...

# iptables -L
# bash: iptables: command not found
 
Old 06-15-2003, 12:17 PM   #4
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
that was run as root?

Flibble
 
Old 06-15-2003, 12:33 PM   #5
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Woops, hehe Here it is:

Quote:
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 
Old 06-15-2003, 12:40 PM   #6
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
Hmm.. bang goes that theory.

Next try running Ethereal with a "host <mail server ip>" filter and then connecting on port 25 via telnet. Post output.

Alternatively if all you have got is tcpdump then tcpdump host <mail server ip> and telnet from another term. Again post output.

Flibble
 
Old 06-15-2003, 12:42 PM   #7
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
Incidentally, with no firewall running, you might want to look at how securely your box is configured.

Flibble
 
Old 06-15-2003, 02:07 PM   #8
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
This is the tcpdump command and then I telnetted from another term:

Quote:
bash-2.05b# tcpdump host 209.171.43.26
tcpdump: listening on eth0
03:08:10.404927 192.168.1.103.3576 > w.netfirms.com.smtp: S 3374956072:3374956072(0) win 5840 <mss 1460,sackOK,timestamp 2314349 0,nop,wscale 0> (DF) [tos 0x10]
03:08:13.401095 192.168.1.103.3576 > w.netfirms.com.smtp: S 3374956072:3374956072(0) win 5840 <mss 1460,sackOK,timestamp 2314649 0,nop,wscale 0> (DF) [tos 0x10]
03:08:19.401105 192.168.1.103.3576 > w.netfirms.com.smtp: S 3374956072:3374956072(0) win 5840 <mss 1460,sackOK,timestamp 2315249 0,nop,wscale 0> (DF) [tos 0x10]
03:08:31.401095 192.168.1.103.3576 > w.netfirms.com.smtp: S 3374956072:3374956072(0) win 5840 <mss 1460,sackOK,timestamp 2316449 0,nop,wscale 0> (DF) [tos 0x10]

(etc...)

4 packets received by filter
0 packets dropped by kernel
 
Old 06-15-2003, 02:37 PM   #9
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
Something is configured to drop your packets (firewall) in between you and that host. You would otherwise expect either an ACK (if all OK) or a RST packet (if the host was up but the port was closed).

Can you ping the server? I get :

PING w.netfirms.com (209.171.43.26) 56(84) bytes of data.
From w.netfirms.com (209.171.43.26) icmp_seq=1 Destination Net Unreachable
From w.netfirms.com (209.171.43.26) icmp_seq=2 Destination Net Unreachable
From w.netfirms.com (209.171.43.26) icmp_seq=3 Destination Net Unreachable
From w.netfirms.com (209.171.43.26) icmp_seq=4 Destination Net Unreachable

--- w.netfirms.com ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3029ms


Also when I look at what SMTP servers are authoritative for your domain, that's not one of them:

dig w.netfirms.com

; <<>> DiG 9.2.1 <<>> w.netfirms.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46929
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;w.netfirms.com. IN A

;; ANSWER SECTION:
w.netfirms.com. 86376 IN A 209.171.43.26

;; AUTHORITY SECTION:
netfirms.com. 259176 IN NS ns1.netfirms.com.
netfirms.com. 259176 IN NS ns2.netfirms.com.

;; Query time: 246 msec
;; SERVER: 213.1.119.99#53(213.1.119.99)
;; WHEN: Sun Jun 15 20:31:58 2003
;; MSG SIZE rcvd: 84

nslookup -silent
> server ns1.netfirms.com
Default server: ns1.netfirms.com
Address: 209.171.43.30#53
> set type=mx
> netfirms.com
Server: ns1.netfirms.com
Address: 209.171.43.30#53

netfirms.com mail exchanger = 10 mh.netfirms.com.
netfirms.com mail exchanger = 20 m0.netfirms.com.
> set type=a
> mh.netfirms.com
Server: ns1.netfirms.com
Address: 209.171.43.30#53

Name: mh.netfirms.com
Address: 216.208.35.70
>

This suggests to me that your SMTP servers for the netfirms.com domain are mh.netfirms.com with m0.netfirms.com as the secondary backup. Trying this I get:

telnet mh.netfirms.com 25
Trying 216.208.35.70...
Connected to mh.netfirms.com.
Escape character is '^]'.
220 mh.netfirms.com ESMTP

...which looks fine to me.

Flibble
 
Old 06-15-2003, 03:03 PM   #10
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
I get this:

Quote:
bash-2.05b$ telnet mh.netfirms.com 25
Trying 216.208.35.70...

...

...

...
Nothing The same thing with my other POP3 account (hotpop.com)
 
Old 06-15-2003, 03:04 PM   #11
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Im thinking, maybe something was changed in my firewall...could i open a port or something to fix this?
 
Old 06-15-2003, 04:44 PM   #12
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
What firewall are you running, I assumed it was iptables?

Flibble
 
Old 06-15-2003, 05:25 PM   #13
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
No, I think i just have my routers firewall and thats it.
 
Old 06-16-2003, 01:07 AM   #14
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
Ah!

What kind of router is it?

If its a Cisco then I can definately help you out, if not then try posting the (sanitised!) config and I'll see what I can do.


Flibble
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Evolution with multiple SMTP servers theufman Linux - Software 1 01-13-2006 05:15 AM
POP3 and SMTP Servers fakie_flip Linux - Networking 1 09-20-2005 11:42 AM
Exim4 SMTP command timeout (some servers) KurtAKARebuild Linux - Networking 7 04-20-2005 08:13 AM
Email clients wont work unless dig smtp, pop servers rcz Linux - Networking 0 11-19-2004 05:13 AM
SMTP POP3 Servers Nezar Linux - Networking 1 03-19-2002 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:21 AM.

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