On 2023-04-25, mouse via Exim-users <[email protected]> wrote:
> Hello. I'm using transport_filter to modify certain incomimg e-mail (for
> example, to set proper encoding for some headers). Based on others
> experience here is my configuration:
> My question is - is there any way to just pass e-mail through modifing
> script *without re-injecting* email via "command = ..."?
> Basically I'd like to have the following "simple-and-clean" scheme:
>
> Incoming e-mail -> Pass to send_to_modify_email ROUTER -> Pass modified
> e-mail to some other ROUTER for real delivery.
Do the mofication instead in the real delivery transport
transport_filter=${if \
inlist{list_of_senders_whose_email_is_bad}{$sender_address}\
{<path_to_modifing_script>}}
--
Jasen.
🇺🇦 Слава Україні
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/