On Fri, 7 Jul 2006, [EMAIL PROTECTED] wrote:

> acl_data:
>       deny message = Your message contains illegal text
>               condition = ${run{grep -q "illegal text" 
> $spool_directory/input/[how to get subdir?]/$messageid-D}{yes}{no}}
> 
> or better ideas?

Use a MIME ACL (set by smtp_acl_mine) and a mime_regex condition. That
way you can also deal with encoded bodies. Or if that isn't relevent, 
just an ordinary regex condition.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to