On 18/11/2010 09:32, David Saez Padros wrote:
>> (that is, mail which, in a client, would be
>> displayed as being sent to "undisclosed recipients"). Alternatively, if
>> it's easier, I want to be able to reject mail for which one of our
>> domains doesn't appear in the "To" or "Cc" header (ie, we are merely a
>> Bcc or list recipient).
>
> deny !condition = ${if match {$h_to:}...@mydomain}}
Would this one work with something like +local_domains in there, so that
it does a lookup elsewhere against the list of domains it will accept in
the To header?
Mark
--
http://mark.goodge.co.uk
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/