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
 
(One intermediate revision by the same user not shown)
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>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>
----1. Log in to cPanel using '''Username''' & '''Password'''. i.e; ''(<nowiki>https://yourdomain.com:2083</nowiki> or <nowiki>https://yourdomain.com/cpanel</nowiki>)''


<big>Enable or Disable Apache Spamassassin</big>
----
'''<big>What are Spam Filters in cPanel?</big>'''
<big>Spam Filters in cPanel use a tool called '''Apache SpamAssassin-'''This tool helps block '''unwanted emails (spam)''' from reaching your inbox.</big>


2. Navigate to '''Email → Spam Filters'''.
* <big>You can choose what happens to spam emails:</big>
** <big>Send them to a special '''Spam folder''' (Spam Box).</big>
** <big>Or '''delete them automatically''' from the server.</big>


----<big>'''How Apache SpamAssassin Works'''</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.
* <big>It checks each incoming email and gives it a '''spam score'''.</big>
* <big>The higher the score, the more likely the email is spam.</big>
* <big>You can set a limit (threshold).</big>
** <big>Example: If you set the limit to '''5''', then all emails with a spam score of '''5 or more''' will be marked as spam or deleted (based on your settings).</big>


You can manage the threshold by clicking on '''Spam Threshold Score (5)'''.
---- <big>'''Enable or Disable Apache SpamAssassin (Easy Steps)'''</big>


Select the new '''Threshold Score →''' Click on '''Update Scoring Options'''.
# <big>Log in to '''cPanel'''.</big>
# <big>Search for '''Spam Filters''' (under the Email section).</big>
# <big>Click to '''Enable Apache SpamAssassin''' (if it’s off).</big>


4. If you want to delete Spam Emails with more than a Spam Threshold score, enable '''Automatically Delete New Spam (Auto-Delete)'''.
----


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>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>


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.
[[File:Sp1.png|center|thumb|600x600px]]


''For example'', let us add abs@kh-demo.com in whitelist. Click on '''Edit Spam Whitelist Settings'''.


Now click on '''Add a New Item in “whitelist_from” item''' '''→''' Click on '''Update Whitelist''' '''(whitelist_from''').
<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>


6. Also, you can configure the custom Spam Score Settings as per available parameters from Calculated Spam Score Settings.
[[File:Ath5.png|center|thumb|600x600px]]
 
 
<big>Setup Spam AutoDelete</big>
 
<big>To setup Spam AutoDelete, follow these steps −</big>
 
<big>'''Step 1''' − Find Filter options in Apache Spamassassin Interface.</big>
 
 
[[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>

Latest revision as of 07:45, 5 September 2025

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


What are Spam Filters in cPanel? Spam Filters in cPanel use a tool called Apache SpamAssassin-This tool helps block unwanted emails (spam) from reaching your inbox.

  • You can choose what happens to spam emails:
    • Send them to a special Spam folder (Spam Box).
    • Or delete them automatically from the server.

How Apache SpamAssassin Works

  • It checks each incoming email and gives it a spam score.
  • The higher the score, the more likely the email is spam.
  • You can set a limit (threshold).
    • Example: If you set the limit to 5, then all emails with a spam score of 5 or more will be marked as spam or deleted (based on your settings).

Enable or Disable Apache SpamAssassin (Easy Steps)

  1. Log in to cPanel.
  2. Search for Spam Filters (under the Email section).
  3. Click to Enable Apache SpamAssassin (if it’s off).

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