Preventive measures for spamming available in cPanel

There are few simple steps you can follow to minimize the amount of spam you receive to your inbox in Cpanel. The main features available in cPanel are email filtering, spamassasin, default address and more tools.

There are few simple steps you can follow to minimize the amount of spam you receive to your inbox.

Default Address:- Don't Accept Mail to Users Mailboxes That Don't Exist!
By default all unrouted email will be directed to your main mailbox, where it will use disk space and resources of your account. This means that someone can send to anything@yourcompany.com and you'll still receive it to inbox@yourcompany.com (where inbox is your Cpanel username). This is how spammers send out mass messages as well as viruses. A common practice between worms, viruses and spammers is to generate or create a false email address they think you'll receive.

Login to your Cpanel, click on Mail, Default Address, at the bottom click Set Default Address

Select the domain in the drop down menu, I recommend repeating this for all domains listed.
In the to: field - enter
:fail: no such address here

Click on Change to save your changes.



Filter Your Mail Automatically - Cpanel E-mail Filtering

Cpanel also has the ability to use Mail Filters - a nice little addon that will examine all your messages, sort them, do the action you tell it and deliver you the results. This is an excellent method and often unused tool that can save you hours and hours of browsing spam. For example the Sober viruses sends out a series of messages that all have common subjects, you can completely delete anything that meets those exact subjects, preventing your inbox building up with spam and protecting you from viruses.

Login to your Cpanel, click on Mail, E-mail Filtering, at the bottom top click Add Filter.
In the Filter section you have two drop downs, the first is what you are filtering.
Subject, From, To, Body, Any Header, SpamAssasin Spam Header.

The next drop down is how you are filtering it.
contains, equals, matches regex, and begins with.

The input box is the filter. Enter the text you want to filter here.

For example, I keep getting spam messages with the same subject and I want to filter them. The spam messages have the subject line: Ultimate Online Pharmaceutical

I'd create a filter as follows:

What? Subject
How? Equals
Filter? Ultimate Online Pharmaceutical
Destination? Discard

This now automatically deletes any messages that I receive with the subject.

Once you've added a filter you can test it, enter a message that you think you want to filter in the test window, with subject, from address and body to make sure the filter works the way you want.

NOTE: Setting up filters incorrectly can result in mail never received and the sender will never know. If you setup filters incorrectly then valid email can be deleted as well so be careful.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Spam Control Techniques

1.  Use passwords that are strong and unique and it must be hard to guess. 2.  Use effective...