Re: disable local_scan fro bounces

Sander Smeenk <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
Quoting Laurent Luyckx ([email protected]):

> Problem is that spamassassin is launched on each of this (bad) mails and
> the load on my machines are too high and I'm queuing a lot.
> Is there a way to disable sa-exim for that type of message.

If those mailerdeamon messages are the cause of your high load, there
must be a LOT of messages coming your way ;)

I don't know if this is possible off hand, you'd have to consult the
exim documentation, but you CAN pass acl_mX variables from inside exim
to sa-exim (or rather, sa-exim cann access those..)

So you can do this in your RCPT acl:

warn condition = ${if message looks like valid mail instead of mailerdaemon}
	set acl_m0 = run-sa

and in your SARunCond test for ${if eq{{$acl_m0}{run-sa}}{1}{0}}

HTH,
Sander.
-- 
| Do pilots take crash-courses?
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.