summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* the AddMember function wasn't responding to the list'scotton1998-10-101-5/+9
| | | | send_welcome_msg setting.
* Changed the command line interface to be a little closer to the GNUbwarsaw1998-08-141-44/+106
| | | | | | | | | | | | | | | | | | standard, e.g. requiring options and long options instead of positional arguments (only required args are positional). Added a --help option too. GetRandomPassword(): Fixed typo: it's Mailman.Utils.GetRandomSeed() SendExplanation(): pass mailing list in as an argument AddMember(): New function. main(): Use getopt module to scan options. Exchange bare excepts for more qualified excepts. Change the way addresses are sucked in from the files. Once the mailing list is instantiated, wrap an unlock in a try/finally so that any uncaught exceptions don't leave the list locked.
* Change this to use the standard Python library module getpass to getbwarsaw1998-08-072-4/+4
| | | | | the passwords. Ken apparently never checked in Utils.getTtyPwWithConfirm anyway!
* Using new, non-echoing password reading routine.klm1998-08-052-6/+16
|
* Dang, can't chmod g+s on scripts, at least under Solaris, probablybwarsaw1998-07-311-1/+0
| | | | others.
* install: Install all bin scripts with group sticky bit set. Thisbwarsaw1998-07-311-0/+1
| | | | | seemed necessary for the mmsitepass, and I figured other scripts couldn't hurt.
* main():bwarsaw1998-07-221-1/+8
| | | | | | # guarantee that all newly created files have the proper permission. # proper group ownership should be assured by the autoconf script # enforcing that all directories have the group sticky bit set
* REMOVABLES: the templates dir no longer contains list specific databwarsaw1998-07-221-1/+0
|
* Typobwarsaw1998-07-221-1/+1
|
* Trivial nitbwarsaw1998-06-231-1/+2
|
* Use the new packagized modulesbwarsaw1998-06-194-106/+76
|
* Add Unlock() calls where appropriate, and add lock = 0 to MailListviega1998-06-132-1/+3
| | | | constructor actuals when the list doesn't need to be locked.
* Updated calls to GetScriptURL to the appropriate new form. One or twoviega1998-06-032-2/+3
| | | | | minor changes here and there to support relative paths (changing absolute paths that didn't use GetScriptURL to begin with).
* ignore the Makefilebwarsaw1998-05-261-0/+1
|
* Autoconf template for this directory's Makefile.bwarsaw1998-05-261-0/+71
|
* 1. Use the standard Python invocation #! line to get the interpreterbwarsaw1998-05-261-32/+36
| | | | | | | | | | from $PATH 2. Remove RCS crud Also, re-implemented in Python instead of Bourne shell. This makes it easier to do path munging via import of paths module for better integration with autoconf.
* 1. Use the standard Python invocation #! line to get the interpreterbwarsaw1998-05-261-5/+2
| | | | | | from $PATH 2. Remove RCS crud
* 1. Use the standard Python invocation #! line to get the interpreterbwarsaw1998-05-261-6/+3
| | | | | | | | | | | from $PATH 2. Do no direct sys.path munging in this file. Import the `paths' module, which is created during the configure process, and which performs all necessary path munging (and exports some useful variables too). 3. Remove RCS crud
* Several changes, first the non-controversial ones...bwarsaw1998-05-261-23/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Use the standard Python invocation #! line to get the interpreter from $PATH 2. Do no direct sys.path munging in this file. Import the `paths' module, which is created during the configure process, and which performs all necessary path munging (and exports some useful variables too). 3. Remove RCS crud And some other changes: ADDALIASES_CMD does not contain a hardcoded absolute path. Instead the $prefix is taken from paths.prefix, which is set by the configure script. getusername(): New function which attempts to figure out the user's login name. It uses, in order $USER, $LOGNAME, then the element 0 of pwd.getpwduid(), then the string `<unknown>'. This is used when creating the aliases file cut-and-paste. Slightly changed the format of the aliases file cut-and-paste. Also added a `created' line which includes today's date as DD-MMM-YYYY and the name of the user that created the new list. Some inconsequential code formatting changes. Some rewording of the mailing list creation text, and a string delimiter change to make the code more Emacs friendly.
* 1. Use the standard Python invocation #! line to get the interpreterbwarsaw1998-05-261-7/+3
| | | | | | | | | | | from $PATH 2. Do no direct sys.path munging in this file. Import the `paths' module, which is created during the configure process, and which performs all necessary path munging (and exports some useful variables too). 3. Remove RCS crud
* 1. Use the standard Python invocation #! line to get the interpreterbwarsaw1998-05-261-1/+2
| | | | from $PATH
* Two typical modifications, you'll see in many upcoming checkins:bwarsaw1998-05-261-4/+3
| | | | | | | | | | 1. Use the standard Python invocation #! line to get the interpreter from $PATH 2. Do no direct sys.path munging in this file. Import the `paths' module, which is created during the configure process, and which performs all necessary path munging (and exports some useful variables too).
* Whoops, forgot to add the copyright info to code in the bin subdir...viega1998-05-267-5/+110
|
* Complain and bail if the list was specified with an '@' - don't letmailman1998-05-261-1/+7
| | | | the operator make the mistake of specifying the list's address...
* Get rid of anomolous $Source$ keyword.klm1998-05-041-2/+1
|
* Added missing space to end of initial list password prompt.klm1998-05-041-2/+2
|
* Rudimentary script to set the site password.klm1998-04-131-0/+32
|
* Preparing to package a distribution - add a module docstring andmailman1998-04-092-4/+22
| | | | __version__, $Source$ info.
* Preparing to package a distribution - add a "docstring" (for a shellmailman1998-04-091-0/+5
| | | | script, just a comment at the top) and __version__, $Source$ info.
* Preparing to package a distribution - add __version__, $Source$ info.mailman1998-04-091-0/+3
|
* Note that this is being deprecated since we're switching overmailman1998-04-091-0/+3
| | | | pipermail.
* Added prints so we can track progress. (Not sure about this one formailman1998-04-031-0/+2
| | | | | general use, but it actually is very handy to see progress of what can be an lengthy process.)
* Make digest-members-file and optional command line arg.mailman1998-03-261-13/+21
| | | | | | Catch linst-unfound error and handle nicely. Put missing CR in stderr error msg writes.
* Encapsulated bare code in a 'main()'.mailman1998-03-241-41/+38
| | | | | Made script so it wouldn't bomb on first conflicitng add member - but would announce the problem.
* Polish a bit so we can use to mass subscribe users, error free.mailman1998-03-211-9/+17
| | | | (This should be called "populate_list", not "populate_new_list".)
* Removed some now extraneous comments and elaborated an error messagemailman1998-03-181-5/+1
| | | | for debugging sake.
* Big little whoops - kept producing bad aliases entries, becausemailman1998-03-131-1/+1
| | | | wrapper is in mail/wrapper, not bin/wrapper.
* Mention the email interface in the welcome message (had a questionmailman1998-03-131-5/+12
| | | | | | | | with the first few users, so there's a demand). Track transition of list_names to mm_utils. Now need some setting from mm_cfg for MAILMAN_DIR setting, import it.
* Packaged up functionality so it can be used as a script (__name__ ==mailman1998-03-101-35/+52
| | | | | | | | "__main__") or as routines, and via interactive input or automated. Revised the email notice a bit, got some typos, removed the "Soon there will be a guide" - hopefully it will be soon, but clearly it wasn't soon before, no use perpetuating the rumor:-)
* For now i'm removing the use of the aliases-wrapper program - itmailman1998-03-091-1/+22
| | | | | | | | doesn't provide a sufficient framework for people to reliably make changes to the aliases file. Instead i'm just printing out the aliases entry, and pausing afterwards to give time for the addition to be made (or not, if it's already there, as in the case of a list that's being recreated).
* *** empty log message ***mailman1998-03-051-0/+2
|
* Don't include the binary file addaliases - people have to make their ownmailman1998-03-051-0/+0
| | | | from the .c source in ../src
* $0 isn't working.mailman1998-03-051-1/+1
|
* Normalize the list name to lower case. (Email doesn't care, butmailman1998-03-052-2/+2
| | | | web addresses do.)
* Initial revisionmailman1998-02-274-0/+205
|
* Check the new list name immediately, and bailout with status 1 if itmailman1998-02-251-0/+5
| | | | already exists.
* Initial revisionmailman1998-02-251-0/+53
|
* Just wrapped some long lines.mailman1998-02-241-3/+6
|
* Initial revisionmailman1998-02-231-0/+100
|
* Do not blithely delete the categorical directories if the users failsmailman1998-02-221-8/+29
| | | | | | | | | | | | | | to give a list argument!!! Complain and bailout if no listname is found. (Otherwise, when invoked without arguments, the script was deleting the lists, templates, and archives directories *completely*.) Additionally, do not delete the archives for a list unless the '-a' option is passed. I figure its more often worth keeping the archives around, even if the list is retired. Additionally, indicate whether or not the subject directory is actually there before deleting - some feedback, so users see whether what they expect is happening...