Use Mail::Sendmail. That worked for me, using -T. Ryan ----- Original Message ----- From: mark crowe (JIC) <[EMAIL PROTECTED]> To: CGI Beginners <[EMAIL PROTECTED]> Sent: Friday, August 03, 2001 8:24 AM Subject: Untainting for Mail::Send > Hi > > Following Randal's (and other's) comments about CGI security, I've started > trying to improve my CGI scripts. For most of them I've introduced the -T > switch and made appropriate changes, and everything works fine. > > However I'm having problems with one which e-mails a database search result > to the user, using Mail::Send. However I try and untaint the address, I get > an error 'Insecure dependency in piped open while running with -T switch at > .../Mail/Mailer.pm line 270'. > > Even if I go to the extreme solution and hard code my own address into the > $msg -> to(address) method, I still get this error. Can I use Mail::Send > with the -T option at all, and am I likely to get similar problems if I try > other Mail modules instead? > > Thanks > > Mark C > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]