Re: [Exim] how to rewrite

Etusivu
Poista viesti
Vastaa
Lähettäjä: Michael Johnson
Päiväys:  
Vastaanottaja: Exim-users
Aihe: Re: [Exim] how to rewrite
On Feb 11, 2004, at 1:38 AM, Fred Viles wrote:

>   # If both Reply-to and List-Post exist, copy original Reply-To
>   # (optional)
>   headers_add    = ${if and { \
>         {def:header_reply-to:} {def:header_list-post:}\
>             } {X-was-reply-to: $header_reply-to:} {} }
>   # If List-Post exists, generate Reply-To from it
>   headers_add    = ${if match {$header_list-post:} {\<mailto:(.*)\>} \
>              {reply-to: <$1>} {} }
>   # If both Reply-to and List-Post exist, remove original Reply-To
>   headers_remove = ${if and { \
>             {def:header_reply-to:} {def:header_list-post:}\
>             } {reply-to} fail }

>
> The various headers_add and headers_remove are remembered, and are
> all processed at transport time (removes first).


This seems to have failed. I stopped getting mail once I added this
header. I think it will send mail, but I'm not certain.

In my panic log, I get:

2004-02-11 11:48:11 Exim configuration error in line 229 of
/usr/exim/configure:
"headers_add" option set for the second time

This entry exists several times. I've gone in and commented out the
section so hopefully my exim will send/receive mail again.

-Michael

PS If the message to me fails, please CC kaiser@??? on this.

---------------------------------------
There will always be those who dare to take great risks. Rather than
mourn their loss, we should value their contributions.

            --Jesse Brown