On Thu, Jun 21, 2007 at 09:25:28PM +0200, Marco Schumann wrote:

> my brain is twisted as I tried all day to stop accepting mails with a
> subject matching "Fw: ${local_part}_report.pdf" as I face an unwanted
> wave of those mails.

Try putting this in your system filter.  It should do close to what you want.

   if foranyaddress $recipients ($h_subject: matches "Fw: 
${local_part:$thisaddress}_report.pdf")
   then
       fail "bad subject"
   endif

The only thing to keep in mind is that it will block the entire message
even if a single recipient matches the subject line.  Presumably you
are trying to block some sort of virus or something, so maybe that's ok.

--
Dean Brooks
[EMAIL PROTECTED]

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