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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Lena
Date:  
À: exim-users
Sujet: 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@???