Friday Sep 10
English French German Italian Portuguese Russian Spanish Filipino

ASSP the best free Open Source Anti-Spam SMTP Proxy - Page 6 Test mode

Attention: open in a new window. PrintE-mail
Article Index
ASSP the best free Open Source Anti-Spam SMTP Proxy
Page 2 Installing 1.3.3.8
Page 3 Starting ASSP
Page 4 Making script executable
Page 5 Login
Page 6 Test mode
Page 7 Forwarding spam
Page 8 Installing 1.4.3.0
Page 9 Create directories
Page 10 1.4.3.0 Startup script
Page 11 Making 1.4.3.0 script executable
All Pages

Since this is a new install, I'll set it using testmode by going to the Testmodes menu until ASSP has collected about a thousand e-mails or more. I also purposely place an e-mail address on my web pages for spam bots to harvest so I can use it to collect spam e-mails in ASSP.

 

Some usage tips I copied off a discussion thread from ASSP's forum.

 
  • switch things over to scoring
  • put Bayesian mode into explicit test mode
  • adjust your Penalty Box options to allow a small amount of spam through
  • setup your email interface section
  • setup your ccmail section so you can monitor the test modes
  • alert your users on how to use the spam and notspam reporting mechanism
  • maintain rebuilding your bayesian indexes
  • develop your system automation for running the move2num and rebuildspamdb scripts
  • wait for a reasonable amount of ham/spam to collect
  • turn bayesian testing off


Bayesian training typically takes a month.

What is a good number of spam before you switch testmode off.

1000-2000 per folder.



« on: September 18, 2007, 01:18:29 PM »


Start off with default settings, and slowly via a practice of change management, make alterations to your settings; tracking everything that you do to see if it has any adverse effects on functionality or performance. Sometimes depending on how robust your system and/or transfer speeds are, a bad combinations of feature settings and poorly-crafted regular expressions can have adverse effects on ASSP's performance.

I cannot stress this enough - Use the defaults. Then, when you are ready to enable or alter features:

  • Make changes per type of function at a time; enabling a feature (defaults settings first) or altering a setting of an already enabled and tested feature
  • Run specific tests and/or run with the change(s) for a few days to a week until you have determined that your changes are OK with your normal e-mail load
  • Repeat when/if necessary

On a final note of practical experience: Don't come into this as a new user thinking that you know better that what has been preselected or recommended as the defaults settings. These defaults aren't "weak" or "whimpy". These settings have been tried and tested to give you the best results without over taxing your system - whatever it may be. Only after gaining some real experience with ASSP and knowledge of how well ASSP performs on your hardware and network connection should you starting tweaking; and you should only do so while observing change management practices so you can understand what you did that altered ASSP's performance.

And when all seems like it doesn't make sense: revert to the defaults or previous settings for whatever it is that you just recently modified.

We'll be here to lend a hand in the forums or the e-mail lists. Just start your posts with ASSP Version, Perl version, etc, so we can get that pre-requisite mental image of what you are dealing with. Grin

« on: December 30, 2008, 08:47:31 PM »


I am not sure if this is the correct thread to post this.

There should be a common thread for general post about asspsmtp.

Anyway, I have some questions about asspsmtp. As I know, spam and notspam folder is used for rebuilding spamdb for bayes. But the thing is, the folder keep increasing and now my spam is 40MB and notspam is 130MB. Can I know if I can delete contents in this folder after the spamdb has been rebuild? Or if I delete them, the next spamdb rebuild will cause the spamdb created to be fresh one?

Also, the server load is very high now. Can I know if there are some standard procedure to do or check or guideline? I can't find this in the wiki.

Thanks.

solution:

- Clear the "Use Subjects as File Names" option.(UseSubjectsAsMaillogNames)

From the ASSÜ-GUI:
You can turn this on to help you to identify mail in your spam and non-spam collections. This will prevent ASSP from controlling the number of files in your collections( MaxFiles ). If your collections grow over 1000 items run move2num.pl and turn this off. Leaving this setting turned off is HIGHLY recommended. The spam and non-spam collections are only intended for use by ASSP to build the bayesian database and NOT AS A MAIL ARCHIVE. See the sendAllSpam and other options in the Copy Spam & Ham section for mail archiving options.

perl move2num.pl -r


http://www.asspsmtp.org/wiki/Other_Tools

 

testmode

 

 

 

 

 

I have added in cron to run rebuildspamdb.pl every midnight using Webmin's cron module.

 

cron

 

 

 

 

 

 

 

 

 

 

 

 

When the collection of messages in the spam and notspam folder grows to 1000, the documentation recommends to run the command move2num.pl then turn off "UseSubjectsAsMaillogNames" by going to the Collecting menu.

 

cd /usr/share/assp

perl move2num.pl

 

subject_maillog

 

 

 

I am going to allow my internal mail server to be able to relay mail through ASSP and also other mail servers I manage by going to the Relaying menu. Then I will add all of the domains I will be receiving e-mails for.

 

relaying_ip_local_domains