Re: [exim] scanning at ACL using external program

Etusivu
Poista viesti
Vastaa
Lähettäjä: Peter Bowyer
Päiväys:  
Vastaanottaja: exim users
Aihe: Re: [exim] scanning at ACL using external program
2008/12/10 Marcin Krol <mrkafk@???>:
>
>>> Rationale: while Exim does have direct connection to SpamAssassin these
>>> days, I am not entirely happy with headers generated (those added by
>>> spamc are much nicer from my POV).
>
>> If you aren't happy with SA's headers, you can either modify them or
>> shut them off entirely.
>
>> All we use from SA is spam_score_int
>
>> Exim can then make whatever headers you wish..
>
> ..except it's rather hard to add a header like this using Exim's builtin
> features:
>
> X-Spam-Status: Yes, score=15.9 required=15.0 tests=BOTNET,BOTNET_CLIENT,
>        BOTNET_IPINHOSTNAME,HTML_MESSAGE,URIBL_BLACK,URIBL_JP_SURBL
>        autolearn=spam version=3.2.3

>
> Which is exactly the header I want.
>
> This header is readily added by spamc. Frankly, spamc or other external
> script/client is a proper place to generate this kind of information.


Can you not make SA do exactly this with the X-Spam-Report header and
suitable options under 'header' in SA local.cf?


--
Peter Bowyer
Email: peter@???
Follow me on Twitter: twitter.com/peeebeee