[Bug 859] New: Invalid syntax in log_message is not detected

View: New views
2 Messages — Rating Filter:   Alert me  

[Bug 859] New: Invalid syntax in log_message is not detected

by Bugzilla from john.horne@plymouth.ac.uk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

http://bugs.exim.org/show_bug.cgi?id=859
           Summary: Invalid syntax in log_message is not detected
           Product: Exim
           Version: 4.69
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
        AssignedTo: nigel@...
        ReportedBy: john.horne@...
                CC: exim-dev@...


Hello,

Using exim 4.69 on CentOS 5.3.

In the ACL for the 'DATA' command I had the following:

        warn    condition = ${if >= {$spam_score_int} {80} }
                log_message: LOGGING: Spam message seen: $spam_score_int

Note that the keyword 'log_message' is followed by a colon rather than an '='.
Exim ran okay with this. I only noticed it because our logs were not showing
any spam being received. Once I changed the ':' to an '=', then I started to
get the log entries.

I would have expected a panic log entry, or 'exim -bV' to pick something up,
but neither occurred.

(Sorry, but I'm right in the middle of reconfiguring a mailhub, so I haven't
tested this any further. I thought I should report it before I forget.)



John.


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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

[Bug 859] Invalid syntax in log_message is not detected

by Bugzilla from john.horne@plymouth.ac.uk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

http://bugs.exim.org/show_bug.cgi?id=859

John Horne <john.horne@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from John Horne <john.horne@...>  2009-07-09 12:04:59 ---
Okay, apologies, forget all that.

I have just done some testing, and exim does detect the invalid syntax.
'exim -bV' gives an error, and trying to start the exim daemon also gives an
error. So exim is working as you would expect.



John.


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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##