[exim-dev] [Bug 1623] New: macro expansion in -be '...'

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Heiko Schlittermann
Datum:  
To: exim-dev
Neue Treads: [exim-dev] [Bug 1623] macro expansion in -be '...', [exim-dev] [Bug 1623] macro expansion in -be '...', [exim-dev] [Bug 1623] macro expansion in -be '...', [exim-dev] [Bug 1623] macro expansion in -be '...', [exim-dev] [Bug 1623] macro expansion in -be '...', [exim-dev] [Bug 1623] macro expansion in -be '...'
Betreff: [exim-dev] [Bug 1623] New: macro expansion in -be '...'
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1623
           Summary: macro expansion in -be '...'
           Product: Exim
           Version: 4.85+ HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: String expansion
        AssignedTo: nigel@???
        ReportedBy: hs@???
                CC: exim-dev@???



It would be useful to allow macro expansion in -be '...' and -bem ...
Why?

exim \
  -DUNFOLDED_RECEIVED='${sg{$h_received:}{\\n\\s+}{}}' \
  -DINCREMENT='${eval:$value+1}' \
  -bem ./eml \
       '${reduce{<\n UNFOLDED_RECEIVED}{0}{INCREMENT}}'


or

exim -C macros -be '${sg{FOO}{x}{y}}'

Surely it's not important for daily operation, but it's helpful to
understand and construct expansion expressions.

--
Heiko


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