theret79
asked on
Email and FTP down
Hello,
Last Friday in the afternoon the ablility to receive email out externally errored out. I didn't change anything I was just unable to receive messages after a certain time frame. I was still able to send internally though. Through many trial and errors, I am now unable to send or receive email from anywhere. I first removed the port forwards for POP3 and SMTP and reentered them, this has caused me not to be able to connect to ports 25 or 110. I use the command telnet mail.domainname.com 25 and I get the Could not open a connection to the host. Our satelllite site is also unable to FTP anything too us. Any help is much appreciated.
Thanks
Last Friday in the afternoon the ablility to receive email out externally errored out. I didn't change anything I was just unable to receive messages after a certain time frame. I was still able to send internally though. Through many trial and errors, I am now unable to send or receive email from anywhere. I first removed the port forwards for POP3 and SMTP and reentered them, this has caused me not to be able to connect to ports 25 or 110. I use the command telnet mail.domainname.com 25 and I get the Could not open a connection to the host. Our satelllite site is also unable to FTP anything too us. Any help is much appreciated.
Thanks
Obviously there is a problem but based on what little you're said, it would be difficult to do anything but guess...
TRy this from outside your network.(Maybe from your house, or dialup internet connection)
telnet mail.domainname.com 25
telnet ftp.server.com 21
telnet mail.domainname.com 110
If you can access these, your router is fine.
If not, the your port forwarding is not working.
Just to be very sure, try all the above command from within the network as well.
If you can do it from within the network and not from outside, then problem is caused by router/Firewall.
If you can't even access from within the network then check the services on the Server.
telnet mail.domainname.com 25
telnet ftp.server.com 21
telnet mail.domainname.com 110
If you can access these, your router is fine.
If not, the your port forwarding is not working.
Just to be very sure, try all the above command from within the network as well.
If you can do it from within the network and not from outside, then problem is caused by router/Firewall.
If you can't even access from within the network then check the services on the Server.
ASKER
I tried doing all of those from internally and externally and no go. I am able to RDP in and PcAnywhere in, but no email and no FTP's are getting through. What services on the Server could be stopping this?
Ok, If its exchange then you need to check SMTP service is running or not.
Check if POP3 service is running or not.
To check the services,
Run->services.msc
Locate SMTP Server service and Exchange POP3 Service.
Check if POP3 service is running or not.
To check the services,
Run->services.msc
Locate SMTP Server service and Exchange POP3 Service.
ASKER
unfortunately it is Linux Sendmail. And the POP3 service is running, Do you know how to check the SMTP service on Sendmail?
See, if your Sendmail MTA is running.
Its listed with name procmail in the running process list.
use "top" for the process list.
Its listed with name procmail in the running process list.
use "top" for the process list.
ASKER
procmail is not listed in the process list. What is the process for POP3? I might be mistaken as to whether it is running also.
ASKER
sendmail is running for sure I saw it in the listing.
Do you see something in the logs.
ASKER
No I don't see anything in the logs
What do you get when you type:
sendmail -bd
Does it show some errors.
sendmail -bd
Does it show some errors.
ASKER
no errors
OK, now if you do
telnet 127.0.0.1 25
does it show you something.
telnet 127.0.0.1 25
does it show you something.
ASKER
It connected on the mail server, but on the PC and Domain controller no connection.
Then someone must have enabled firewall on your linux box.
See, if you are using IPchains.
What rules are configured.
See, if you are using IPchains.
What rules are configured.
ASKER
how do I see if IPchains is running? Do I use top again? Sorry about this I am new to using Linux.
Ok, just write
iptables
this will print all the rules.
iptables
this will print all the rules.
ASKER
it says iptbables v1.2.3: no command specified.
Yes,
You need to type
iptables -L
This will list all the rules.
You need to type
iptables -L
This will list all the rules.
ASKER
/lib/modules/2.4.7-10/kern el/net/ipv 4/netfilte r/ip_table s.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.7-10/kern el/net/ipv 4/netfilte r/ip_table s.o: insmod /lib/modules/2.4.7-10/kern el/net/ipv 4/netfilte r/ip_table s.o failed
/lib/modules/2.4.7-10/kern el/net/ipv 4/netfilte r/ip_table s.o: insmod ip_tables failed
iptables v1.2.3: can't initialize iptables table 'filter' : iptables who?
Perhaps iptables or your kernel needs to be upgraded
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.7-10/kern
/lib/modules/2.4.7-10/kern
iptables v1.2.3: can't initialize iptables table 'filter' : iptables who?
Perhaps iptables or your kernel needs to be upgraded
use ps -x command to list the all running processes.
To diable iptables completly use this command.
chkconfig --level 1235 iptables off
This will disable iptables from being started at startup.
Don't use this if your linux machine is sitting on internet without any network firewall.
To diable iptables completly use this command.
chkconfig --level 1235 iptables off
This will disable iptables from being started at startup.
Don't use this if your linux machine is sitting on internet without any network firewall.
So, iptables is not running.
perhaps some other firewall is running on your linux server.
Because if you can access port 25 from local machine and not from any other machine on the server. This points to a local firewall running on the machine.
Use ps -x to list all the running processes.
The firewall could be IPchains/NetFilter etc.
perhaps some other firewall is running on your linux server.
Because if you can access port 25 from local machine and not from any other machine on the server. This points to a local firewall running on the machine.
Use ps -x to list all the running processes.
The firewall could be IPchains/NetFilter etc.
ASKER
I don't show IPchains running, It says sendmail is accepting connections though
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It works you are a life saver I don't know what was holding it up but you did it.
I think it was IPTables.