[exim] adding a header to a message in an ACL, even when the…

Top Page
Delete this message
Reply to this message
Author: Josip Rodin
Date:  
To: exim-users
Subject: [exim] adding a header to a message in an ACL, even when the condition defers
Hi,

I want to do this:

  warn message = X-Exim-ACL-envelope-sender-verify: failed ($acl_verify_message)
       !verify = sender/callout=60s


...and that's all good, *unless* it defers, in which case I get no header :(

Adding defer_ok makes the warn verb not run at all, so I get no header
either.

The docs for add_header (added in 4.61) don't seem to imply any difference
in this regard.

What exactly do I want to do here instead of the above? :)

Perhaps something like:

  accept !verify = sender/callout=60s
         set acl_m7 = true
  ...
  warn message = X-Exim-ACL-envelope-sender-verify: failed ($acl_verify_message)
       condition acl_m7 = true


?

-- 
     2. That which causes joy or happiness.