Casbay Knowledge Base

Search our articles or browse by category below

Disable localhost relay Mail

Last updated: September 8, 2022
Estimated reading time: < 1 min

Disable localhost relay Mail

Attention: All VPS or Dedicated Server WHM cPanel  administrators/owners.  
You can disable the local relay message by applying the following settings:

Firstly, Make sure the AntiRelay is Enabled (remove tick) >> Go to WHM >> Service Manager >> AntiRelay >> (make sure its NOT ticked)

Secondly, Navigate to WHM >> Main >> Tweak Settings >> Initial default/catch-all forwarder destination.
  //Set this setting to Bounce / Fail.

Then, Force all mailbox or email users in the server to use SMTP Authentication.
Go to SSH and run following Command. 

/usr/local/cpanel/bin/tailwatchd --disable=Cpanel::TailWatch::Antirelayd
Was this article helpful?
Dislike 2
Previous: Create Email Account
Next: Changing the default forwarding preference in Mozilla Thunderbird
Have questions ? Search our documentations.