SysMail 1.0.0 (trax@the-force.ml.org)

A script used to mail a message containing tokens
to all the users on a system.

#------------------------------------------------#

Currently, there is only one token implemented,
the first real name.  Thus you can send a message
containing:

Dear John, etc.

To see if the program processes your user-list
correctly, define testrun=1 in line 16 of sysmail.

*WARNING* -- SysMail is a mass mailing system.
There is no second chance - once you ran the
script with testrun=0, mail will be sent
to all your users.  So make sure you've got
everything setup correctly.

Usage: sysmail 'message-subject'

Remember to quote the message topic, so it can be read as one parameter.  Edit
the file ./message in the current directory.  It should contain the message
to be sent in the following format:

cat << END
this is a test message to $1 where $1 will be replaced by the user's
first name, as found in /etc/passwd
END

Remember that both sysmail and message must be
executable (chmod +x).

#-----------------------------------------------#

So, let's just recap:

(1) Edit ./message
(2) Do a testrun
(3) Define testrun=0 and do the final go
  ./sysmail 'topic'

Happy SysMailing!
