T
Terry
Hi,
I am having trouble running a perl script on a Mac OS X (Panther)
server. This script ran okay on a Linux web server so I know the script
is okay. The script uses Sendmail to send an email message as
following.
open (M, "| /usr/sbin/sendmail -t");
print M "To: $address_01\n";
print M "From: $address_from\n";
...
# content of message
close (M);
I tested the OS X server with some simple perl scripts without using
Sendmail and they worked fine. So, I guess the perl interpretor was
working okay. I was thinking that maybe my script was having trouble
with Sendmail.
I did a "whereis sendmail" and it returned "/usr/sbin/sendmail". Does
this mean that sendmail is installed? If I used Postfix, how do I
change the perl script?
Can someone give me some troubleshooting/configuration tips on Sendmail
for Mac OS server (Panther)? I never worked on Mac server before.
Thanks in advance!
Terry
I am having trouble running a perl script on a Mac OS X (Panther)
server. This script ran okay on a Linux web server so I know the script
is okay. The script uses Sendmail to send an email message as
following.
open (M, "| /usr/sbin/sendmail -t");
print M "To: $address_01\n";
print M "From: $address_from\n";
...
# content of message
close (M);
I tested the OS X server with some simple perl scripts without using
Sendmail and they worked fine. So, I guess the perl interpretor was
working okay. I was thinking that maybe my script was having trouble
with Sendmail.
I did a "whereis sendmail" and it returned "/usr/sbin/sendmail". Does
this mean that sendmail is installed? If I used Postfix, how do I
change the perl script?
Can someone give me some troubleshooting/configuration tips on Sendmail
for Mac OS server (Panther)? I never worked on Mac server before.
Thanks in advance!
Terry