[exim] De-taint data

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Gregory Edigarov
Date:  
À: exim-users
Sujet: [exim] De-taint data
Hi,

Having this in config, exim-4.94

local_copy_incoming:
  driver = appendfile
  directory = /var/vmail/backup/$domain/$local_part/incoming
  delivery_date_add
  envelope_to_add
  return_path_add
  group = mail
  user = mail
  mode = 600
  maildir_format
  create_directory

log message is:

2020-10-22 08:41:34 1kVTLv-000661-Sk =>
/var/vmail/duefocus.com/admin/Maildir <admin@???>
R=virtual_domains T=virtual_delivery ST=local_copy_incoming (Tainted
'/var/vmail/backup/duefocus.com/admin/incoming' (file or directory name
for local_copy_incoming transport) not permitted)

if i am trying to change to

  directory = /var/vmail/backup/$domain/$local_part_data/incoming

the message is becoming:
(Tainted '/var/vmail/backup/duefocus.com//incoming' (file or directory
name for local_copy_incoming transport) not permitted)

Ok, so how do I de-taint this?

--
With best regards,
        Gregory Edigarov