This is just slightly modified SA configuration, as taken from our
production servers (I've only changed passwords and turned DCC checks
off for these tests). These servers analyze circa 750.000 mails/day. I
was running 6 amavis threads; when I've tried 2 threads, the results
were significantly worse.
[EMAIL PROTECTED] root]# cat /etc/mail/spamassassin/local.cf
# Add your own customisations to this file. See 'man
Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
#
bayes_store_module Mail::SpamAssassin::BayesStore::SQL
bayes_sql_dsn DBI:mysql:amavis_db:localhost
bayes_sql_username amavis
bayes_sql_password blah
auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList
user_awl_dsn DBI:mysql:amavis_db:localhost
user_awl_sql_username amavis
user_awl_sql_password blah
lock_method flock
use_bayes 1
bayes_auto_learn 1
skip_rbl_checks 1
use_razor2 0
use_dcc 0
dcc_timeout 5
use_pyzor 0
dns_available yes
## Optional Score Increases
score BAYES_99 4.500
score BAYES_95 4.000
score BAYES_80 3.000
## IOL-specific rules
body IOL_WYSAK1 /Wysak Petro\|eum/i
describe IOL_WYSAK1 Contains reference to 'Wysak Petro|eum'
score IOL_WYSAK1 10.0
body IOL_NOMAD1 /Nomad Internationa\|/i
describe IOL_NOMAD1 Contains reference to 'Nomad Internationa|'
score IOL_NOMAD1 10.0
body IOL_EXERCISE /exerciseofspirit\.com/
describe IOL_EXERCISE Contains reference to lame domain
score IOL_EXERCISE 5.0
body IOL_VVATCHES /vvatches/
describe IOL_VVATCHES Contains obfuscated false-Rolex-type keywords
score IOL_VVATCHES 5.0
Stephen Carter wrote:
If you've got SA network tests turned on I'm not surprised.
I have as well as your setup DCC and Razor2 checks, along
with SA network tests enabled running on SuSE 9.2 and it
takes my AMD 1800+ about 9 seconds to completely process
an average e-mail of around 20kb in size.
We process around 15,000 e-mails per day.
The thing is, we run 4 amavis threads so in effect it's processing
on average a message every ~2.4 seconds which in that light
isn't so bad considering it's performing literally hundreds of
individual tests on every e-mail.
SteveC
--
***********************************************************************
Pavel Urban ([EMAIL PROTECTED])
IOL system disaster
Internet OnLine, owned by Cesky Telecom, a.s. (www.ct.cz)
***********************************************************************
Vegetables should not operate electronic equipment.
Computer Stupidities, http://rinkworks.com/stupid/
***********************************************************************
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/