Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Kobus Bensch on September 20, 2002, 02:23:30 AM
-
Hi everyone.
I want to setup a perl script for an email form on my website and need to set a variable to the sendmail program. 2 q's.
1) Does esmith use sendmail?
2) If so what is the path?
Thanks for the help in advance.
-
# which sendmail
/usr/sbin/sendmail
-
Kobus Bensch wrote:
>
> 1) Does esmith use sendmail?
No, it uses qmail.
> 2) If so what is the path?
/usr/sbin/sendmail :-)
(That's a sendmail-compatible wrapper for qmail-inject; as far as something
calling the program to hand it mail is concerned, it acts like sendmail.)
Cheers,
--Rich
-
> (That's a sendmail-compatible wrapper for qmail-inject; as
> far as something
> calling the program to hand it mail is concerned, it acts
> like sendmail.)
The qmail's sendmail emulator doesn't provide 100% compatibility, so be sure test any scripts that use sendmail prior to deploying. For example: The very popular formmail.pl script (from Matt's script archive) uses the -t sendmail flag, which is not supported under qmail.
Regards,
Greg Zartman
-
Somwhere around here (it might be Darrell May's) is a handy little php based form mailer that works great on SME. I think that there's a how-to around as well.
-
> Somwhere around here (it might be Darrell May's) is a handy
> little php based form mailer that works great on SME. I think
> that there's a how-to around as well.
Naaa. Perl is MUCH better at doing this sort of thing than PHP. Making a change to a script like formmail.pl doesn't require any serious surgery, only a minor tweak.
Greg