Cannot send mail from perl any longer after recent system upgrades on chopin
Error message: sendmail: sendmail cannot be called directly from a shell with the current user id
Example script:
open (MAIL, "| /usr/sbin/sendmail -t");
print MAIL "To: $mailto\n";
print MAIL "From: $sendmailfrom\n";
print MAIL "Subject: $subject\n";
...
The scripts were working on x10hosting before system updates were perfomed in early june. The scripts work on other hosting platforms. This was submitted before and no solution was provided, the thread created in the forums does not have a solution and has been closed.
---------- Post added at 05:32 PM ---------- Previous post was at 05:23 PM ----------
This script works on other hosting providers, it also used to work on x10 hosting before system updates were performed by x10 in early june.
Does anyone have a solution?
Error message: sendmail: sendmail cannot be called directly from a shell with the current user id
Example script:
open (MAIL, "| /usr/sbin/sendmail -t");
print MAIL "To: $mailto\n";
print MAIL "From: $sendmailfrom\n";
print MAIL "Subject: $subject\n";
...
The scripts were working on x10hosting before system updates were perfomed in early june. The scripts work on other hosting platforms. This was submitted before and no solution was provided, the thread created in the forums does not have a solution and has been closed.
---------- Post added at 05:32 PM ---------- Previous post was at 05:23 PM ----------
This script works on other hosting providers, it also used to work on x10 hosting before system updates were performed by x10 in early june.
Does anyone have a solution?