Re: [exim] Rejecting messages with no "To:" or "Cc:" field i…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: exim users
Date:  
À: exim users
Sujet: Re: [exim] Rejecting messages with no "To:" or "Cc:" field in the headers
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