[exim-dev] [Bug 2310] New: event_action fires/expands with -…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: admin
Fecha:  
A: exim-dev
Asunto: [exim-dev] [Bug 2310] New: event_action fires/expands with -Mg flag, but not with -Mrm
https://bugs.exim.org/show_bug.cgi?id=2310

            Bug ID: 2310
           Summary: event_action fires/expands with -Mg flag, but not with
                    -Mrm
           Product: Exim
           Version: 4.91
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Queues
          Assignee: nigel@???
          Reporter: m.kurz@???
                CC: exim-dev@???


When forcing a message to fail and bounce as "cancelled by administrator" via
"exim -Mg <message-id>" an event with event_name="msg:fail:internal" and
event_data="delivery cancelled by administrator" gets fired per (undelivered)
recipient. Plus eventually the "msg:complete" event gets fired.
You can see this behaviour in test 5700 for message-id "10HmbC-0005vi-00":
https://github.com/Exim/exim/blob/6b1bf31e4494f50bab891890aefcc9a9161eba01/test/log/5700#L87-L90

I would expect the same behaviour when removing a message from the queue via
"exim -Mrm <message-id>" (which doesn't send a bounce), however this isn't the
case. No event get's fired at all, not even "msg:complete" (!) - which is even
more surprising given the fact that the mainlog even logs "Completed" for such
a removed message:
---
2018-09-07 12:53:48 1fyEOV-00074t-Pk removed by root
2018-09-07 12:53:48 1fyEOV-00074t-Pk Completed
---

I tried to provide a patch, however, given that the last time I programmed in C
was 16 years ago and I don't really have time to get familiar with the exim
code base I would be really happy if some experienced exim dev shows up and
provides a patch ;)

Thanks for the great work!

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