in reply to Sendmail no longer working

Besides the items already mentioned, by handing off to sendmail, you actually don't send the message immediately -- you place the message in the mail queue, and the system processes it when it feels like. If the main mail daemon dies, then no mail will be sent out, and no error messages will be generated.

I'd check the webserver and mail logs first (I can't remember if Solaris 7 defaulted to putting mail in a seperate log file, it might be in one of the other log files that syslog manages). I'd also check the mail queue (you can get a report from the 'mailq' command, the files should be in /var/spool/mail).

Replies are listed 'Best First'.
Re^2: Sendmail no longer working
by Anonymous Monk on Jul 13, 2005 at 15:28 UTC
    Can you advise an alternative mail software to use and how I would use it in the below script?
    use strict; my $sendmail = '/usr/lib/sendmail -t'; open (MAIL,"|$sendmail") || "Not working: $!"; print MAIL <<"EOF"; To: smith\@here.com From: jones\@here.com Subject: theSubject Information here etc EOF close MAIL || "Not working: $!";