Re: [exim] Conditional content filtering

Pàgina inicial
Delete this message
Reply to this message
Autor: John Burnham
Data:  
A: schönfeld / in-medias-res, exim-users
Assumpte: Re: [exim] Conditional content filtering

> i've read the manual about and especially the part about
> content scanning but i don't understand if it is possible to
> do scans for viruses or with spamassassin if and only if a
> certain condition is met (e.g. a header set to a specific value).
>

The short answer is: yes, it is - just put a condition in the acl.
As an example, you might decide only to spam check messages under a certain
size, so you could have:

deny
condition = ${if <{$message_size}{1M}{1}{0}}
spam = nobody:true

or similar.

John