Re: [exim] Help with body_deny

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] Help with body_deny
Leandro do Nascimento Bernardo <leandro.uee@???> (Do 12 Mai 2016 16:30:26 CEST):
> I need help for body_deny ( similar postfix) configuration in exim


You may pass your message to an external scanner programm, using the
av_scanner interface, in the DATA ACL.

Or you may do simple checks on the body using the $message_body
expansion and some regular expressions, it contains the initial portion
(500 lines, configurable) of the message.

The spec.txt (Exim documentation) contains information about the
available variables, and about ACL, and about the 'match' condition.


    deny condition = ${if match {$message_body}{(?i)make money fast}}



    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -