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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dilip M
Ημερομηνία:  
Προς: Nico Erfurth, Exim-Users (E-mail)
Αντικείμενο: Re: [Exim] ACL to ALLOW only mentioned attachments type and block *
On Fri, 26 Mar 2004 14:12:19 +0100, Nico Erfurth <masta@???> wrote:

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


No it won't ? is it working on your side ?
------------
# tail -f /var/log/exim/main.log
2004-03-26 18:54:59 pid 504: SIGHUP received: re-exec daemon
2004-03-26 18:54:59 exim 4.30 daemon started: pid=504, -q10m, listening
for SMTP on port 25 (IPv4)
2004-03-26 18:54:59 Start queue run: pid=2087
2004-03-26 18:54:59 1B6VKL-0000n3-TR Message is frozen
2004-03-26 18:54:59 End queue run: pid=2087
2004-03-26 18:55:07 1B6rKd-0000Xi-HJ H=(bond) [202.144.44.90]
F=<dilipm@???> rejected after DATA: This message contains
an unwanted file extension () which s7 admin won't like :)
-------------

Same problem...blank/plain emails fails saying above error..

-Dilip