Re: [exim] Exim misses some attachments.

Góra strony
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
Dla: exim-users
Temat: Re: [exim] Exim misses some attachments.
Jeremy Harris <jgh@???> (Do 17 Dez 2015 18:11:27 CET):
> On 17/12/15 16:42, Always Learning wrote:
> > The obvious attraction "demine" has, certainly for me, is it can easily
> > and quickly be invoked in ACL Data ....
> >
> >
> >> warn demime     = ace:bat:btm:cab:chm:cmd:com:cpl:dat:dll:exe:hta: \
> >                     js:jsp:lnk:msi:pif:prf:reg:scr:sys:url:vbe:vbs

>
> At a guess, the acl_smtp_mime equivalent:
>
>   warn condition = ${if match {$mime_filename} \
>                       {\\.(ace|bat|btm|cab|chm|cmd|com|\

                        {\\.(?i:ace|bat|btm|cab|chm|cmd|com|\
                            ~~~~


I'd use case insensitive matching or convert the mime file name to lower
case in the first place.

    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 ------------ -