Block-junk/spam-emails: Difference between revisions

From LHYcloud Docs
Jump to navigation Jump to search
(Created page with "cPanel Spam Filters are powered by Apache SpamAssassin™; as per the configuration of Email Filters, you can set up the action taken if the configured condition gets true. In the Spam Filters, you can either categorize the received email in a separate Spam Box or automatically delete the email from the server. ----1. Log in to cPanel using '''Username''' & '''Password'''. i.e; ''(<nowiki>https://yourdomain.com:2083</nowiki> or <nowiki>https://yourdomain.com/cpanel</nowi...")
 
No edit summary
Line 1: Line 1:
cPanel Spam Filters are powered by Apache SpamAssassin™; as per the configuration of Email Filters, you can set up the action taken if the configured condition gets true. In the Spam Filters, you can either categorize the received email in a separate Spam Box or automatically delete the email from the server.
<big>cPanel Spam Filters are powered by Apache SpamAssassin™; as per the configuration of Email Filters, you can set up the action taken if the configured condition gets true. In the Spam Filters, you can either categorize the received email in a separate Spam Box or automatically delete the email from the server.</big>
----1. Log in to cPanel using '''Username''' & '''Password'''. i.e; ''(<nowiki>https://yourdomain.com:2083</nowiki> or <nowiki>https://yourdomain.com/cpanel</nowiki>)''
----<big>Apache Spamassassin is a software integrated into the cPanel, which helps to prevent getting spam messages in your mailbox. It helps in preventing your mail box to get flooded with spam messages. When Apache Spamassassin is enabled, it rates every message by a spam score. You can choose the spam emails to auto delete according to spam score. If you choose auto spam deletion with spam score of 5, then all emails having 5 or more spam score will be deleted automatically.</big>


<big>Enable or Disable Apache Spamassassin</big>


2. Navigate to '''Email → Spam Filters'''.
<big>To enable Apache Spamassassin, use the following steps −</big>


<big>'''Step 1''' − Click on Apache Spamassassin link found under the Email section of cPanel Home.</big>


3. First, '''enable''' the option “'''Process New Emails and Mark them as Spam'''” and “'''Move New Spam to a Separate Folder (Spam Box)'''“. By default, the '''spam score threshold''' is set as '''5''', every email of cPanel account receives will get scanned, and if the spam score exceeds the threshold spam score, i.e. 5, that email will mark as Spam and moved to Spam Box/Junk.
[[File:Sp1.png|center|thumb|600x600px]]


You can manage the threshold by clicking on '''Spam Threshold Score (5)'''.


Select the new '''Threshold Score →''' Click on '''Update Scoring Options'''.
<big>'''Step 2''' − If Apache Spamassassin is currently disabled, then you can enable it by clicking Enable Apache Spamassassin. If it is already enabled, you can disable it by clicking Disable Apache Spamassassin.</big>


4. If you want to delete Spam Emails with more than a Spam Threshold score, enable '''Automatically Delete New Spam (Auto-Delete)'''.
[[File:Ath5.png|center|thumb|600x600px]]


You can manage the auto delete threshold by clicking on '''Spam Threshold Score (5)'''.


Select the new '''Auto Delete Threshold Score →''' Click on '''Update Auto Delete Score'''.
<big>Setup Spam AutoDelete</big>


5. In '''Additional Configurations (For Advanced Users)''', you can find options to whitelist and blacklist sender emails. All the emails added in Whitelist will surpass the Email Filters, and all the emails added under Blacklist will be marked as Spam.
<big>To setup Spam AutoDelete, follow these steps −</big>


''For example'', let us add abs@kh-demo.com in whitelist. Click on '''Edit Spam Whitelist Settings'''.
<big>'''Step 1''' − Find Filter options in Apache Spamassassin Interface.</big>


Now click on '''Add a New Item in “whitelist_from” item''' '''→''' Click on '''Update Whitelist''' '''(whitelist_from''').


6. Also, you can configure the custom Spam Score Settings as per available parameters from Calculated Spam Score Settings.
[[File:Sp3.png|center|thumb|600x600px]]
 
 
<big>'''Step 2''' − Select Spam score from dropdown between1 to 10. Lower score is stricter, while higher score is more permissive. This means score 1 will filter many emails and will delete most of the emails you receive and score 10 will allow more emails to pass through the filter.</big>
 
<big>'''Step 3''' − Click AutoDelete Spam to enable automatic spam deletion based of your chosen score.</big>
 
<big>To disable automatic spam deletion, click Disable AutoDelete Spam.</big>
 
<big>Print Page</big>

Revision as of 09:19, 3 September 2025

cPanel Spam Filters are powered by Apache SpamAssassin™; as per the configuration of Email Filters, you can set up the action taken if the configured condition gets true. In the Spam Filters, you can either categorize the received email in a separate Spam Box or automatically delete the email from the server.


Apache Spamassassin is a software integrated into the cPanel, which helps to prevent getting spam messages in your mailbox. It helps in preventing your mail box to get flooded with spam messages. When Apache Spamassassin is enabled, it rates every message by a spam score. You can choose the spam emails to auto delete according to spam score. If you choose auto spam deletion with spam score of 5, then all emails having 5 or more spam score will be deleted automatically.

Enable or Disable Apache Spamassassin

To enable Apache Spamassassin, use the following steps −

Step 1 − Click on Apache Spamassassin link found under the Email section of cPanel Home.

Sp1.png


Step 2 − If Apache Spamassassin is currently disabled, then you can enable it by clicking Enable Apache Spamassassin. If it is already enabled, you can disable it by clicking Disable Apache Spamassassin.

Ath5.png


Setup Spam AutoDelete

To setup Spam AutoDelete, follow these steps −

Step 1 − Find Filter options in Apache Spamassassin Interface.


Sp3.png


Step 2 − Select Spam score from dropdown between1 to 10. Lower score is stricter, while higher score is more permissive. This means score 1 will filter many emails and will delete most of the emails you receive and score 10 will allow more emails to pass through the filter.

Step 3 − Click AutoDelete Spam to enable automatic spam deletion based of your chosen score.

To disable automatic spam deletion, click Disable AutoDelete Spam.

Print Page