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
theret79Asked:
Who is Participating?
 
prashsaxConnect With a Mentor Commented:
Is it accepting connection on port 25 from other servers in your network now.






0
 
jhanceCommented:
Obviously there is a problem but based on what little you're said, it would be difficult to do anything but guess...
0
 
prashsaxCommented:
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.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
theret79Author Commented:
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?  
0
 
prashsaxCommented:
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.
0
 
theret79Author Commented:
unfortunately it is Linux Sendmail.  And the POP3 service is running, Do you know how to check the SMTP service on Sendmail?
0
 
prashsaxCommented:
See, if your Sendmail MTA is running.

Its listed with name procmail in the running process list.


use "top" for the process list.

0
 
theret79Author Commented:
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.
0
 
theret79Author Commented:
sendmail is running for sure I saw it in the listing.  
0
 
prashsaxCommented:
Do you see something in the logs.
0
 
theret79Author Commented:
No I don't see anything in the logs
0
 
prashsaxCommented:
What do you get when you type:

sendmail -bd

Does it show some errors.
0
 
theret79Author Commented:
no errors
0
 
prashsaxCommented:
OK, now if you do

telnet 127.0.0.1 25

does it show you something.
0
 
theret79Author Commented:
It connected on the mail server, but on the PC and Domain controller no connection.
0
 
prashsaxCommented:
Then someone must have enabled firewall on your linux box.

See, if you are using IPchains.

What rules are configured.
0
 
theret79Author Commented:
how do I see if IPchains is running?  Do I use top again?  Sorry about this I am new to using Linux.
0
 
prashsaxCommented:
Ok, just write

iptables

this will print all the rules.


0
 
theret79Author Commented:
it says iptbables v1.2.3: no command specified.
0
 
prashsaxCommented:
Yes,

You need to type

iptables -L

This will list all the rules.
0
 
theret79Author Commented:
/lib/modules/2.4.7-10/kernel/net/ipv4/netfilter/ip_tables.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/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.7-10/kernel/net/ipv4/netfilter/ip_tables.o failed

/lib/modules/2.4.7-10/kernel/net/ipv4/netfilter/ip_tables.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

0
 
prashsaxCommented:
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.
0
 
prashsaxCommented:
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.
0
 
theret79Author Commented:
I don't show IPchains running, It says sendmail is accepting connections though
0
 
theret79Author Commented:
It works you are a life saver I don't know what was holding it up but you did it.
0
 
prashsaxCommented:
I think it was IPTables.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.