Difference between revisions of "Simple Email Lists"
(→Installing a List) |
(→Installing a List) |
||
Line 54: | Line 54: | ||
The following is not necessary<ref>The not necessary part is that you will get all of the lists, not just the one you are interested in.</ref>, but sufficient: | The following is not necessary<ref>The not necessary part is that you will get all of the lists, not just the one you are interested in.</ref>, but sufficient: | ||
− | To install in | + | To install in /home/user/simple_email_list |
<pre> | <pre> | ||
+ | cd /home/user | ||
svn checkout $HDSVN/trunk/scripts/simple_email_list | svn checkout $HDSVN/trunk/scripts/simple_email_list | ||
</pre> | </pre> | ||
At JLab, the lists are installed in <code>/group/halld/Software/scripts/simple_email_list</code> . | At JLab, the lists are installed in <code>/group/halld/Software/scripts/simple_email_list</code> . | ||
+ | |||
+ | =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 | ||
+ | <ol> | ||
+ | <li> Compose a message and call it <code>message.txt</code> (it must be called this). | ||
+ | <li> Copy the message into the list directory | ||
+ | <pre> | ||
+ | cp message.txt /home/user/simple_email_list/lists/my_new_list/ | ||
+ | </pre> | ||
+ | <li> cd into the list directory | ||
+ | <pre> | ||
+ | cd /home/user/simple_email_list/lists/my_new_list/ | ||
+ | </pre> | ||
+ | <li> send the message to the list by executing the script specified below from the list directory | ||
+ | <pre> | ||
+ | /home/user/simple_email_list/lists/my_new_list/scripts/simple_email_list.pl | ||
+ | </pre> | ||
+ | </ol> | ||
---- | ---- | ||
<references/> | <references/> |
Revision as of 12:42, 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/lists/my_new_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.