[exim-dev] [Bug 2314] New: Raise event (also) when ignore_er…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2314] New: Raise event (also) when ignore_error is true
https://bugs.exim.org/show_bug.cgi?id=2314

            Bug ID: 2314
           Summary: Raise event (also) when ignore_error is true
           Product: Exim
           Version: 4.91
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Transports
          Assignee: nigel@???
          Reporter: m.kurz@???
                CC: exim-dev@???


Created attachment 1105
--> https://bugs.exim.org/attachment.cgi?id=1105&action=edit
Fires an event for each recipient when ignoring an error

Check the change in test/log/5700 I made - it should explain everything.

When ignoring an error it means to quietly remove a message (without any
bounce, etc.). However we would like to know for each recipient when that
actually happens. Right now the only indication is a log entry like
"userx@domain1: error ignored". Having an event is much nicer than parsing log
files ;) (Plus the event provides an error string!)
Right now we only/already get the "msg:complete" event - but we don't actually
know what happened with the message/recipients before, e.g. in the test a
timeout occurs.)


Patch details:
--------------
In the failure_log function we don't raise an event anymore if ignore_error is
true, instead the error will be raised later when the ignore_error condition
will be handled explicitly. (If we would keep raising the event in failure_log
even when ignore_error is true + raise the event in the ignore_error condition
branch we would end up with duplicate events in certain condition.)

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