in reply to Sendmail issue
Are you carrying your laptop to this other location, or are you executing the script from a different computer? If the former, then the first thing to investigate would be blocked outgoing SMTP, as the other monks have suggested.
Your open would be better with error handling: open(MAIL, "|/usr/sbin/sendmail -t") or die "Failed to open sendmail: $!"; and the same for your close: close MAIL or die $! ? "Error closing sendmail: $!" : "Exit status $? from sendmail";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sendmail issue
by arete (Initiate) on Aug 08, 2014 at 13:00 UTC | |
by mr_mischief (Monsignor) on Aug 08, 2014 at 13:43 UTC | |
by arete (Initiate) on Aug 08, 2014 at 14:10 UTC |