[exim-dev] [Bug 2310] event_action fires/expands with -Mg fl…

Pàgina inicial
Delete this message
Reply to this message
Autor: admin
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 2310] event_action fires/expands with -Mg flag, but not with -Mrm
https://bugs.exim.org/show_bug.cgi?id=2310

--- Comment #9 from Matthias Kurz <m.kurz@???> ---
Alright, it's done - here is a working version that fires "msg:complete" when a
message gets removed via "-Mrm".

The problem I was facing a couple of days ago was that the ACL definitions were
not available in queue_action(...) because the were not loaded yet by
readconf_rest(...). So what I did is load them but only for the MSG_REMOVE
action. (I understand that readconf_rest(...) wasn't loaded yet but for that
specific queue-action it is needed now)

The only thing I am unsure right now is what acl_where should be set to. Right
now I made it ACL_WHERE_DELIVERY but maybe someone knows a better value? Or
should we just keep/set it to ACL_WHERE_UNKNOWN? Or add a new value for it?

In a future change we probably also want to call "msg:fail:internal" for all
recipients, however I will do that later in another patch. Let's finish that
one for now.

(Also I added 4 patch files which are all needed, I hope that's OK. If wished I
can just add one single patch.)

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