Software error: Insecure $ENV{PATH} while running with -T switch at /usr/share/perl5/MIME/Lite.pm line 2571. 1 Content-type: text/html Software error: error closing /usr/lib/sendmail: (exit 65280) 1 #### use MIME::Lite; MIME::Lite->send("sendmail"); # ... variables definition here my $msg = MIME::Lite->new( To => "$emailsite", From => "$from", Subject => "Contato >> $assunto", Type => 'text/html', Data => "$html" ); $msg->send(); # This call triggers the error. If I comment it out there´s no error message. But there´s no email too... #### if ( is_tainted($variable) ) { die "tainted"; } else { die "not tainted"; } sub is_tainted { return ! eval { join('',@_), kill 0; 1; }; } #### Software error: Insecure dependency in exec while running with -T switch at /usr/share/perl5/MIME/Lite.pm line 2571. 1 Content-type: text/html Software error: error closing /usr/lib/sendmail: (exit 65280) 1