On 27/04/16 01:58, soumya tr wrote:
> add_header_for_forwarders:
> driver = redirect
> require_files = "+/etc/valiases/$domain"
> data = ${lookup{$local_part@$domain}lsearch{/etc/valiases/$domain}}
> condition = ${lookup{$local_part@$domain}lsearch{/etc/valiases/$domain}
> {yes}{no}}
> headers_add = X-MyHeader: ${perl{getdomainowner}{$domain}}
> pipe_transport = ${if
> forall{/bin/cagefs_enter:/usr/sbin/cagefsctl}{exists{$item}}{cagefs_virtual_address_pipe}{${if
> match{${extract{6}{:}{${lookup
> passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}}{\N(jail|no)shell\N}{jailed_virtual_address_pipe}{virtual_address_pipe}}}}
> unseen
> 
> 
> But for some reason the header addition isn't happening.

How are you checking?  Is the "unseen" behaviour tripping you up?

> Also, if the header already exist will header_add again add the header

Yes.
-- 
Jeremy


-- 
## List details at https://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