Auteur: Marc Sherman Date: À: Jeremy Harris CC: exim-users @ exim. org Sujet: Re: [exim] Message size checks on spam ACLs
Chris Edwards wrote: >>
>> Rather than simply passing the messages unscanned, it would be nice to
>> show the first X kilobytes to spamd, in the hope the truncated version
>> is spammy enough to get a decent score (which in most cases it will
>> be). A similar idea to $message_body_visible.
>>
>> So, I think this is a feature request ;-)
Jeremy Harris wrote: >
> I'd say that should be a scanner feature, not an exim one.
>
> At worst you should fake it with a pipeline in front of the
> scan package (head, dd, whatever).
The pipeline works just fine in the router/transport/spamc situation,
but spamc handles that case itself just fine already.
The problems being reported are with the exiscan case. With exiscan,
exim is sending the data directly to spamd over a socket, so exim has to
implement the limiting logic to keep the data from getting to
spamassassin in the first place.