Re: [exim] Re: Re: Exim 4.52 and SA 3.0.4 memory problem

Góra strony
Delete this message
Reply to this message
Autor: Agusti
Data:  
Dla: exim-users
Temat: Re: [exim] Re: Re: Exim 4.52 and SA 3.0.4 memory problem
I have the same problem, I'll try to use first the message_size condition. But
I have a doubt: Are messages under 500k on this example scanned three times
or only one?
If they're scanner three times, is there any way to do it only once? Maybe add
all headers at the same time or defining a variable that says this is a
possible spam message and his score...

Thanks.


A Divendres 12 Agost 2005 08:49, Wolfgang.Fuertbauer@??? va escriure:
> I simply made sure that before every spam statement was the condition
> and since that time: no problems with CPU and Mem
> Wolfgang
>
> > Why do you include the "condition = ${if <{$message_size}{500k}{1}
> > {0}}" twice ?
> >
> > GTG
> >
> > >>> <Wolfgang.Fuertbauer@???> 11/08/2005 16:26:50 >>>
> >
> > I had the same problem: the fault was in the configuration file:
> > take care that the 'condition' statement is before the 'spam' statement
> > otherwise EVERY mail well be send to spamd and hat consumes LOTS of
> > memory and CPU
> >
> > warn message = X-Spam-Score: $spam_score ($spam_bar)
> > condition = ${if <{$message_size}{500k}{1}{0}}
> > spam = exim:true
> >
> > warn message = X-Spam-Report: $spam_report
> > condition = ${if >{$spam_score_int}{40}{1}{0}}
> > spam = exim:true
> >
> > # Add X-Spam-Flag if spam is over system-wide threshold
> > warn message = X-Spam-Flag: YES
> > condition = ${if <{$message_size}{500k}{1}{0}}
> > spam = exim
> >
> >
> > # Reject spam messages with score over 5, using an extra condition.
> > deny message = SPAM This message scored $spam_score SPAM points.
> > condition = ${if >{$spam_score_int}{50}{1}{0}}
> > spam = exim:true
> >
> > hope that helps
> > Wolfgang
>
> ----------------------------------------------------------------------
> Wolfgang Fuertbauer (e-Mail: Wolfgang.Fuertbauer@???)
> EBEWE Pharma
> Mondseestrasse 11
> 4866 Unterach, Austria
> Tel +43 7665 8123 315
> Fax +43 7665 8123 11
> http://www.ebewe.com


--
Agustí Rivero
xarxes@???
Telf. 902 36 14 84

Ilimit Comunicacions