Re: [exim] 4.94 - De-tainting without lookup?

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] 4.94 - De-tainting without lookup?
On 26/06/2020 08:50, Matthias Hörmann via Exim-users wrote:
>> # save copy of outgoing messages
>> traffic_tap_save_copy:
>> driver = appendfile

...
>> create_directory = true
>> directory = /var/mailarchive/outgoing/$sender_address_domain/$sender_address_local_part/$domain/$local_part/


# directory must exist
route_traffic_tap:
 driver = redirect
...
 set r_dir = ${lookup {$sender_address_domain}     dsearch,ret=full {/var/mailarchive/outgoing}}
 set r_dir = ${lookup {$sender_address_local_part} dsearch,ret=full {$r_dir}}
 set r_dir = ${lookup {$domain}                    dsearch,ret=full {$r_dir}}
 set r_dir = ${lookup {$local_part}                dsearch,ret=full {$r_dir}}
 data = $local_part@$domain, $r_dir/
 directory_transport = traffic_tap_save_copy
...


# directory is already set
traffic_tap_save_copy:
driver = appendfile

--
Cheers,
Jeremy