Actually, I got it to work by just calling /usr/sbin/sendmail.  Evitentally
Postfix comes with a file called sendmail that redirects everything to
postfix.

Thanks for your help though,
Kevin
----- Original Message -----
From: "skinky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Kevin Old" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 5:08 PM
Subject: Re: [newbie] Sending mail via Perl with Postfix


> On Thursday 21 February 2002 11:39, Kevin Old wrote:
> > Hello all,
> >
> > I have a Mandrake 8.1 box running Postfix.  I have a few CGI's that need
to
> > send email.  I have always used Sendmail and have been come stumped with
> > this line in my script after swtiching to postfix:
> >
> > # ***** NAME (AND LOCATION) OF THE SERVER MAIL PROGRAM *****
> > # Enter the name of your server's mail program.  Most servers are
> > # configured with a program called 'sendmail'.  You may, depending on
the
> > # server settings, have to enter the complete path in addition to the
name.
> > $mailprog = '/usr/sbin/sendmail';
> >
> > What should I put here?
> >
> > All help is appreciated,
> > Kevin
>
> Not that I know much about postfix but...
>
> [skinky]skinky$ whereis postfix
> postfix: /usr/sbin/postfix /etc/postfix /usr/lib/postfix
> /usr/share/man/man1/postfix.1.bz2
>
> So I guess you should put '/usr/sbin/postfix'
>
> HTH
> skinky
> --
> oxymoron:  Microsoft Works


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to