[exim] Complex reaction to certain addresses combinations

Etusivu
Poista viesti
Vastaa
Lähettäjä: Konstantin Boyandin
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Complex reaction to certain addresses combinations
Greetings,

I have to solve the following task:

IF certain combination of addresses in To/Cc/Reply-To/From is unacceptable, THEN
DO NOT process message further
SEND notification to the sender about this
SEND notification to additional list of adresses about this

Details: there are recipients domains (A) and local addresses (B). If
To/Cc contains any from A and if any from To/Cc/Reply-To/From contains
anything outside of A+B, then this combination if unacceptable.

A and B should be kept in text format compatible with aliases'
:include: format (new line/comma separated).

Could someone tell me how to handle this in case of Exim most efficiently?

Thanks.

With all respect,

Konstantin Boyandin