[exim] Tainted PATH (file or directory name for maildir_spa…

Top Page
Delete this message
Reply to this message
Author: Adam Major
Date:  
To: exim-users
Subject: [exim] Tainted PATH (file or directory name for maildir_spam_delivery transport) not permitted
Hello

Updated exim from 4.92 to 4.94 and have a huge problem.
I read about tainted but dont understand ;/

I have accounts data in MySQL

One of routers is:

mysql_localuser:
     driver = accept
     domains = +local_domains
     condition = ${if eq{}{${lookup mysql {SELECT mail_user FROM 
mail_box WHERE \
         mail_domain='${quote_mysql:$domain}' AND 
mail_user='${quote_mysql:$local_part}'}}}{no}{yes}}
     transport = mysql_delivery
     no_more





One on transport is:
mysql_delivery:
     driver = appendfile
     directory=/var/mail/virtual/${domain}/${local_part}/
     maildir_format=yes
     delivery_date_add
     envelope_to_add
     return_path_add
     message_size_limit = 100M
     maildir_use_size_file = true
     quota = ${lookup mysql{SELECT quota FROM mail_box WHERE 
mail_domain='${quote_mysql:$domain}' \
              AND mail_user='${quote_mysql:$local_part}'}{$value}{5}}M
     quota_warn_threshold = 80%
     quota_warn_message = "\
     To: $local_part@$domain\n\
     Subject: Your mailbox is almost full\n\n\
    xxxx"




I tried change $domain to $domain_data and $local_part to
$local_part_data in mysql_delivery but not working.


How Can I fix it?