Bradley:

Fought the same battle here just last week literally. With the help of
Larry Rosenman from the SA/Exim lists we got it working VERY well
here. It's basically a machine load issue for me, and I'm guessing for
you as well.

First thing...with SA are you running either of these rules:

blacklist-uri.cafe
blacklist.cf

They are both HUGE CPU hogs, remove tem from your rule sets.

Second:

Are your cleaning up after exim/SA? If not this script will do it for
you, I'd run it nightly around midnight here check the path names and
correct to match your setup:

# more /usr/sbin/exim-cleanup 

exim_dbdir=/var/spool/exim
exim_tidydb=/usr/local/exim/sbin/exim_tidydb
echo ""
echo "Tidying Exim hints databases:"
for db in "$exim_dbdir"/db/*.lockfile; do
        echo ""
        "$exim_tidydb" "$exim_dbdir" `basename $db .lockfile`
done
ll /usr/local/exim/exiscan/virusmails
ll /usr/local/exim/spool/scan
rm /usr/local/exim/exiscan/virusmails/*
rm -r /usr/local/exim/spool/scan/*

These 2 items basically took my system load from a 10-12 and put it at
.89 and my mail queue from HOURS of queue time to avg less than a
minute:

Plus these command lines (with appropriate editing will give some nice
stats:

Subject: Cron /usr/sbin/sa-stats -l /var/log/exim -f mail 
From: [EMAIL PROTECTED] (Cron Daemon)
Date: Wed, 18 Jan 2006 23:50:47 -0600



Email:    22065  Autolearn:     2  AvgScore:  13.51  AvgScanTime:
32.73 sec
Spam:     10091  Autolearn:     1  AvgScore:  29.70  AvgScanTime:
32.59 sec
Ham:      11974  Autolearn:     1  AvgScore:  -0.14  AvgScanTime:
32.85 sec

Time Spent Running SA:       200.62 hours
Time Spent Processing Spam:   91.34 hours
Time Spent Processing Ham:   109.28 hours

Subject: Cron /usr/local/exim/sbin/eximstats -ne -nr
/var/log/exim/mainlog
From: [EMAIL PROTECTED] (Cron Daemon)
Date: Wed, 18 Jan 2006 23:50:58 -0600


Exim statistics from 2006-01-15 05:05:09 to 2006-01-18 23:50:48

Grand total summary
-------------------
                                                        At least one
address
  TOTAL               Volume    Messages     Hosts      Delayed Failed
  Received             107MB        7712      1032     417  5.4% 113
1.5%
  Delivered            266MB       36558       378

Deliveries by transport
-----------------------
                      Volume    Messages
  address_file        2518KB         544
  address_pipe          11MB        1196
  procmail              84MB        6393
  remote_smtp          169MB       28425

Try these suggestions and let me know how it goes.

I'm happy to try to help out more.

George
===[George R. Kasica]===        +1 262 677 0766
President                       +1 206 374 6482 FAX 
Netwrx Consulting Inc.          Jackson, WI USA 
http://www.netwrx1.com
[EMAIL PROTECTED]
ICQ #12862186

Reply via email to