Cannot send mail from perl script

Status
Not open for further replies.

ldsdates

New Member
Messages
6
Reaction score
0
Points
0
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";
...
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
This script was working before on same server?
 

soho.biz.home

New Member
Messages
1
Reaction score
0
Points
0
I've got same problem on the server cossacks. Before updating system sendmail from perl was working. Anyone can tell how to.......
 

sergsh

New Member
Messages
2
Reaction score
0
Points
0
I've got same problem on the server boru. Before updating system sendmail from perl was working perfectly. Administrators, check this out please... Or say how to.
And no any access log was writen since 06.06.2010 ...

Thanks.
 
Last edited:
Status
Not open for further replies.
Top