Autor: Jeremy Harris Data: Dla: exim-users Temat: Re: [exim] headers_add corner case
On 30/11/2018 20:24, Ian Zimmerman via Exim-users wrote: > What happens if the right hand side for headers_add option is empty
> after expansion? Clearly I would rather not add an empty header line
> ;-)
>
> Right now I am most interested in the answer for the generic transport
> option, but I don't expect it to differ in all the other places where
> this option is allowed.
>
The spec says:
"If the result of the expansion is an empty string, or if the expansion
is forced to fail, no action is taken."
For the ACL add_header, the spec doe not say - but the code does
silently do nothing.
--
Cheers,
Jeremy