[exim] add_header in ACL- when header is really added?

Top Page
Delete this message
Reply to this message
Author: mouse
Date:  
To: exim-users
Subject: [exim] add_header in ACL- when header is really added?
Hello. I'm using "av_scanner = cmdline" option in my Exim 4.89
configuration. I want to pass some parameters to malware scanner via
add_header feature:
-----------------------
acl_check_data:

warn
     # Add some headers to a message
     add_header = X-ACL-Data: 1
...
warn
    # Check message for malware
    malware = *
-----------------------


The problem is - at malware scanning time the "X-ACL-Data" header does
not exist in a message. But it DOES exist when a message is finally
delivered to recipient.
Thanks for any ideas.


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/