Public vs. Private IP Address: What’s the Difference
Every device on a network needs an IP address to communicate with other devices and…
On a cPanel/WHM server, outgoing email should normally require SMTP authentication. That means users must sign in with their email address and password before the server allows them to send mail. Older setups sometimes used POP-before-SMTP. With that method, a user who logged in through POP or IMAP could send mail for a short time without authenticating again over SMTP. This is less secure because it can allow temporary relay access from that IP address. The better approach is to keep POP-before-SMTP disabled and require proper SMTP authentication for all outgoing mail.
On modern cPanel servers, this setting is controlled in WHM.
1. Log in to WHM
Sign in as the root user.
2. Open Tweak Settings
Go to Server Configuration → Tweak Settings.
3. Open the Mail section
Click the Mail tab.
4. Find the Pop-before-SMTP option
Look for:
Allow users to relay mail if they use an IP address through which someone has validated an IMAP or POP3 login within the last hour (Pop-before-SMTP)
5. Turn it Off
Set this option to Off.
6. Save the changes
Scroll down and click Save.
Once this is disabled, users should authenticate through SMTP when sending mail, instead of relying on a recent POP/IMAP login.
In most cases, saving the Tweak Settings change is enough. If you want to refresh the mail service after making related changes, restart Exim:
/scripts/restartsrv_exim
To confirm the setup is working:
If the message sends successfully with SMTP authentication enabled, the server is requiring authenticated outbound mail as expected.
Requiring SMTP authentication is one of the simplest ways to protect a cPanel mail server. By keeping POP-before-SMTP turned off in WHM Tweak Settings, you help ensure that only authorized users can send mail through the server.
If you need help checking mail settings or testing authentication on your server, contact bodHOST support for assistance.
Learn more in the knowledge base: How To Force SMTP Authentication In cPanel
Explore more hosting insights, tips and industry updates.
Every device on a network needs an IP address to communicate with other devices and…
With hosted solutions, Zimbra allows all companies to have a collaborative system for sharing, mail,…
What is a VLAN?VLAN stands for Virtual Local Area Network. Technically, VLAN or virtual LAN…