Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

Monitoring tools are not monitoring smtp

I have a weird problem which is not monitoring smtp service that is running on linux box.

The problem is if i configure any monitoring tools like sitescope and any free websites like...http://mon.itor.us/

is showing smtp is failed even it is running in the Linux box ..

what will it be the problem? Please assist me
0
jaisonshereen
Asked:
jaisonshereen
  • 4
  • 3
2 Solutions
 
Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
A firewall?
0
 
jaisonshereenAuthor Commented:
yes..but my firewall configuration seems like it is accepting smtp port 25 .
Please verify from your side:

[root@Server01 sysconfig]# cat iptables
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.xx.0.xx -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 25 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
#-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
[root@Server01 sysconfig]#
0
 
Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
I would think the reject rule has to come before the accept rules ? ..
0
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

 
Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
Sorry i was wrong.
0
 
Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
Does your box have a public ip or is it behing a NAT?
0
 
jaisonshereenAuthor Commented:
yes my box having public ip. That is what i put for monitoring.
I dont know about NAT
0
 
dineeshCommented:
hi,

do you have an idea on how the http://mon.itor.us/ is testing your server.

if you have another linux box try nmap <public ip> and if the monitoring site is doing a ping test, then ICMP must be enabled.

alternatly you can stop the firwall for 10 mins and then test, then you will know if its the firewall or anyother issue.

do remember to activate the firewall after  the test.

0
 
jaisonshereenAuthor Commented:
i took another linux system . stop iptables and checked the smtp settings in monitoting tool.
Its getting same error !!
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.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now