All-
I just installed Majordomo-1.93 and got involved changing resend
and config_opts.pl
I had a couple of features that were requested and I thought I would
share them, and the code if appropriate. (If I munge etiquite, flames
to /dev/null)
The changes are this:
1) We had a request to make a list that would be for announcement-only
posts.
PROBLEM:
We had a recent problem with a large email list where users were not
checking the To: for the replys, and inadvertantly sending mail
to the entire list. (And they claim that it was MY problem!!)
SOLUTION:
Create a pair of option and config flgags: -N and -n
nonreply and nonreply_listtitl
nonreply is boolean, and when set to yes causes the To: lines
to be replaced with To: Subscribers@opt_h ($listtitle)
nonreply_listtitl is a string and if defined is used as $listtitle
if not defined, nonreply uses $opt_l
PROBLEM:
I didn't want users to be able to determine the outgoing listname
for resend, and with the new config file, a separate .resend file
seemed redundant. The new config is GREAT!!
SOLUTION:
1) Remove the requirement for -h
if not defined, it defaults to the localhost.
2) add an option to the config file outgoing_list
outgoing_list is a string (so multiple lists are possible)
I mapped this to opt_O, wich can take an argument,
thus, if you have a list test, you have several options:
resend @path/to/test.resend
resend -l test -h host test-outgoing
resend -l test -O test-outgoing
resend -l test
and in test.config: outgoing_list = test-outgoing
IN summary: I required myself to make sure that the old code still worked,
as well as my new features, and I am willing to pass back the
changes, or complete code.
Cheers!
Lee
--
_______ ______________
| | | | Leland K. Neely | ________ |
| | | | U.C.L.L.N.L | |` | |
| | | |_____ P.O. Box 808 L-613 | |________| |
| | \______/ Livermore CA 94551 |____________|
| \_______/ Email: lkn@llnl.gov ___|______|___
\________/ Voice: (510) 422-0140 |____________|
\
/
||
|
|