Re: [exim] headers_remove input from a file

Góra strony
Delete this message
Reply to this message
Autor: Exim Mailing List
Data:  
Dla: exim-users
Temat: Re: [exim] headers_remove input from a file
On Wed, Oct 31, 2007 at 09:34:42PM -0400, Jason Keltz wrote:

> Is it possible for the "headers_remove" config file entry to use a file
> listing the headers, rather than listing them in the exim config file?
> Right now, I have:
>
> headers_remove = X-UID:X-IMAPbase:X-IMAP
>
> ... what I'd like to be able to do is something like
>
> headers_remove = <file containing headers to remove>


You could do something like this:

headers_remove = ${readfile{/path/to/some/file}{:}}

You could then put each header on a line of its own, and the newlines
will be replaced with colons automatically.

Haven't tested it, but it should work. Just make sure the file
exists and is readable by Exim.

--
Dean Brooks
dean@???