Hi All,
  Ok, I've figured that having "define(`confSEPARATE_PROC', `True')" in my
SendMail config was what was causing the flushing of the mail queue to
create such a huge server load as it was spawning a new sendmail, procmail,
and spamassassin child for each message in the mqueue. So I've disabled
this, but I still cannot figure out why mail aimed at non existant uses is
still staying in the message queue and not being rejected?? Any help would
be very much appreciated.



CosmicPerl wrote:
> 
> Hi,
>   It appears that as I was accepted to the mailing list after making my
> first post, my post did not hit the list. Here is my original full post
> below:-
> 
> 
> CosmicPerl wrote:
>> 
>> Hi,
>>   I installed the latest SpamAssassin on my server. At first all my tests
>> looked good, apart from load. So I setup spamc and spamd and everything
>> seemed great, for a short while at least.
>> 
>> A day later my mqueue had about 1500 messages in it, most with the error
>> "local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL". This seems to
>> be coming up if the mailbox is full or the email is to an address that
>> doesn't exist.
>> 
>> It seemed that about every hour or so Sendmail was trying to flush out
>> these messages, causing 1000's of processes to be started and making the
>> server freeze up. Despite my Sendmail config having
>> define(`confMAX_DAEMON_CHILDREN', `12')dnl
>> 
>> In my procmailrc file I have:-
>> DROPPRIVS=yes
>> :0fw: spamassassin.lock
>> * < 256000
>> | spamc
>> 
>> The SpamAssassin daemon was started with
>> /usr/bin/spamd -d -u nobody
>> 
>> At some point all mail stopped coming in. When I looked at the maillog
>> file it had lots of lines like:-
>> mkdir /root/.spamassassin: Permission denied
>> Which I guess was causing the problem. This wasn't a problem before so
>> I'm not sure why it happened. Any clues?
>> 
>> 
>> Basically I need to set things up so that when sendmail trys to flush I
>> don't get my server falling over.
>> Emails that are sent to addresses that don't exist that are currently
>> getting the error "local mailer (/usr/bin/procmail) exited with
>> EX_TEMPFAIL" be delete from the queue automatically.
>> Ideally I'd like to give each different virtual server I have it's own
>> possibly spam folder. I'm using Webmin and have a 100 or so Virtual
>> servers so if anyone knows a good automated way of doing this that would
>> be great. Either way I can't have things go down again otherwise I'll
>> loose all my clients!
>> 
>> And SpamAssassin working again. At first it was just marking emails with
>> [spam] in the subject. Then Yesterday It then also started changing the
>> message to an attachment and having "Spam detection software, running on
>> the system "ns.cosmicsitehosting.com", has identified this incoming email
>> as possible spam..." in the message text. I've no idea what was changed
>> so that this started happening. I didn't think I changed anything. Then
>> last night it stopped sending any emails.
>> 
>> 
>> Please help!
>> 
>> Thanks in advance.
>> 
>> Oh by the way my local.cf file contains
>> required_hits 10
>> rewrite_header Subject [SPAM]
>> report_safe 1
>> use_bayes 1
>> skip_rbl_checks 1
>> use_pyzor 1
>> 
>> 
>> Can anyone help with this?
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-running-Spam-Assassin-tf2664618.html#a7473573
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to