Re: [Exim] filtering during the data phase

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Łukasz Grochal
CC: Phil Chambers, exim-users
Assunto: Re: [Exim] filtering during the data phase
On 12 Jun 2001, [iso-8859-2] £ukasz Grochal wrote:

> If it's possible to accept or reject messages after DATA basing on
> string expansions and embedded perl (and -H, -D files in spool to be
> exact), that'll be just what is needed to have exim reject virus mail
> in transaction stage (as opposite to - say - system filter).


It's possible in Exim 4.

> And as we
> talk about problems with filtering: are there any chances to have
> _whole_ message, including (possibly rewritten?) headers, in -D files
> for the next major revision?


No, I'm afraid not. That split is fundamental to the way Exim works.

> I find reassembling messages before
> performing virus scans and other actions on them the most time
> consuming stage of the process


Have you noticed the $message_headers variable? That will give you all
the headers without your having to mess with the format of the -H file.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.