Block emails from a specific domain

April 19, 2008 – 10:49 am

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

  1. 1 Trackback(s)

  2. Jun 27, 2010: WAYNE

You must be logged in to post a comment.