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 12-08-2004, 11:54 AM   #1
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Rep: Reputation: 15
Angry MX record probelm connection died.(#4.4.2)


Hi


I am using RH 9.0 ..Last few days I am going on problem on MX record...I did not get mail from another domain...for that I have changed my host name or MX record a lot of times...but still I am going problem...now I have got the follwoing error if I send my to my domain from yahoo..


"......Connected to 202.59.221.2 but connection died. (#4.4.2)
I'm not going to try again; this message has been in the queue too
long......"


PLz help me.....


ZIM
 
Old 12-08-2004, 12:22 PM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
Re: MX record probelm connection died.(#4.4.2)

Quote:
Originally posted by AZIMBD03

"......Connected to 202.59.221.2 but connection died. (#4.4.2)
I'm not going to try again; this message has been in the queue too
long......"
yahoo can find your mail server ip so it is not a MX record trouble.
it seems that u have a connection trouble or something wrong with your mail server configuration.


btw: if u want more help u must tell us about your distro, network structure, mail server software and other details which can help us to identify the source of your trouble. dont forget to check mail and system logs.

good luck.
 
Old 12-09-2004, 10:25 AM   #3
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Original Poster
Rep: Reputation: 15
oh yes I have found out the problem...But I am looking for the sloution from you


I am using follwoing firewall for my server....when I start that firewall...the I can't recieve any mail from other domain..but when I stop the iptables then...mail is recieved....plz help me to get rid of that problem....plz

the /etc/rc.d/rc.firewall file:

iptables -t nat -F PREROUTING
iptables -t nat -F POSTROUTING
iptables -F OUTPUT
iptables -F FORWARD
iptables -F INPUT

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -P FORWARD DROP
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -t nat -P POSTROUTING ACCEPT
iptables -t nat -P PREROUTING ACCEPT

iptables -A INPUT -i eth1 -p TCP --destination-port 8080 -j ACCEPT
iptables -A INPUT -i eth0 -p TCP --destination-port 8080 -j ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -i eth1 -s 192.168.115.20/32 -d 0/0 -j ACCEPT
iptables -A INPUT -i eth1 -s 192.168.115.21/32 -d 0/0 -j ACCEPT
iptables -A INPUT -i eth1 -s 192.168.115.22/32 -d 0/0 -j ACCEPT
iptables -A INPUT -i eth1 -s 192.168.115.30/32 -d 0/0 -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth1 -s 192.168.115.20/32 -d 0/0 -j ACCEPT
iptables -A FORWARD -i eth1 -s 192.168.115.21/32 -d 0/0 -j ACCEPT
iptables -A FORWARD -i eth1 -s 192.168.115.22/32 -d 0/0 -j ACCEPT
iptables -A FORWARD -i eth1 -s 192.168.115.30/32 -d 0/0 -j ACCEPT

iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

N.B N.B 192.168.115.....is my LAN IP Series....

ZIM



 
Old 12-09-2004, 11:11 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
open the pop3 and smtp ports. the following will do that.
iptables -A INPUT -p tcp -m multiport --dport 25,110 -j ACCEPT

good luck.
 
Old 12-09-2004, 11:27 AM   #5
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Original Poster
Rep: Reputation: 15
oh u r really boss.....thanks a lot


 
  


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
internet connection probelm softnetworks Linux - Networking 0 11-06-2004 05:09 PM
internet connection probelm softnetworks Linux - Networking 0 11-05-2004 05:50 PM
internet connection probelm softnetworks Linux - Software 1 10-26-2004 09:30 PM
Network connection suddenly died KingofBLASH Linux - Networking 1 01-02-2004 11:41 AM
connection died unexpected jamaso Linux - Newbie 2 11-11-2001 06:26 PM

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

All times are GMT -5. The time now is 06:14 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