cPanel Email Tips

A couple of things we’ve had to do in the past with regards to mail on a cPanel server have come in very handy.

Block An Email Address Sending to Server, Server Wide.

There is the option within the cPanel interface to block an email address from sending to a specific address, but if you would like to block this from sending to anyone on the server you can do this with the below instructions:

Edit the file: /etc/cpanel_exim_system_filter, and add the following lines, with the email address being placed where “” is.

if $header_from: contains “”
fail text “This message has been rejected”
seen finish

Check Where Mail Is Being Delivered For A Domain, Local or Remote Server

This will show whether mail will be sent externally (transport = remote_smtp) and locally (router = virtual_sa_user)

exim -bt

This entry was posted in Managed Hosting. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>