Eric Toll wrote: <snip>
Create this file: /etc/postfix/helo_hostnames.map
$domain 554 Liar Liar pants on Fire: (Nose is long as a telephone wire)
localhost 554 Liar Liar pants on Fire: (Nose is long as a telephone wire) localdomain 554 Liar Liar pants on Fire: (Nose is long as a telephone wire) localhost.localdomain 554 Liar Liar pants on Fire: (Nose is long as a telephone wire) 123.123.123.123 554 Liar Liar pants on Fire - Tho Shall not LIE, you have just broken one of the 10 Commandments, was it really worth eternal damnation to send an email?
mx.mydomain.edu 554 Liar Liar pants on Fire: (Nose is long as a telephone wire)
Postmap this file: /etc/postfix/helo_hostnames.map and in main.cf:
smtpd_recipient_restrictions = ... check_helo_access hash:/etc/postfix/helo_hostnames.map, ...
Thank you, added this to my setup. Tested it too, seems to work nicely. Hopefully will stop more spam.
