How To Block Email Using Subject Headers In Postfix

Author: , December 7th, 2021

I needed to block email based on the Subject header. The solution is simple: Edit main.cf as root and uncomment or add:

Next, creaate or edit /etc/postfix/header_checks as root and add the following line:

Finally, run sudo postfix reload NOTE: Do NOT add the “i” after the regular expression! It is case-insensitive by […]

How To Block Spam Text Messages On Your AT&T iPhone

Author: , December 29th, 2011

If the spam comes from an actual phone number you can report the number directly to AT&T… Tap and hold the body of the text message, then choose Copy. Create a new text message to 7726 (SPAM on the keypad). Paste in the spam message you just copied and send it.Note: Sending this message won’t […]

How To Block/Reject Email From Or To A Specific Address Using Postfix On CentOS

Author: , June 3rd, 2011

By default, the Postfix SMTP server accepts any sender address. You block email addresses using the sender_access file: