my $send_path = "/usr/sbin/sendmail -oi -t"; if ($send_path =~ /(.*)/) { $send_path = $1; } [download]
In reply to Insecure $ENV{PATH} while running with -T switch by Anonymous Monk