summaryrefslogtreecommitdiff
path: root/modules/mm_deliver.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* All these files have been moved to the Mailman directory (and some renamed)bwarsaw1998-06-191-249/+0
|
* Added support for send_welcome_msg.viega1998-06-121-0/+2
|
* Whoops, I forgot to check these in. They're changed to handleviega1998-06-031-4/+4
| | | | | relative paths, mainly GetScriptURL->the appropriate replacement. Now I'm done w/ checkins, and I'm going to test the current snapshot.
* No longer take a news parameter in .DeliverToList(), and no longer callviega1998-06-021-4/+1
| | | | the news posting code. That was a bad place for it to go...
* .DeliverToList calls the Mail->News gater unless a flag is passed sayingviega1998-05-311-1/+3
| | | | that the current message is inappropriate to gate.
* Several changes:bwarsaw1998-05-261-46/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | Removed RCS crud In any text sent to the user, substitute `maillist' with `mailing list' SUBSCRIBEACKTEXT: All %s substitutions are replaced with $(varname)s substitutions with the corresponding dictionary interpolation added in Deliverer.CreateSubscribeAck(). With too many %s substitutions, it gets too hard to keep track of the right number of %s's and their proper substitution. Deliverer.SendTextToUser(): Added optional raw argument, defaulted to 0 (meaning default is to wrap/fill -- I know KLM and I disagree about this ;-). This argument is passed straight through to mm_utils.SendTextToUser(). Deliverer.DeliverToList(): When calculating the command to os.popen(), include as the first argument the configure calculated path to the Python interpreter to use. It is possible that `python' is not on the path when this gets executed (or that the wrong interpreter will be found). Deliverer.CreateSubscribeAck(): Use dictionary interpolation. Also, The header message seems redundant and unnecessary to me, so I removed it.
* Fixed a typo in the zipcode.viega1998-05-261-2/+2
|
* Sending the password notices (subscribe ack and reminder) to -adminmailman1998-05-261-7/+17
| | | | addr if new list option reminders_to_admins is set.
* Added copyright notices to all source files where I am legally entitled to ↵viega1998-05-251-1/+18
| | | | | | | do so. Added a copy of the GNU GPL. Added information about mailman-users in README, and reworded some text in there (made the credits less verbose... perhaps they should move to a credits file?)
* .DeliverToList(): Append a sender field pointing to the list admin.klm1998-05-241-1/+2
|
* .DeliverToList(): header and footer are now optional. (Digests nowklm1998-05-011-3/+3
| | | | | take care of incorporating the header and footer, and shouldn't have to specify null ones...)
* Using new OutgoingMessage.__delitem__ method.klm1998-04-271-6/+6
|
* .SendTextToUser(): Removed debugging log message.klm1998-04-151-3/+1
|
* .DeliverToList(): Was missing a newline between message headers andklm1998-04-141-7/+5
| | | | | body, so initial body lines that looked like header would be incorporated in header.
* Whoops - i broke the subscribe acknowledgement on checkin. Fixedklm1998-04-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thanks to janne sinkkonen. Date: 14 Apr 1998 01:22:26 +0300 From: Janne Sinkkonen <janne@avocado.pc.helsinki.fi> To: klm@python.org Subject: Re: [Mailman-developers] late on new mailman release - soon I guess this patch is necessary to get sensible welcome messages: *** mm_deliver.py Tue Apr 14 01:21:27 1998 --- mm_deliver.py~ Sun Apr 12 04:37:30 1998 *************** *** 168,175 **** header = '' welcome = '' ! body = (SUBSCRIBEACKTEXT % (self.real_name, self.host_name, ! header, welcome, self.GetScriptURL('listinfo'), self.GetOptionsURL(name), self.real_name, self.host_name, --- 168,175 ---- header = '' welcome = '' ! body = (SUBSCRIBEACKTEXT % (header, welcome, ! self.real_name, self.host_name, self.GetScriptURL('listinfo'), self.GetOptionsURL(name), self.real_name, self.host_name, -- Janne Sinkkonen <janne@iki.fi> <URL: http://www.iki.fi/~janne/ >
* .MailUserPassword(): As with cron/mailpasswds, put a X-No-Archive: yesklm1998-04-121-2/+3
| | | | | header on password messages, so pranksters can't hit the button for subscribed archive services, and get an archived password.
* Darn, missing close-paren.klm1998-04-111-2/+2
|
* Put the list-specific welcome near the top of the welcome message -klm1998-04-111-12/+7
| | | | they often don't see the list-specific info, otherwise.
* DeliverToList(): same bug as DeliverToUser() - repr to escape embeddedklm1998-04-111-3/+8
| | | | quotes for the shell being forked.
* Preparing to package a distribution - add a module docstring andmailman1998-04-091-0/+5
| | | | __version__ info.
* .SendTextToUser(), .DeliverToUser() - use new, generalized add_headersklm1998-04-071-4/+7
| | | | option, instead of specific errors-to.
* Some cosmetic refinements of message text, separated themailman1998-04-031-44/+34
| | | | SendSubscribeAck and CreateSubscribeAck for easier debugging.
* A bit of refinement for the notices.mailman1998-03-271-11/+13
|
* Various small message refinements, and conditionalized CHANGETEXTmailman1998-03-261-22/+42
| | | | | | | | | to make it easier to run it for just a specific list. Added errorsto keyword args in delivery messages. .MailUserPassword() accounts for corrupt accounts that lack any passwords at all, sends a message to list admin when it observes that.
* Moved essential functionality of .SendTextToUser() andmailman1998-03-241-39/+35
| | | | | | | | .DeliverToUser() methods to functions in mm_utils, so we can use them outsid of lists, eg when we're unable to create lists, and then used the functions in the body of the methods. Refined subscribe-message text a bit.
* This is the fix i mentioned in my last checkin (not mm_digest).mailman1998-03-201-13/+28
| | | | | | | | | | | | | | | Use a python-lib tempfile, instead of ginning one up distinguised by pid. The problem with the old method is that the same process - eg, senddigest - may be cycling through many lists, which means that all the lists would use the same tempfile name. And deliver, having opened the file for reading, would get it pulled out from under it when, eg, senddigest got to having mm_deliver prepare digest for the next list. tempfile.mktemp() specifically finds a filename that is not in use. I'm leaving in commented-out text for some special membership- migration notices, for use later today or tomorrow, when i move over the rest of the lists.
* Reduce header and footer whitespace padding.mailman1998-03-191-3/+6
|
* Some small refinements to the subscription acknowledgement notice.mailman1998-02-261-4/+14
| | | | | Added clue about email-based change mechanism in the password-reminder notice.
* Mention the email-based interface in the subscribe acknowledmentmailman1998-02-251-6/+13
| | | | message.
* Moved the bodies of the long text messages to "constant" declarationsmailman1998-02-221-55/+72
| | | | | | | at the top of the file, to make the methods that use them easier to read. Wrapped a few long lines.
* Minor layout change - add some whitespace so the web page addressmailman1998-02-211-0/+1
| | | | shows up more nicely.
* Initial revisionmailman1998-02-211-0/+153