[exim-dev] [Bug 1083] New: lookup failures with newline embe…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Phil Pennock
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 1083] New: lookup failures with newline embedded are truncated in logs
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1083
           Summary: lookup failures with newline embedded are truncated in
                    logs
           Product: Exim
           Version: 4.74
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Logging
        AssignedTo: pdp@???
        ReportedBy: pdp@???
                CC: exim-dev@???



See John Horne's thread, "Failed to expand ACL string"

When a DNS lookup fails SERVFAIL, a dnsdb lookup gives an expansion failure.
When using ${lookup dnsdb {>\n; txt=....}} the newline makes it into the
expansion failure message.

The logging truncates the message at the newline, losing data.

Fix the way that expansion failures with newlines make it into logs. Escape as
needed.


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