Re: [Exim] how to rewrite

Inizio della pagina
Delete this message
Reply to this message
Autore: Fred Viles
Data:  
To: exim-users
Oggetto: Re: [Exim] how to rewrite
On 11 Feb 2004 at 13:39, Michael Johnson wrote about
    "Re: [Exim] how to rewrite":


|...
| Now, is it possible to combine the first two into a single headers_add
| to get the function of the three?


Sure, and actually it's more elegant that way. Still untested:

  headers_add    = ${if and { \
        {def:header_reply-to:} \
        {match {$header_list-post:} {\<mailto:(.*)\>}} \
    } {X-was-reply-to: $header_reply-to:\nreply-to: <$1>} {} }


| The problem was it didn't like
| having two headers_add in the configuration.


Yes, sorry about that. I didn't realize that from reading the option
descriptions in the spec.

- Fred