Hello Gary,

Just a quick reply - I looked in /var/log/mail.log and spotted the
following line that came up loads in the log file:

Jan 31 17:48:12 destiny spamd[15602]: prefork: syswrite(6) failed,
retrying... at /usr/share/perl5/Mail/SpamAssassin/SpamdForkScaling.pm line
554.

This might be my problem?

There is a bug report on that. It very well could be the problem.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4590


To answer most of your questions:

> Does your system reject mail to invalid users so spamassassin does not get
> pounded by dictionary attacks?

Should do:

> Maybe you are dealing with Bayes and AWL file locking issues. When the
> system slows to a crawl, I would debug a test message to get an idea where
> the system is slow.
> spamassassin -tD < message

Tried that, loads of messages went up, but no error as I can see.  Seems
to do the job quickly:

real    0m11.565s
user    0m6.594s
sys     0m0.481s

Looks OK.


> If you have a site-wide Bayes database, run this as the user that writes
> to
> it.
>
> Try turning off bayes and awl in local.cf and see if that solves the
> problem.
> If it does, consider moving bayes to SQL, or at least see if:
> lock_method flock
> is appropriate in your case.
> http://spamassassin.apache.org/full/3.1.x/dist/doc/Mail_SpamAssassin_Conf.html#miscellaneous_options

Will do this when I get your next reply.  I don't think I have an bayes
database?


Unless you are already using SQL for Bayes (most likely not), you probably have one set of bayes files for each user that runs spamc.
Try:
updatedb
locate _toks

> Are you running one site-wide bayes database, or individual?

How do I find out?

Cheers - Piers

I'm not familiar with SAExim, but it would depend on whether it runs spamc as the same user every time, or as each individual mail recipient. The number of files that end in '_toks' you find will probably answer that. You will either find one for root, and one for the exim user, or one for each mail user.

Gary V

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

Reply via email to