RE: [exim] Exim 3 (yeah i know) E-Mail reject question

Top Page
Delete this message
Reply to this message
Author: David Brodbeck
Date:  
To: exim-users
Subject: RE: [exim] Exim 3 (yeah i know) E-Mail reject question
> -----Original Message-----
> From: Sascha E. Pollok [mailto:exim-users@pollok.net]


> What I have to achieve is a check of certain elements
> upon receipt of an e-mail after the DATA part. To be
> more precisely, I need to block e-mails with certain
> header-fields and maybe body-parts. I guess I need
> to setup some kind of condition but since this is
> a relay box, I guess I would need to do this in a Router
> which does not offer things new_address = :fail: ,
> does it?


I know this isn't what you want to hear, but this would probably be much
easier to implement in Exim 4. In Exim 4 you can have ACLs (access control
lists) that test the data portion of a message. With the Exiscan patch, you
can also write ACLs that test individual MIME segments. This gives you a
really powerful and flexible way to do content filtering.

In Exim3, your best bet may be to write an external script to do your tests,
then use the transport_filter feature to call it.