Re: Send email using SMTP

2009-01-09 Thread Adam Jimerson
Adam Jimerson wrote: I wasn't able to remember what it exactly said, but yes it is about $ENV{PATH}, on my machine perldoc perlsec is riddled with formating problems it looks like, here is a copy of what I mean: Ok adding $ENV{PATH} = ''; or even $ENV{PATH} = '/usr/bin'; (in case it needs

Re: Send email using SMTP

2009-01-09 Thread Adam Jimerson
Gunnar Hjalmarsson wrote: I wasn't able to remember what it exactly said, but yes it is about $ENV{PATH}, on my machine perldoc perlsec is riddled with formating problems You can always read it online: http://perldoc.perl.org/perlsec.html Do I need to specify anything for the $ENV{PATH}

Re: Send email using SMTP

2009-01-09 Thread Adam Jimerson
Mike Williams wrote: You can read the output of perldoc perlsec on the web at: http://perldoc.perl.org/perlsec.html That will help, thanks! What version of perl are you using? What OS? I've seen similar problems with perldoc a few years ago while using perl 5.6.1 on early versions

RE: Send email using SMTP

2009-01-09 Thread Dermot Paikkos
This is all very OT and the thread is running strongly on perl-beginners. :-/ -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Send email using SMTP

2009-01-09 Thread Gunnar Hjalmarsson
Adam Jimerson wrote: Gunnar Hjalmarsson wrote: Adam Jimerson wrote: Do I need to specify anything for the $ENV{PATH} or do I just leave it blank It depends. You have to take into consideration whether your program relies on any of the paths. If not, it's fine to leave it blank. The only

Re: Send email using SMTP

2009-01-09 Thread Gunnar Hjalmarsson
Dermot Paikkos wrote: This is all very OT Is a discussion about taintedness off topic on a Perl-CGI list? Don't think so. and the thread is running strongly on perl-beginners. :-/ And...? -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail:

RE: Send email using SMTP -Should be

2009-01-09 Thread Dermot Paikkos
Is a discussion about taintedness off topic on a Perl-CGI list? Don't think so. 'Sending email via SMTP' is off-topic for CGI. Cross-posting is bad form on any list. Bad boy Fulivo. Adam pointed out on Wednesday that the thread was slipping OT. and the thread is running strongly on

Re: Send email using SMTP

2009-01-09 Thread matt
I wasn't able to remember what it exactly said, but yes it is about $ENV{PATH}, on my machine perldoc perlsec is riddled with formating problems it looks like, here is a copy of what I mean: Perl automatically enables a set of special security checks, called ESC[4mtaintESC[24 m

Opening a pipe when taint mode is enabled (was: Send email using SMTP)

2009-01-09 Thread Gunnar Hjalmarsson
Adam Jimerson wrote: Gunnar Hjalmarsson wrote: There is only one suspected variable to consider, i.e. $name, which is probably tainted. Untaint it, and you are done. ( You remember where to find out how, right? ;-) ) According to perlsec I need to use it as a key in a hash or reference a