Xymon email alert not working
I am trying to install and test Xymon monitoring tools on 4 of my servers.. already installed successfully and monitoring are fine.. but alerts wont send tru emails.. i tried to send test emails but cant get it work… can i ask if port 25 is blocked? or sending emails is not allowed?
2 Replies
I'm sorry to hear that you are having some trouble getting email alerts for Xymon to work. I'd be happy to help point you in the right direction.
We do not block an of our customer's ports unless there is a Terms of Service violation, at which point we would have been in communication with you. That being said, you may need to open port 25. You can check the status of your server's listening services, and to see if port 25 is open, by running sudo netstat -plunt
from within the machine or nmap -p 25 <ip address>
from another server.
If you find that port 25 is filtered
or closed
, then you can use iptables to help create a firewall rule that will open it. Something like this should work:
sudo iptables -p tcp -A OUTPUT --dport 25 -m state --state NEW,ESTABLISHED -j ACCEPT
But make sure to deploy the rules and set them to persist a reboot. This is all explain in the above linked guide.
Also, make sure to double check the Xymon configuration file, ~/server/etc/alerts.cfg
against their alert configuration guide.
I hope this helps! Please, feel free to ask any additional question by replying to this post for the benefit of the Community!
We wanted to update this post with a link about our policy regarding mail server ports for new Linode customers. You can find more information about this in the below Community site post.
I just created my first Linode and I can't send emails. Why?