Anti Spam Configuration in cPanel
From Lunarpages Web Hosting Wiki
Keeping your e-mail inbox free of unsolicited spam is an important feature we provide to all of our Lunarpages web hosting customers. For those customers using cPanel to control their web hosting account, SpamAssassin can easily be enabled to get the job done.
First, you will want to login to your cPanel for your hosting account. Once inside, click on the icon labeled Spam Assassin.
Current Spam Message Filter Configuration Status
This box of information tells you if SpamAssassin and Spam Box are currently enabled or disabled.
What is SpamAssassin?
SpamAssassin is an automated mail filter that uses a wide range of heuristic algorithms on e-mail headers and message bodies to identify "SPAM" (unsolicited e-mail). SpamAssassin is designed to identify and mark e-mails that score beyond your threshold value. An e-mail's SpamAssassin score is the sum of values given to certain known spam characteristics.
- To enable SpamAssassin, click the Enable SpamAssassin button
- To disable SpamAssassin, click the Disable SpamAssassin button
- To configure SpamAssassin, click the Configure SpamAssassin button
Configuring the Way SpamAssassin Works
One of the benefits of SpamAssassin is it allows you to configure the way it works. After you click the button labeled, "Configure SpamAssassin" you will be taken to a new page with a few more options to fill out and configure.
Set the number of hits required before a mail is considered spam. "n.nn" can be an integer or a real number. 5.0 is the default setting, and is quite aggressive; it would be suitable for a single-user setup, but if you're an ISP installing SpamAssassin, you should probably set the default to be more conservative, like 8.0 or 10.0. I would keep it at 5.0, as that is a pretty safe and standard option.
Whitelist E-mail Addresses
Used to specify addresses which send mail that is often tagged (incorrectly) as spam. List e-mail addresses here, one per text box, to ensure mail gets delivered from that address no matter how it is scored.
Blacklist E-mail Addresses
Used to specify addresses which send mail that is often tagged (incorrectly) as non-spam, but which the user doesn't want. List e-mail addresses here, one per text box, to ensure mail does not get delivered from that address no matter how it is scored.
Once you are done configuring the way SpamAssassin works on the SpamAssassin Configuration page, click the "Save" button on the bottom of the web page.
What is the Spam Box?
This feature allows e-mails identified as spam by SpamAssassin to be delivered to a separate mail folder named "spam". If this folder is not regularly checked and emptied, it may cause your e-mail or file system quotas to be exceeded, resulting in a failure to receive legitimate messages. You can easily use IMAP to check messages that are routed to this box. If you wish to use pop3 to check the spam box, just add "/spam" (without the quotes) to the end of your pop3 login. (Example: email@example.com/spam)
Spam Box Controls
- To enable the Spam Box, click the Enable Spam Box button
- To disable the Spam Box, click the Disable Spam Box button
- To clear the Spam Box, click the Clear Spam Box button
Please Note: When you clear the spam box, it will clear the spam box for every e-mail account you have. There is no way to clear the spam box for just one e-mail account you have created.
Should You Ignore the Spam Box? - This feature's use is generally discouraged in favor of sorting and deleting spam messages using your mail client. Without Spam Box you can configure SpamAssassin to mark your email with an identifying subject (e.g. ***SPAM***), which can then be filtered out into an appropriate location. This way you can easily catch things that were labeled by mistake, by simply forwarding every e-mail tagged with this to a special folder in your e-mail client.