Difference between revisions of "Simple Email Lists"
(→Installing a List) |
(→Sending to a List) |
||
Line 77: | Line 77: | ||
<li> send the message to the list by executing the script specified below from the list directory | <li> send the message to the list by executing the script specified below from the list directory | ||
<pre> | <pre> | ||
− | /home/user/simple_email_list | + | /home/user/simple_email_list/scripts/simple_email_list.pl |
</pre> | </pre> | ||
</ol> | </ol> |
Revision as of 12:44, 28 February 2013
We have several "simple" email lists for notification-type messages of interest to a limited audience. The idea is to keep automatically generated notifications off the collboration-wide official mailing lists. Interested parties can subscribe and unsubscribe themselves and others, you need only have privilege to check out and check in to the Hall D Subversion repository.
Contents
The Lists
List Name | Frequency | Description |
---|---|---|
nightly_build | daily | Errors and warnings from the nightly build of GlueX software |
b1pi | Mondays and Thursdays | Notification of completion of the bi-weekly b1pi reconstruction job |
single_track | Tuesdays and Fridays | Notification of completion of the bi-weekly single track reconstruction job |
Subscribing
If you would like to subscribe to one of these lists there are two methods for doing so.
Method A
Write an email to marki@jlab.org and say that you want to subscribe.
Method B
- Check out the directory "listname" using the command:
svn checkout https://halldsvn.jlab.org/repos/trunk/scripts/simple_email_list/lists/listname
where "listname" is the name from the table above.
- In the resulting directory, edit the file "list.txt" adding your email address.
- Check "list.txt" back in.
Unsubscribing
Reverse one of the subscription methods mentioned above.
Creating a New List
- Under subversion, create a directory, for example my_new_list, under trunk/scripts/simple_email_list/lists:
svn mkdir https://halldsvn.jlab.org/repos/trunk/scripts/simple_email_list/lists/my_new_list
- Populate that directory (under subversion) with two files:
- subject.txt: one line containing the subject of all mail messages
- list.txt: email addresses, one per line
Installing a List
The following is not necessary[1], but sufficient:
To install in /home/user/simple_email_list
cd /home/user svn checkout $HDSVN/trunk/scripts/simple_email_list
At JLab, the lists are installed in /group/halld/Software/scripts/simple_email_list
.
Sending to a List
Assume in the following that simple_email_list was installed in /home/user/simple_email_list and the email list to which you want to send is my_new_list
- Compose a message and call it
message.txt
(it must be called this). - Copy the message into the list directory
cp message.txt /home/user/simple_email_list/lists/my_new_list/
- cd into the list directory
cd /home/user/simple_email_list/lists/my_new_list/
- send the message to the list by executing the script specified below from the list directory
/home/user/simple_email_list/scripts/simple_email_list.pl
- ↑ The not necessary part is that you will get all of the lists, not just the one you are interested in.