December 19, 2009

Block emails from a specific domain

Anonymous writes "To block all emails sent from a specific domain:
-go to WHM/Service Configuration/Exim Configuration Editor and switch to Advanced mode
-at begin acl form put:

if $header_from: contains "@domain_name.com"
then
fail text "What message do you want."
seen finish
endif"

No comments:

Post a Comment