Re: [exim] allow headers_remove|add options to be given mult…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: Marc Haber
Kopio: exim-users
Aihe: Re: [exim] allow headers_remove|add options to be given multiple times
On Sun, 6 Feb 2005, Marc Haber wrote:
>
> That's a bad hack and a horrible nightmare if you want to have that
> inside a package.


Why is it any more nightmarish than any other kind of ifdef soup?

In any case, Debian relies on auxiliary scripts to combine Exim
configuration fragments into a working configuration file, so it's
probably better for you to augment that script to combine multiple copies
of the same option into one, and do the ifdeffing at combine time rather
than run time.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}