[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to configure SpamAssassin in cPanel

Posted on 2004-11-23
5
Medium Priority
?
1,977 Views
Last Modified: 2008-01-09
IN cpanel, the screen looks like this:
-----------------------------------------------
Spam Assassin Configuration

 

blacklist_from  
blacklist_from  
blacklist_from  
blacklist_from  
blacklist_from  
Used to specify addresses which send mail that is often tagged (incorrectly) as non-spam, but which the user doesn't want. Same format as whitelist_from.  
required_score  
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  
rewrite_header subject  
Text added to the Subject: line of mails that are considered spam. _HITS_ in the tag will be replace with the calculated score for this message. _REQD_ will be replaced with the threshold.  
score  
score  
score  
score  
score  
Assign scores (the number of points for a hit) to a given test. Scores can be positive or negative real numbers or integers. "SYM-BOLIC_TEST_NAME" is the symbolic name used by SpamAssassin for that test; for example, 'FROM_ENDS_IN_NU'. If only one valid score is listed, then that score is always used for a test. If four valid scores are listed, then the score that is used depends on how SpamAssassin is being used. The first score is used when both Bayes and network tests are disabled. The second score is used when Bayes is disabled, but network tests are enabled. The third score is used when Bayes is enabled and network tests are disabled. The fourth score is used when Bayes is enabled and net-work tests are enabled. Setting a rule's score to 0 will disable that rule from running.  
whitelist_from  
whitelist_from  
whitelist_from  
whitelist_from  
whitelist_from  
Used to specify addresses which send mail that is often tagged (incorrectly) as spam; it also helps if they are addresses of big companies with lots of lawyers. This way, if spammers impersonate them, they'll get into big trouble, so it doesn't provide a shortcut around SpamAssassin. Whitelist and blacklist addresses are now file-glob-style patterns, so friend@somewhere.com, *@isp.com, or *.domain.net will all work. Specifically, * and ? are allowed, but all other metacharacters are not. Regular expressions are not used for security reasons.  
 
-------------

Where can I find MORE and BETTER documentation on what values to put in these blanks?
0
Comment
Question by:smetterd
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:bjbarnes
ID: 12658854
I am familiar with cPanel's SPAM Assassin, what are you looking to do?  Do you want the server to just drop all SPAM, deliver to a SPAM box, or just rewrite the subject?
0
 
LVL 2

Author Comment

by:smetterd
ID: 12659426
drop all!
0
 
LVL 2

Author Comment

by:smetterd
ID: 12659430
currently it changes the subject... hell, a lot of good that does my inbox ;-)
0
 
LVL 1

Accepted Solution

by:
bjbarnes earned 2000 total points
ID: 12659516
Here's what I did.  In my cPanel, I configured SPAM Assassin to rewrite subjects to include **SPAM**.  I then went into Mail --> Email Filtering and added a filter.

Filter SUBJECT that CONTAINS **SPAM** Desitination DISCARD

Now any mail that gets identified as SPAM just gets dropped.
0
 
LVL 2

Author Comment

by:smetterd
ID: 12691496
Right on.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question