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

Inizio della pagina
Delete this message
Reply to this message
Autore: John Burnham
Data:  
To: 'Mark Goodge', 'exim-users@exim.org'
Oggetto: Re: [exim] Rejecting messages with no "To:" or "Cc:" field in the headers
>
> On 18/11/2010 09:32, David Saez Padros wrote:
> > Hi
> >
> >> I have a specific application where we need to reject mail
> that has no
> >> "To" or "Cc" header
> >
> >     deny    condition      = ${if !def:h_To: {1}}
> >             message        = Missing To: header

>
> Thanks. Second newbie question: where do I add those lines?
> We're using
> the split config with all the configuration in multiple files under
> conf.d. My guess is that it goes in one of the ACL files, but
> which one?
>


It would have to be in the data ACL (because before then you don't have the headers).

John