Re: [Exim] ACL to ALLOW only mentioned attachments type and …

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Nico Erfurth
Datum:  
To: Dilip M, Exim-Users (E-mail)
Betreff: Re: [Exim] ACL to ALLOW only mentioned attachments type and block *
Dilip M wrote:
> That WORKS !!! BUT STRANGE thigs is happening...
>
> To test,i just changed to & did kill -HUP `pgrep exim`
> ---
> deny message = Bad attachment
> !demime = gif:txt
> ---
>
> Now when i tried to send doc,jpeg, etc it was denied!!
>
> I also tested sending GIF file..it came through....
>
> But when i was trying to send a blank mail,it rejected !!!!
>
> Only those attachments are allowed and rest all (INCLUDING blank/plain
> mail) is being REJECTED !!!!


Try:

deny message = Bad Attachment
      demime  = *
     !demime  = txt:gif


This should work.

Nico