------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1155 Summary: .ifdef test matches on substring Product: Exim Version: 4.76 Platform: Other OS/Version: Linux Status: NEW Severity: bug Priority: low Component: Unfiled AssignedTo: [email protected] ReportedBy: [email protected] CC: [email protected] Hello, this might be a documentation issue. The .ifdef test succeeds if a substring is defined: ------------------------------ ametzler@argenau:~$ cat /tmp/exim4conftest LO = 1 .ifdef LONG_STRING primary_hostname = yyy .endif ametzler@argenau:~$ /usr/sbin/exim -C /tmp/exim4conftest -bP primary_hostname primary_hostname = yyy ametzler@argenau:~$ ------------------------------ The documentation does not make this completely clear: It correctly describes exim's behavior with "The condition that is tested is whether or not any macro substitution has taken place in the line." But the explantion for the following example says "sets a message size limit of 50M if the macro AAA is defined, and 100M otherwise." Which is clearly wrong, the test would also succeed if AA was defined. cu andreas -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
