Re: [exim] Filter for large messages

Page principale
Supprimer ce message
Répondre à ce message
Auteur: W B Hacker
Date:  
À: exim users
Sujet: Re: [exim] Filter for large messages
Gilmar Pupo wrote:
> Hello friends!
> I have a filter:
>
> ---
>
> if
> $message_body matches
> ".*((video|x-world|audio|image))|((application/)+(rar|zip|internet|mac|octe|oda|ole|pics|postscript|set-payment-initiation|vnd.ms-powerpoint|win|x-)).*"
> then
> deliver "auditor_quee@???"
> save "/dev/null" 660
> finish
> endif
>
> ---
>
>
> It works OK for small size messages.
> But for large messages does not work!
> I configured message_body_visible to 999999 and the entire body of the
> message is in the variable $message_body but the filter does not work.
>
> Would you like the idea of you about how to solve this problem.
>
> Thanks!
>
> Gilmar
>
>


Quite aside from how much body is visible, do you have MACRO's for either of:

MSG_MAX =
(which probably applies if present at all)

SCAN_MAX =
(which may or may not apply, depending on where and how you use your 'filter')

HTH

Bill