Sysadmin:Contacting all users

From Earlham CS Department
Revision as of 12:26, 16 June 2006 by Skylar (talk | contribs)
Jump to navigation Jump to search

I have written a Perl script that will send an email to all users (i.e. all users in the "users" group). Here is the procedure for running it:

  1. Checkout/update the sysadmin CVS repository.
  2. You will need to run mail_users.pl from quark like so:

perl mail_users.pl [text file] [from-address] [subject]

The text file is required, as it will become the body of the message. The from-address is not; it will be set to admin@cs.earlham.edu by default. The subject line will be set to "[Admin-announce] Downtime" if it is not specified.