Re: demime question..

"Frank S. Bernhardt" <[email protected]>
Newsgroups gmane.mail.exim.exiscan.user
Organization b.c.s.i.
Message-ID <[email protected]>
Brian

I do something similar but because I'm on a dynamic link I use discard 
instead of deny:

  warn log_message = DISCARD: ATTACHMENT ($found_extension)
       demime = bat:btm:bin:cmd....etc

  discard demime = bat:btm:bin:cmd....etc

I don't put a condition on this.

I also allow some zip files through based on size:

  warn log_message = DISCARD: ATTACHMENT ($found_extension)
       condition = ${if <{message_size}{100k}{1}{0}}
       demime = zip

  discard condition = ${if <{message_size}{100k}{1}{0}}
          demime = zip

There are other tests I do before the final:

   accept

Hope this helps.



Brian wrote:
> Hello all,
> 
> I posted this on the exim-users list but I got no response..  :(
> 
> so I'm hoping to get some kind of answer here..  :)
> 

-- 

Regards

Frank S. Bernhardt
b.c.s.i.
14 Halton Court
Markham, ON. Canada
L3P 6R3

905-471-1691 Voice
905-471-3016 FAX

[email protected]

Registered Linux-User #312398 with the Linux Counter, http://counter.li.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.