> 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: [email protected] \n\  From: [email protected]

Try:

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

mylist:  To: [email protected]\nfrom: [email protected]

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to