Re: [exim] Conditional content filtering

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John Burnham
Date:  
À: schönfeld / in-medias-res, exim-users
Sujet: 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