[exim-dev] [Bug 2605] $domain_data is not expanded during event_action
https://bugs.exim.org/show_bug.cgi?id=2605 Jeremy Harris changed: What|Removed |Added Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #5 from Jeremy Harris --- 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/ ##
[exim-dev] [Bug 2605] $domain_data is not expanded during event_action
https://bugs.exim.org/show_bug.cgi?id=2605 --- Comment #4 from Daan van Gorkum --- 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/ ##
[exim-dev] [Bug 2605] $domain_data is not expanded during event_action
https://bugs.exim.org/show_bug.cgi?id=2605 --- Comment #3 from Jeremy Harris --- 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/ ##
[exim-dev] [Bug 2605] $domain_data is not expanded during event_action
https://bugs.exim.org/show_bug.cgi?id=2605 --- Comment #2 from Daan van Gorkum --- Sorry, I just noticed I omitted some information. This happens in the "appendfile" driver. Other places in the same driver/transport $domain_data does work, that's why I was under the impression it should work. Also shouldn't it be safer to $domain_data instead of $domain with the recent introduced taints? -- 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/ ##
[exim-dev] [Bug 2605] $domain_data is not expanded during event_action
https://bugs.exim.org/show_bug.cgi?id=2605 --- Comment #1 from Jeremy Harris --- Depending on where you are causing $domain_data to be created, it may not be available to the process where that specific event (msg:delivery) is raised. This is unlikely to be changed. -- 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/ ##