Re: [exim] Adding Precedence: Bulk to distribution lists

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Adding Precedence: Bulk to distribution lists
On 10/11/16 10:51, Gary Stainburn wrote:
> In my /etc/alias file I have a number of includes which I use to create
> distribution lists, e.g.
>
> parts-group:    :include:/etc/alias.d/parts-group


> I'm looking for the best suggestions on how I can add a Precedence header when
> the recipient is to one of these groups.
>
> Specifically, if the email is sent to a group and an individual, I would like
> it adding to the email received by the group, but not added to the one to the
> individual


Routers take a headers_add option, which is expanded and can be empty.
Use an expansion which looks up the (pre-aliased) recipient
and results in either your Percedence header, or empty.

http://exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_routers.html
--
Cheers,
Jeremy