Postfix Empty Mail Queue | To empty / clear / delete the Postfix mail queue, simply issue this command: $ sudo postsuper -d ALL The output will look similar to this: $ sudo postsuper -d ALL postsuper: Deleted: 4 messages That’s it!
Prevent Postfix Brute Force
Prevent Postfix Brute Force | An often used attack vector is brute forcing MTA logins. While most admins watch ssh auth logs like a hawk, email auth/login logs are most often not closely watched for this sort of thing if at all. I’ll show you one way to easily prevent a Postfix brute force attack! This how-to focuses on fail2ban
Centos Switch MTA to Postfix
Centos Switch MTA to Postfix | How do I switch the MTA in Centos from Sendmail to postfix? Install postfix and the switch mail package: # yum install postfix system-switch-mail Then run: # system-switch-mail Choose postfix Done! [Note: As of Red Hat 6 (and Centos 6 when available) postfix is the default MTA.]
