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

Pàgina inicial
Delete this message
Reply to this message
Autor: Lena
Data:  
A: exim-users
Assumpte: 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@???