[exim-dev] [Bug 1154] New: -D expansion does not work on lon…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Andreas Metzler
Data:  
Para: exim-dev
Temas novos: [exim-dev] [Bug 1154] -D expansion does not work on long identifiers, [exim-dev] [Bug 1154] -D expansion does not work on long identifiers, [exim-dev] [Bug 1154] -D expansion does not work on long identifiers
Asunto: [exim-dev] [Bug 1154] New: -D expansion does not work on long identifiers
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1154
           Summary: -D expansion does not work on long identifiers
           Product: Exim
           Version: 4.76
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Unfiled
        AssignedTo: nigel@???
        ReportedBy: eximusers@???
                CC: exim-dev@???



The -D commandline facililty for setting macros fails on long identifiers,
only the first 22 characters of the identifier are replaced.

-------------

ametzler@argenau:~$ cat /tmp/exim4conftest
.ifdef A123456789B123456789C123
primary_hostname = A123456789B123456789C123
.endif
ametzler@argenau:~$ /usr/sbin/exim -C /tmp/exim4conftest \
     -DA123456789B123456789C123=foo.com -bP primary_hostname
primary_hostname = foo.com3
ametzler@argenau:~$ cat /tmp/exim4conftest
.ifdef A123456789B123456789C12
primary_hostname = A123456789B123456789C12
.endif
ametzler@argenau:~$ /usr/sbin/exim -C /tmp/exim4conftest \
    -DA123456789B123456789C12=foo.com -bP primary_hostname
primary_hostname = foo.com
-------------------------


Setting the macro in a (.included) file works, however:
-------------------------
ametzler@argenau:~$ cat /tmp/exim4conftest
A123456789B123456789C123=blubb.com
.ifdef A123456789B123456789C123
primary_hostname = A123456789B123456789C123
.endif
ametzler@argenau:~$ /usr/sbin/exim -C /tmp/exim4conftest \
    -bP primary_hostname
primary_hostname = blubb.com
-------------------------



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