There was a problem loading the comments.

How To Stop Incoming Spam With Greylisting In WHM

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Greylisting is a service provided by cPanel/WHM to stop receiving spam and unwanted incoming mails.

On enabling this option, the mail server will temporarily reject all mails from any sender (other than from the trusted mail servers) in the first attempt.

Legitimate sender mail server would retry sending the mail after a short delay which will be checked by the receiving mail server in which Greylisting is enabled and only legit mails are passed through after analyzing triplets.

A triplet consists of the IP address, the sender’s address, and the recipient’s address.

By checking all these three parts, Greylisting tool filters spam emails and allows only legitimate emails to pass through.




To Enable Greylisting

  • Go to WHM >> Email >> Greylisting

    greylist1.png



  • Just click on the ‘On/Off’ toggle and click ‘Save’.


Configuration Settings

Once you enable Greylisting, ‘Configuration Settings’ tab will appear. Enter desired values for each fields and click ‘Save’.




Fields in configuration settings are:

  1. Initial Deferral Period – The number of minutes during which Greylisting defers the received email from an unknown triplet since first email from an unknown IP address is received by the server.

  2. Resend Acceptance Period – The number of minutes during which Greylisting accepts an email resent by the sender since reception of first mail from an unknown IP address.

  3. Record Expiration Time – The number of minutes before Greylisting deletes the triplet record of the sent mail and treats a resent email as though it comes from a new, unknown triplet since reception the first email from an unknown IP address.

  4. Bypass Greylisting for Hosts with Valid SPF Records – If you tick this check box.



Trusted Hosts

You can add the IP addresses of sender mail server in this tab to not defer the incoming mails from this IPs.


To add the IPs, just enter the IP in the field New Trusted Hosts and click on Add button.
greylist3.png



To delete the IPs, just click on the ‘Delete’ button on the right of the required IP from the list of trusted hosts.




Common Mail Providers

In this tab, you can see a list of common mail providers like Outlook, Hotmail etc.

You can select the mail providers from which you want the mails to pass through. So the mails from these providers won’t be deferred.




Reports

This tab shows all the reports regarding Greylisting.

This option is very helpful for VPS and Dedicated server customers running business websites and are only expecting legit incoming emails.

In our shared servers, we are having SpamExperts email filters and external mail relays, so this option is not enabled. 




Share via
Did you find this article useful?  

Related Articles

© ServerFreak Technologies Sdn Bhd