Question

How do I get mailutils working properly?

Posted May 22, 2014 3.3k views
Using this guide here I installed tripwire: https://www.digitalocean.com/community/articles/how-to-use-tripwire-to-detect-server-intrusions-on-an-ubuntu-vps During this guide there's a section where you install mailutils and you're suppose to send an email to test both that tripwire and mailutils is working. However even after configuring my iptables to allow port 25 for SMTP I receive no emails at my email from the VPS. I've setup iptables, and fail2ban using digitalocean tutorials. My iptables look like this: -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -N fail2ban-ssh -A INPUT -p tcp -m multiport --dports 8080 -j fail2ban-ssh -A INPUT -i lo -j ACCEPT -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT -A INPUT -p tcp -m tcp --dport 25 -j ACCEPT -A INPUT -j DROP -A fail2ban-ssh -j RETURN

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers
DigitalOcean blocks port 25 to prevent abuse, open a ticket with support and they should be able to open it for you.
Submit an Answer