Re: [exim] Router and transport for modifing message

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jasen Betts
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Router and transport for modifing message
On 2023-04-25, mouse via Exim-users <exim-users@???> 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.
🇺🇦 Слава Україні