[exim-dev] [Bug 3045] New: Logging of incoming messages with…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Bugzilla
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 3045] New: Logging of incoming messages with bad addresses or no recipients to paniclog not helpful
https://bugs.exim.org/show_bug.cgi?id=3045

            Bug ID: 3045
           Summary: Logging of incoming messages with bad addresses or no
                    recipients to paniclog not helpful
           Product: Exim
           Version: 4.98
          Hardware: All
                OS: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Logging
          Assignee: unallocated@???
          Reporter: holmgren@???
                CC: exim-dev@???


Lines 3383-3384 of src/src/receive.c log to paniclog when exim is run with -t
and there are one or more bad addresses or no recipients at all:

  log_write(0, LOG_MAIN|LOG_PANIC, "%s %s found in headers",
    message_id, bad_addresses ? "bad addresses" : "no recipients");


I'm not sure if writing to the panic log is called for given that / if a normal
bounce message is also sent to the sender. If it is, could more information be
logged? I can of course go to the main log and look for the message ID (which
is logged twice, btw, because log_write() automatically prepends the current
message ID), but that doesn't tell me what the bad address(es) was/were. In the
case of no recipients at all, I'm not sure what information I'd like to see in
order to better diagnose the problem. I don't think preserve_message_logs will
help me.

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

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/