Re: [exim] Complex reaction to certain addresses combination…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andrew Johnson
Dátum:  
Címzett: 'Konstantin Boyandin', exim-users
Tárgy: Re: [exim] Complex reaction to certain addresses combinations



> -----Original Message-----
> From: Konstantin Boyandin [mailto:temmokan@gmail.com]
> Sent: 21 May 2008 10:04
> To: exim-users@???
> Subject: [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?


I would say the best bet is to check the envelope addresses. From, To, CC
can appear in some wonderful formats with peoples real names in "" etc. Then
that only leaves you with reply-to checking to be done in some sort of exim
code.

-Andy-