Re: sendmail stuff

From: Stephen C. Comoletti (
Date: 02/12/99

> I was wondering how to get sendmail to mail directly without anyone having
> to be online? i was thinking of making my autorun script send me a email
> every time it starts so would have to be able to do this automatically
> where no-one is online etc.
Just place the following line in your autorun script (assuming you use the shell
script and not the perl script). Placement of this line is based on preference.
At the top to indicate initial boot only (not reboots or crashes), or within the
'if/fi' checks at the bottom to indicate when a reboot or crash occurs. This
will work on any linux or FreeBSD based machine. Not sure the placement of the
sendmail binary on any other unix OS.

 echo "My Mud Started on $DATE" | /usr/sbin/sendmail

Stephen C. Comoletti
Asst. Systems Administrator
TEL: (302) 326-5800, FAX: (302) 326-5802

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 12/15/00 PST