Re: [Exim] disabling data acl checks depending on envelope t…

Top Page
Delete this message
Reply to this message
Author: Patrice Fournier
Date:  
To: Marc MERLIN
CC: Philip Hazel, exim-users
Subject: Re: [Exim] disabling data acl checks depending on envelope to
Quoting Marc MERLIN <marc_news@???>:

> > That still won't help. What do you do when a message is addressed to
> > two users, one of whom is on the list and one not?
>
> Then it goes through for both.
> Picture the requirement "sales@domain has to get *everything*" If that
> means that a mail send to sales and some other person and that fails
> header callbacks goes through to both, no big deal.


> Considering the above, is there a way to do it?


How about using warn in your rcpt ACL to add a custom header when
sales@domain is one of the recipients (this header could even explain to
the other users why this mail went through (that is if they do read the
headers!)) and checking for that header in the data ACL? I've not tested
this... so it may not work as expected...

--
Patrice Fournier
pfournier@???