On Sat, Mar 10, 2001 at 12:20:01PM -0800, Alex Le Fevre wrote:
> I'm trying to set up some cgi scripts that send e-mail
> via the localhost (i.e. FormMail.pl from
> www.worldwidemart.com/scripts). Near the top, it has
> "path to e-mail program", where I put
> /var/qmail/bin/qmail-inject. However, this doesn't
> seem to be working.
>
> There are two possibilities as I see them. First, it
> calls the program with a -t option, which I'm not
> familiar with. Second, I've configured qmail to work
> with tcpserver, so I'm not sure if I'm even sending
> the script to the right binary.
>
> Are either of these possibilities right? Or am I
> totally off-base? Thanks in advance for any help you
> may be able to provide.
/usr/sbin/sendmail and /usr/lib/sendmail should be symlinks to
/var/qmail/bin/sendmail on your system. Pointing FormMail.pl to
/usr/sbin/sendmail or /usr/lib/sendmail should work just fine.
Greetz, Peter.