I have moved to a new server with a new version of exim (the old one was very old) and am getting a taint error.
I have a pipe transport, as below, that writes to a script. Exim complains that an argument ($sender_address) is tainted, even if I can fix that it will prolly then complain that $header_subject is tainted. The script fully checks that the arguments are benign so I do not have any concerns. How do I get this to work ? Exim says: T=mail_to_url_transport: Tainted arg 2 for mail_to_url_transport transport command: '[email protected]' mail_to_url_transport: driver = pipe command = /usr/local/bin/MailToUrl $local_part_data $sender_address $header_subject ${lookup{.dir}lsearch{/etc/exim4/file_domains/$local_part_data}} user = mail group = www-data return_fail_output = true Thanks in advance. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 https://www.phcomp.co.uk/ Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html #include <std_disclaimer.h> -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
