Len,

> >> But I still feel there's something throttling amavis with the current
> >> hardware. This machine groans on passing 900 - 1100 msgs/hour?
> >> I think it can do a lot better.
> >
> >The quickest overview on the sanity of amavisd/SpamAssassin is what
> >amavisd-nanny shows. Set $nanny_details_level to 2 in amavisd.conf.
>
> Starting amavisd.
> Error in config file "/usr/local/etc/amavisd.conf": Global symbol
> "$nanny_details_level" requires explicit package name at
> /usr/local/etc/amavisd.conf line 64.

Is your amavisd older than 2.5.0 ???

> turning off dcc, pyzor, razor decreases the already small delays sending
> to amavis smaller, but the delays were already down in the dirt.

DCC is quite inexpensive, even more when used with its daemon dccifd.
(rc.conf: dccifd_enable="YES"). Razor is more expensive, but can be
quite useful. All three need to have suitable server IP address
configured, e.g. my .pyzor/servers file contains 82.94.255.100:24441 .
Razor: # su vscan -c 'razor-admin -discover'

Also I find the default rbl_timeout too large, so I'm setting
(in local.cf):  rbl_timeout 5.5 2.2

> 19:43:17 delay=97, <<<<<<<<<< 150 KB msg

Sometimes when I notice that nanny is showing several amavisd
processes taking long seconds (30+) for a spam check, and I suspect
it is the same kind of message being processed (to different
recipients), I snatch a file email.txt from amavisd temporary
directory of a busy process, so that I can use the sample for
later analysis, like feeding it to a command line spamassassin
and checking where it is spending its time. Usually it turns
out that SA spends most of time evaluating SARE regexp rules.

> yes, sa-check is claims about 90% of the total TIMING

> >, my suggestion is to install SpamAssassin from its
> >SVN trunk. This is just a standard Perl module install procedure
> >(perl Makefile.PL; make; make test; make install; sa-update).
>
> I'll try that.
>
> is sa 3.3 available as a tarball somewhere?

Yes, I believe it is:
http://spamassassin.apache.org/downloads.cgi?update=200806121419
http://svn.apache.org/snapshots/spamassassin/

> compiled the required apr-svn and svn 1.4 but:
>
> svn checkout http://svn.apache.org/repos/asf/spamassassin/trunk
> spamassassin-trunk /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined
> symbol "initialize_asn1_error_table_r"

Check /usr/ports/UPDATING, there was some notice about subversion
upgrades on 2008-07-01.

> >Also, switch Bayes to MySQL if you still have it in a bdb database.
>
> yes, it's bdb.  I'll get MySQL running tomorrow

Make sure to use the specialized Mail::SpamAssassin::BayesStore::MySQL
module with MySQL InnoDB, not the general purpose SQL bayesstore.
See sql/README and sql/README.bayes in SpamAssassin distribution.

  Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to