Re: [exim] Silly Problem with acl - trying to stop various a…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Sujit Acharyya-Choudhury
Date:  
À: Exim-users
Sujet: Re: [exim] Silly Problem with acl - trying to stop various attachment
On 2008-09-17 16:44, Dan_Mitton wrote:
> You could try something like:
>
>   deny    set acl_m_ext = ${if match \
>                            {${lc:$mime_filename}} \
>                            {\N\.(exe|src|zip)$\N} \
>                          {.$1}{}}
>           condition   = ${if !eq{$acl_m_ext}{}{1}{0}}
>           message     = Bad attachment filename ($acl_m_ext)
>           log_message = Bad attachment filename ($acl_m_ext)

>
>
>
>

Where do I put these lines? Before DATA command with check_mime:
heading?




--
The University of Westminster is a charity and a company limited by
guarantee. Registration number: 977818 England. Registered Office:
309 Regent Street, London W1B 2UW, UK.