Aspam is a more efficient and more accurate spam recognition system to replace the SmiteCRC spam recognition system. For end users it is functionally equivalent to SmiteCRC spam recognition (each message gets a score and administrators and end users can filter email based on this score).
Rather than reading this page you should probably be reading Spam Prevention Guide - spam.htm
Aspam uses the following mechanisms to recognise spam.
aspam_bad (directory of training messages, collected from isspam@local.domain address)<> aspam_bad.rul (aspam rule file automatically generated from messages in aspam_bad directory) aspam_good (directory of training messages of 'good' non spam messages) aspam_good.rul (aspam rule file automatically generated from messages in aspam_good directory) aspam_rules.txt (Base aspam rule set from Netwin - auto downloaded) aspam_mfilter.txt (Base mfilter rule set from netwin - auto downloaded and auto updated) local.rul (Your place to add mfilter rules to adjust scoring) aspam_pgood.dat, pbad.dat (Base poly word matching rules, auto downloaded from Netwin) aspam_words.txt (English dictionary used by aspam when choosing which words are rare) poly_good.dat (Poly word knowledge base (binary file) created from aspam_pgood.dat and local sample messages) poly_bad.dat (as above)
tellmail aspam_retrain = Rebuilds the rule and poly information based on the aspam_good, aspam_bad directories
In surgemail.ini add g_spam_internal "true" and remove the line g_virus_filter cmd="smitecrc.exe" type=""
You can also do it with the web admin tool, eg:
Open the web admin,
upgrade to 1.8
click on 'SmiteSpam' down the left hand side,
set "Enable SmiteSpam" to 'false',
press 'Save'
click on Aspam on the left hand side,
set 'enable aspam' true
set 'Verify sender is in MX record' true
set 'Check from user exists' true
set 'If score is above this, add spam rating to subject (Spam: ****) e.g.
5' to 5
set 'Allow users to specify specific spam features' TRUE
Fill in 'Addresses on web pages that shouldn't get any email (robot bait)'
if you have any.
press 'SAVE"
(Restart SurgeMail)
Check senders are valid (optional,
does help but also slows down incoming SMTP)
g_badfrom_check "TRUE"
g_badfrom_stamp "TRUE"
g_badfrom_from "postmaster@YOUR.DOMAIN.NAME"
Check sender is sending from the right mx host if possible. (this is the best rule!)
g_verify_mx "true"
Mark spam messsages in the subject (optional, some people
like this some don't)
g_spam_subject "6"
Auto train addresses that spammers send to (replace with your addresses)
g_spam_catcher "user1@domain.com,user2@comain.com"
In 1.8b2 the auto train feature will get confused and auto train messages sent to the isspam address, we recommend not using the auto train setting.