Re: [exim] supplying headers_add from an lsearch won't work

Top Pagina
Delete this message
Reply to this message
Auteur: Lena
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] supplying headers_add from an lsearch won't work
> From: Don Walker

> I also want to add headers in the same manner using another file which
> also contains an entry for each list with the headers_add content, as in
>
> headers_add = ${lookup{$local_part}lsearch{/etc/exim/mladdhdr}}
>
> where the file mladdhdr contains entries like
>
> mylist: To: aaaaa@??? \n\ From: xxxxx@???


Try:

headers_add = ${expand:${lookup{$local_part}lsearch{/etc/exim/mladdhdr}}}

mylist: To: aaaaa@???\nFrom: xxxxx@???