Difference between revisions of "Spam Control"

From WHMCS Documentation

m (Blocking Keywords or Phrases)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
On the Internet these days, spam is a big problem so WHMCS comes with spam control filters for trying to reduce the amount of spam you receive. The spam control features will allow you to block email address, and keywords or phrases which appear in either the messages subject or body.
+
Spam can become a big problem. WHMCS comes with spam control filters to reduce the amount of spam you receive. The spam control features will allow you to block email address and keywords or phrases that appear in either the message subject or body. which pipe into the ticket system from email.  
  
==Adding a Blocked Email Address==
+
You can access this feature at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > Spam Control''' or, prior to WHMCS 8.0, '''Setup > Support > Spam Control'''.
  
There are two ways to block an email address from opening tickets.  The first is the easiest and that is when viewing a ticket from the email you want to block, simply click the "Block Sender" button next to the ticket openers details.
+
* Messages that you receive via the contact or submit ticket pages are not subject to these spam controls. For those, we recommend [[Security_Tab#Captcha_Form_Protection|using reCaptcha]].
 +
* You can also block an email address from opening tickets by clicking '''Block Sender''' while viewing a ticket from the email that you want to block.
  
The second method involves going to '''Setup > Support > Spam Control''' and using the Add box there to enter the email you want to block and then submit the form to add it.
+
==Blocking Keywords or Phrases==
  
==Blocking Keywords or Phrases==
+
To set up keywords or phrases that will prevent the email from opening a ticket, enter the words or phrases and choose where the system looks for them (either the subject or body of the message). If, for example, the system finds those words or phrases in the email subject or if the blocked phrase is in the email body, WHMCS will not open the ticket.
  
To setup keywords or phrases which if found in an email will prevent it opening a ticket, go to '''Setup > Support > Spam Control'''.  You can then enter the words or phrases and choose the place they will be looked for - either the subject or body of the message.
+
This feature is not case-sensitive.
  
 
== Further Protection ==
 
== Further Protection ==
 +
 +
=== Apache SpamAssassin™ ===
 +
 +
Outside of WHMCS, you can combat the number of spam emails you are receiving by enabling [http://spamassassin.apache.org/ Apache SpamAssassin].  This tool can detect most spam using its rule-based system and worldwide database of spam messages.
 +
 +
If you have configured your anti-spam system to add a prefix to the email's subject, you can use the '''Spam Control''' feature to block those emails.
 +
 +
To do this:
 +
 +
# Set '''Type''' to ''Subject''.
 +
# Enter the text that your anti-spam system adds. For example, if it adds <tt>**SPAM**</tt> to the subject, enter that text as the value.
 +
# Click '''Add New Spam Control'''.
 +
 +
The system will now block imports of any email containing the text in the subject.
 +
 
=== Obscure Addresses ===
 
=== Obscure Addresses ===
If you use more common email addresses (especially hosting companies) such as support@, contact@ ETC. you will tend to receive more spam due to spammers blindly emailing these addresses on several domains. If you use less common addresses you may find your level of incoming spam reduced.
 
E.G.
 
* helpme@yourdomain
 
* support-team@yourdomain
 
* assistance@yourdomain
 
  
=== SpamAssassin ===
+
If you use common email addresses (especially hosting companies) like <tt>support@</tt> or <tt>contact@</tt>, you will receive more spam. This is due to spammers blindly emailing these addresses on several domains. If you use less-common addresses, it may reduce your level of incoming spam.
Something which you can do outside of WHMCS to help combat the number of spam emails you are receiving is enable SpamAssassin. This is a great tool and does a very good job of picking up most spam using it's rule based system and worldwide database of spam messages. For more information, see http://spamassassin.apache.org/
+
 
 +
For example:
 +
 
 +
helpme@yourdomain
 +
support-team@yourdomain
 +
assistance@yourdomain

Latest revision as of 13:46, 5 May 2022

Spam can become a big problem. WHMCS comes with spam control filters to reduce the amount of spam you receive. The spam control features will allow you to block email address and keywords or phrases that appear in either the message subject or body. which pipe into the ticket system from email.

You can access this feature at Configuration () > System Settings > Spam Control or, prior to WHMCS 8.0, Setup > Support > Spam Control.

  • Messages that you receive via the contact or submit ticket pages are not subject to these spam controls. For those, we recommend using reCaptcha.
  • You can also block an email address from opening tickets by clicking Block Sender while viewing a ticket from the email that you want to block.

Blocking Keywords or Phrases

To set up keywords or phrases that will prevent the email from opening a ticket, enter the words or phrases and choose where the system looks for them (either the subject or body of the message). If, for example, the system finds those words or phrases in the email subject or if the blocked phrase is in the email body, WHMCS will not open the ticket.

This feature is not case-sensitive.

Further Protection

Apache SpamAssassin™

Outside of WHMCS, you can combat the number of spam emails you are receiving by enabling Apache SpamAssassin. This tool can detect most spam using its rule-based system and worldwide database of spam messages.

If you have configured your anti-spam system to add a prefix to the email's subject, you can use the Spam Control feature to block those emails.

To do this:

  1. Set Type to Subject.
  2. Enter the text that your anti-spam system adds. For example, if it adds **SPAM** to the subject, enter that text as the value.
  3. Click Add New Spam Control.

The system will now block imports of any email containing the text in the subject.

Obscure Addresses

If you use common email addresses (especially hosting companies) like support@ or contact@, you will receive more spam. This is due to spammers blindly emailing these addresses on several domains. If you use less-common addresses, it may reduce your level of incoming spam.

For example:

helpme@yourdomain
support-team@yourdomain
assistance@yourdomain