add header after user authentication?
Hi, how can I add a custom header (e.g.: X-processedby: mycompany), for all the messages sent by authenticated users?
-
Thanks for your reply! It isn't exactly what I needed, I finally found out a partial solution adding this ACL for custom_end_recipient: warn condition = ${if match_domain{$sender_address_domain}{+local_domains} {yes}{no}} add_header = X-MY_CUSTOM_HEADER: MY_HEADER_VALUE In this way, all the email whose sender is in local domains, should have the X_MY_CUSTOM_HEADER added.. Hope it helps! 0 -
I'm glad you were able to come up with a solution! 0
Please sign in to leave a comment.
Comments
3 comments