Doug Jolley wrote:

> However, short of setting up a separate warn
> statement which mirrors the conditions for each
> of the accept statements, I'm not sure how I can
> use the warn verb to accomplish this objective.

It thought that there's a way to add a header in an accept, but it seems
not. Anyway, you can use this:

warn
  message = X-Accepted: something
  set acl_m0 = ok
accept
  condition = ${if def:acl_mo}

or:

accept
  cond1
  ...
  set acl_m0 = the reason why

...

your_router:
  ...
  headers_add = X-Accepted: ${if def:acl_m0 {$acl_m0}{unknown}}



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

Reply via email to