[exim-dev] [Bug 2734] New: Add ${unquote_local_part:<string>…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: admin
Fecha:  
A: exim-dev
Asunto: [exim-dev] [Bug 2734] New: Add ${unquote_local_part:<string>} to reverse ${quote_local_part:<string>}
https://bugs.exim.org/show_bug.cgi?id=2734

            Bug ID: 2734
           Summary: Add ${unquote_local_part:<string>} to reverse
                    ${quote_local_part:<string>}
           Product: Exim
           Version: N/A
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: String expansion
          Assignee: unallocated@???
          Reporter: bugzilla.exim.simon@???
                CC: exim-dev@???


I want to use the same ACL with and without PRDR so I'm taking the first item
in $recipients in the DATA ACL and using it if PRDR hasn't been used (I defer
additional addresses when PRDR isn't used so that there should only be one).

This doesn't work for local parts that are quoted. They are unquoted in
$local_part but quoted in $recipients and ${local_part:<string>} returns the
quoted form.

There's no string expansion to remove quoting of a local part. I need a
${unquote_local_part:<string>} string expansion that returns the unquoted
version of the local part.

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