Block an email in Postfix

1) Add a line to your main.cf
Code:
header_checks = regexp:/etc/postfix/header_checks
2) Create a new file, /etc/postfix/header_checks
Code:
/addresstoblock@yourdomain\.com/ DISCARD
3) Restart service
/etc/init.d/postfix restart

Leave a Reply