# # yossman/yossman.net/2003-09-15 - spamassassin 2.5.5 default 'user_prefs.template' file, # as /usr/share/spamassassin/user_prefs.template, based on: # # SpamAssassin user preferences file. See 'perldoc Mail::SpamAssassin::Conf' # for details of what can be tweaked. # #* #* Note: this file is not read by SpamAssassin until copied into the user #* directory. At runtime, if a user has no preferences in their home directory #* already, it will be copied for them, allowing them to perform personalised #* customisation. If you want to make changes to the site-wide defaults, #* create a file in /etc/spamassassin or /etc/mail/spamassassin instead. ########################################################################### # How many hits before a mail is considered spam. required_hits 5 # Whitelist and blacklist addresses are now file-glob-style patterns, so # "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work. # whitelist_from someone@somewhere.com # yossman/yossman.net/2004-08-01 - if you use a POP3 or IMAP client # to download your email, instead of using 'pine' or another unix mail # client directly off yossman.net unix shell, you can tell # spamassassin to re-write the SUBJECT lines of emails that are likely spam. # # then, when you login and check/download your email, you can use the filtering # in your email client to catch emails with '*****SPAM*****' in # the SUBJECT line -- and send them to another folder or straight to the garbage. # note that filter to garbage (straight delete) is not recommended, as it is possible # spamassassin will falsely identify legit emails now and then as spam. this is # usually because someone's legit mail service is set up incorrectly and triggers # spam warnings. # # NOTE: this is DISABLED by default; you have to uncomment the 'rewrite_subject' # and 'subject_tag' lines to enable this subject-line re-writing method. # (uncommenting means, remove the '#' symbol from in front of the two lines.) # # Change the subject line of suspected spam emails? (0=no, 1=yes) #rewrite_subject 1 # # Text to prepend to subject if rewrite_subject is set to '1': #subject_tag *****SPAM***** # Add your own customised scores for some tests below. The default scores are # read from the installed spamassassin rules files, but you can override them # here. To see the list of tests and their default scores, go to # http://spamassassin.org/tests.html . # # score SYMBOLIC_TEST_NAME n.nn # # Speakers of Asian languages, like Chinese, Japanese and Korean, will almost # definitely want to uncomment the following lines. They will switch off some # rules that detect 8-bit characters, which commonly trigger on mails using CJK # character sets, or that assume a western-style charset is in use. # # score HEADER_8BITS 0 # score HTML_COMMENT_8BITS 0 # score SUBJ_FULL_OF_8BITS 0 # score UPPERCASE_25_50 0 # score UPPERCASE_50_75 0 # score UPPERCASE_75_100 0 ## yossman/yossman.net/2003-09-15 - adding some new scores for tests. ## ## NOTE: lines that begin with '#' are comments, and are IGNORED by spamassassin. ## ## format: ## # yossman comment, brief descrip of testname, actual TESTNAME, and (default score). ## score TESTNAME # yossman/2003-09-15 - From: has no local-part before @ sign "FROM_NO_USER" (1.773). score FROM_NO_USER 3 # yossman/2003-09-15 - To: has no local-part before @ sign "TO_NO_USER" (2.796) score TO_NO_USER 3 # yossman/2003-09-15 - To: is empty "TO_EMPTY" (1.994) score TO_EMPTY 3 # yossman/2003-09-15 - Subject: starts with advertising tag "ADVERT_CODE" (1.101) score ADVERT_CODE 5 # yossman/2003-09-15 - Subject: contains advertising tag "ADVERT_CODE2" (2.104) score ADVERT_CODE2 5 # yossman/2003-09-15 - sent to you@you.com or similar "FRIEND_AT_PUBLIC" (2.900) score FRIEND_AT_PUBLIC 4 # yossman/2003-09-15 - Domain in From header has no MX or A DNS records "NO_DNS_FOR_FROM" (1) score NO_DNS_FOR_FROM 3 # yossman/2003-09-15 - Forged hotmail.com 'Received:' header found "FORGED_HOTMAIL_RCVD" (2.335) score FORGED_HOTMAIL_RCVD 4 # yossman/2003-09-15 - HTML included in message "HTML_MESSAGE" (0.112) score HTML_MESSAGE 1.5 # yopssman/2003-09-15 - HTML comment contains SKY database codes "HTML_COMMENT_SKY" (1.101) score HTML_COMMENT_SKY 2.2 # yossman/2003-09-15 - HTML contains auto-executing code "HTML_EVENT" (0.0) score HTML_EVENT 4 # yossman/2003-09-15 - HTML contains unsafe auto-executing code "HTML_EVENT_UNSAFE" (0.0) score HTML_EVENT_UNSAFE 5 # yossman/2003-09-15 - HTML comment has 3 consecutive 8-bit characters "HTML_COMMENT_8BITS" (2.900) score HTML_COMMENT_8BITS 4 # yossman/2003-09-15 - URL of page called "remove" "REMOVE_PAGE" (0.313) score REMOVE_PAGE 5 # yossman/2003-09-15 - Fake name used in SMTP HELO command "BAD_HELO_WARNING" (0.0) score BAD_HELO_WARNING 3