LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   MX record probelm connection died.(#4.4.2) (https://www.linuxquestions.org/questions/linux-networking-3/mx-record-probelm-connection-died-4-4-2-a-264075/)

AZIMBD03 12-08-2004 11:54 AM

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
:o

maxut 12-08-2004 12:22 PM

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.

AZIMBD03 12-09-2004 10:25 AM

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



:o :o

maxut 12-09-2004 11:11 AM

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.

AZIMBD03 12-09-2004 11:27 AM

oh u r really boss.....thanks a lot


:tisk: :Pengy:


All times are GMT -5. The time now is 01:54 PM.