Mailing List Archive

[Bug 2605] $domain_data is not expanded during event_action
https://bugs.exim.org/show_bug.cgi?id=2605

--- Comment #3 from Jeremy Harris <jgh146exb@wizmail.org> ---
The issue is that this event (like the logging) for the delivery is raised by
and
in the delivery process, and not the transport process (which is a child of the
delivery process). The value for $domain_data is not one of the items passed
back, so if it was created in the transport you can't use it in a msg:deliver
event.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2605] $domain_data is not expanded during event_action [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2605

--- Comment #4 from Daan van Gorkum <daan@vusam.com> ---
Is this the same for transport_filter too in transports? Is there any way to
know where $*_data is valid or should this be tested manually?

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2605] $domain_data is not expanded during event_action [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2605

Jeremy Harris <jgh146exb@wizmail.org> changed:

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

--- Comment #5 from Jeremy Harris <jgh146exb@wizmail.org> ---
No; a transport filter is run in a child process of the transport so has
visibility
of all variables created before it runs.

The documentation should call out unusual cases. Specifically with respect to
the issue at hand the Events chapter says:
"variables set in transport events will not be visible outside that
transport call".

Closing as not-a-bug.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##