[exim] allow headers_remove|add options to be given multiple…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc Haber
Datum:  
To: exim-users
CC: Marc Haber
Betreff: [exim] allow headers_remove|add options to be given multiple times
Hi,

this is Debian bug #276126, http://bugs.debian.org/176126.

Greetings
Marc

----- Forwarded message from Jari Aalto <jari.aalto@???> -----

> From: Jari Aalto <jari.aalto@???>
> Subject: exim4-daemon-heavy: [headers_remove] allow option to exists multiple times
> To: Debian Bug Tracking System <submit@???>
> Date: Tue, 12 Oct 2004 09:24:15 +0300
>
> I was writing code like this to the outgoing SMTP transport:
>
> remote_smtp:
>   debug_print = "T: remote_smtp for $local_part@$domain"
>   driver = smtp
> .ifdef MY_SMTP_DISABLE_SENDER
>   headers_remove = Sender
> .endif
> .ifdef SA_EXIM_SMTP_HEADERS_REMOVE
>   headers_remove = X-SA-Do-Not-Run \
>                  : X-SA-Exim-Scanned \
>                  : X-SA-Exim-Rcpt-To \
>                  : X-SA-Exim-Mail-From \
>                  : X-SA-Exim-Version \
>                  : X-SA-Exim-Connect-IP
> .endif

>
>
> Unfortunately option 'headers_remove' cannot be used multiple times:
>
>     2004-10-12 09:18:00 Exim configuration error in line 478 of 
>       /var/lib/exim4/config.autogenerated.tmp:
>       "headers_remove" option set for the second time
>     Invalid new configfile /var/lib/exim4/config.autogenerated.tmp
>     not installing /var/lib/exim4/config.autogenerated.tmp to 

>
> If possible, add support for these options, so that they could appear
> multiple times.
>
>     headers_remove, headers_add

>
> This way different programs could integrate to Exim in modular manner
> using ifdef's.


----- End forwarded message -----

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835