Virtuozzo VPS Web Hosting
Virtuozzo VPS Hosting is one of the most widely used platforms for virtualization. Many hosting…
In earlier versions of cPanel/WHM, email sending relied on POP-before-SMTP authentication. This meant a user had to log in through POP3 before being allowed to send emails via SMTP—and the access lasted for about 30 minutes.
However, this method is not very secure and can cause email delivery issues. The recommended approach is to force SMTP authentication for all outgoing emails. This ensures only authorized users can send emails, helping prevent spamming and abuse.
Better Security: Prevents unauthorized mail relay.
Reduced Spam Risk: Stops spammers from using your server without login.
Compliance: Aligns with modern email security standards like SPF, DKIM, and DMARC.
Improved Deliverability: ISPs trust emails sent via authenticated SMTP.
Connect to your cPanel/WHM server as the root user:
ssh root@your-server-ip
Run the following command:
/usr/local/cpanel/bin/tailwatchd –disable=Cpanel::TailWatch::Antirelayd
This disables the old Antirelayd service, which allowed POP-before-SMTP authentication.
Once Antirelayd is disabled, SMTP authentication becomes the default. All users will now need to authenticate with their email credentials before sending mail.
Restart Exim (the mail server used in cPanel) to apply changes:
/scripts/restartsrv_exim
To confirm authentication is working:
Configure your email client (Outlook, Thunderbird, etc.) with your cPanel email credentials.
Ensure “My outgoing server requires authentication” is enabled in settings.
Send a test email. If successful, authentication is enforced.
Forcing SMTP authentication in cPanel enhances your server’s security and ensures only authorized users send mail. By disabling Antirelayd and enabling default SMTP authentication, you can reduce spam risk and improve your email deliverability.
Explore more hosting insights, tips and industry updates.
Virtuozzo VPS Hosting is one of the most widely used platforms for virtualization. Many hosting…
Cloud Computing as a new concept to new users creates a lot of confusion as…
In this post, we will show you how to change your cPanel web host’s hostname.…