blog

Ubuntu UFW script to block failed auth attempts

Posted on

I whipped this up (and it’s not sexy) to block failed authentication attempts on a few POSTFIX servers I manage.  I might use fail2ban if things get out of hand but currently the server just has UFW (Uncomplicated FireWall) that’s built into the Ubuntu OS. #!/bin/bash # Get all the authentication failures from the mail […]

blog

TLD blocking in POSTFIX MTA

Posted on

I was looking at how how I might block TLD’s (Top Level Domains) with the POSTFIX MTA and I couldn’t do it using a pcre table – most of the stuff I found used pcre.  When I did an apt-get to install it on my Ubuntu Mail Server it wanted to uninstall and upgrade a […]