I setup mailgun to forward my emails to gmail. I use gmail aliases to send emails from my domains. Mailgun.com is a free alternative to using google apps.
1.) How do i uninstall postfix? 2.) Will fail2ban still be able to email me if i do uninstall postfix? 3.) Can i remove pop3 110, 995 ports from firewall? 4.) Can i remove imap ports 83, 587 from firewall? 5.) Can i remove SMTP port 25 from firewall? I have a ubuntu 14.04 LEMP server.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi,
1.) How do i uninstall postfix?
You can uninstall Postfix by running:
sudo apt-get remove postfix
2.) Will fail2ban still be able to email me if i do uninstall postfix?
By default, no. fail2ban needs a Mail Transfer Agent such as Postfix in order to send emails.
However, you can disable email notifications and set up a script that sends email alerts through Mailgun whenever a host is banned or unbanned:
3.) Can i remove pop3 110, 995 ports from firewall? 4.) Can i remove imap ports 83, 587 from firewall? 5.) Can i remove SMTP port 25 from firewall?
Once you’ve uninstalled Postfix, yes, you can safely remove them. To make sure that they are not used anymore, run the following command which lists all open/active ports along with the processes that are bound to them:
sudo netstat -plutn
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.