[exim-dev] [Bug 2508] New: Preserve certain headers, drop th…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 2508] Preserve certain headers, drop the rest
Subject: [exim-dev] [Bug 2508] New: Preserve certain headers, drop the rest
https://bugs.exim.org/show_bug.cgi?id=2508

            Bug ID: 2508
           Summary: Preserve certain headers, drop the rest
           Product: Exim
           Version: 4.92
          Hardware: x86
                OS: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: String expansion
          Assignee: unallocated@???
          Reporter: rigucucu@???
                CC: exim-dev@???


We relay emails from various remote locations (which are using various mail
setups). It is impossible to anticipate the variety of headers each individual
MTA has added (custom x-headers and such) and we need a clear and consistent
outgoing mail header setup. So ideally we would retain a predefined set of
headers and drop the rest.

On the exim-users mailing list Jeremy Harris suggested a workaround:

"
Walk the $message_headers (it's a newline-sep list) using foreach.
See if it's not a wanted header, and call an ACL to remove_header.
"

Would it be maybe possible to consider implementing a simpler way for achieving
this?

--
You are receiving this mail because:
You are on the CC list for the bug.