[exim-dev] [Bug 1507] New: ":" expected after "def" inside "…

Top Pagina
Delete this message
Reply to this message
Auteur: Kirill Miazine
Datum:  
Aan: exim-dev
Onderwerp: [exim-dev] [Bug 1507] New: ":" expected after "def" inside "and{...}" condition
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1507
           Summary: ":" expected after "def" inside "and{...}" condition
           Product: Exim
           Version: 4.83
          Platform: Other
        OS/Version: OpenBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: String expansion
        AssignedTo: nigel@???
        ReportedBy: km@???
                CC: exim-dev@???



Hi

I have had the following options on my remote smtp transport for ages:

    headers_add = ${if and{\
                           {def:sender_host_authenticated}\
                           {def:authenticated_id}\
                          }\
                    {X-Anonymized-by: $smtp_active_hostname
($tod_log)\nADD_HEADERS}\
                    {ADD_HEADERS}}
    headers_remove = ${if and{\
                              {def:sender_host_authenticated}\
                              {def:authenticated_id}\
                             }\
                       {received : dkim-signature : x-mailer : REMOVE_HEADERS}\
                       {REMOVE_HEADERS}}


4.83 complains with the following error message:

remote_smtp defer (-25): failed to expand headers_add or headers_remove: ":"
expected after "def" inside "and{...}" condition

I can confirm this works in 4.82.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email