summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/StringIO.py (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-11-25Second argument is optional now, and if missing it is calculated.bwarsaw1-4/+17
This makes it easier to invoke for most normal lists.
1999-11-25ParseMailCommands(): typo that caused a very interesting (and subtle)bwarsaw1-1/+1
bug
1999-11-25Remove "x-pmrqc:" header which apparently Pegasus mail can use to minebwarsaw1-0/+2
for addresses. Reported by dpalffy@kkt.bme.hu. PR#165
1999-11-24checkarchivedbs(): minor typobwarsaw1-1/+1
1999-11-24checkarchivedbs(): New permissions test which makes sure thatbwarsaw1-0/+21
archives/private/<listname>/database is other 000.
1999-11-24SendTextToUser(), DeliverToUser(), Reap(), TrySMTPDelivery(),bwarsaw1-213/+0
SnarfMessage(): Removed all these functions, since they are no longer used.
1999-11-24AddMember(), ApprovedAddMembers(), DeleteMember(): Convert messagebwarsaw1-29/+40
delivery to pipeline architecture by using HandlerAPI.DeliverToUser() for fast track delivery of the notification messages. ApprovedAddMembers(): Don't need to call Reap anymore (it's gone). Post(): ...process() => ...DeliverToList()
1999-11-24Convert message delivery to pipeline architecture by usingbwarsaw1-11/+13
HandlerAPI.DeliverToUser() for fast track delivery of the notification messages.
1999-11-24Much simplification, since most of this work has been moved to thebwarsaw1-210/+38
message pipeline modules. Specifically, AddNonStandardHeaders(), SendTextToUser(), DeliverToUser(), QuotePeriods(), DeliverToOwner(), DeliverToList(), CreateSubscribeAck(): All these methods have been removed.
1999-11-24OutgoingMessage.__init__(): take an optional text argument, and passbwarsaw1-2/+17
that to the StringIO constructor. Useful for subclassing. UserNotification: Very useful subclass of OutgoingMessage which takes a recipient, a sender, a subject, and the message text, and sets the appropriate headers and `recips' attribute for use in the message pipeline.
1999-11-24AcknowlegePosts => AcknowledgePostsbwarsaw1-7/+7
1999-11-24AcknowlegePosts => AcknowledgePostsbwarsaw1-30/+31
Some rewording of the notification messages.
1999-11-24Convert message delivery to pipeline architecture by usingbwarsaw1-13/+14
HandlerAPI.DeliverToUser() for fast track delivery of the notification messages.
1999-11-24filterfunc(): Uh, fixed this because the old way never actually caughtbwarsaw1-1/+1
x-beenthere's. I'm hoping this was a transcription error on my part, otherwise this never worked, and we've been lucky!
1999-11-24hold_for_approval(): Do the sending of postheld notification to thebwarsaw1-12/+17
user here and not in the post script.
1999-11-24Convert message delivery to pipeline architecture by usingbwarsaw1-74/+48
HandlerAPI.DeliverToUser() for fast track delivery of the welcome messages. Stick most code in main() Use LogStdErr Remove the fromusenet cruft -- since Usenet messages are gated to the newsgroup without going through the post script now, this is all unnecessary. Move the sending of postheld.txt to the Hold.py pipeline module, where it really belongs. Plus it won't work here because those exceptions aren't percolated up to the post script. MMLoopingPost exceptions still make it through and are handled here (although I suspect this should go into one of the handlers too).
1999-11-24list_name => listnamebwarsaw1-1/+1
remove colon on first line, due to rfc822.Message parsing "bug"
1999-11-24AcknowlegePosts => AcknowledgePostsbwarsaw2-4/+4
1999-11-24Convert message delivery to pipeline architecture by usingbwarsaw2-32/+40
HandlerAPI.DeliverToUser() for fast track delivery of the welcome messages. Stick everything in a main(). Simplify error reporting by using Mailman.Logging.Utils.LogStdErr
1999-11-24This file doesn't need rfc822 headers.bwarsaw1-6/+0
1999-11-24Convert message delivery to pipeline architecture by usingbwarsaw1-28/+27
HandlerAPI.DeliverToUser() for fast track delivery of the welcome messages. We also no longer need to call Utils.Reap() since that's gone now.
1999-11-24A serious rewrite to make it more robust, and to add a somewhat usefulbwarsaw1-85/+200
command line interface. This latter allows you to manually poll a specific list's newsgroup for a range of message numbers, sending them to the list. Using this interface does /not/ update the watermark file. We also don't update the watermark entry for a specific list until that list's child process (which does the actually gating of the messages from Usenet to mailing list) exits with a zero status. If it exits with non-zero, it is taken as a complete failure of the gating process and the watermark isn't updated. This could cause duplicates, so a really anal approach would be to create a pipe between child and parent and write the new watermark after each message is successfully gated.
1999-11-24New version number is "1.2 (experimental)"bwarsaw1-1/+1
1999-11-24remove test values for KNOWN_SPAMMERSbwarsaw1-5/+1
1999-11-24docstringbwarsaw1-2/+2
1999-11-24Convert message delivery to pipeline architecture by usingbwarsaw1-6/+8
HandlerAPI.DeliverToUser() for fast track delivery of the acknowledgement to the sender. We need to be a little tricky digging the original sender out of a msg object attribute, since CookHeaders (which sets the attribute) changes it for the outgoing message. If msg.original_sender isn't found, use the normal msg.GetSender().
1999-11-24process() => DeliverToList()bwarsaw1-1/+19
DeliverToUser(): New function which implements a pipeline for direct delivery to a specified user. This pipeline is used for all admin notifications, and other things like user post acks. It sets msg.fastrack attribute to 1 so other modules can know which delivery track this message is on. This lets us use the same module for all delivery, or separate ones for delivery to list and delivery to user.
1999-11-24First, because this module is going to modify the Sender: field forbwarsaw1-6/+12
outgoing mail, we stash the original value of msg.GetSender() in a message object attribute msg.original_sender. This is used by the Acknowledge module. Second, only perform subject prefix prepending if not msg.isdigest an dnot msg.fastrack. I.e. the message isn't a pre-crafted digest message, and it's not being fast tracked via HandlerAPI.DeliverToUser. Fast tracking means it's being delivered to a single address and not to the general list subscribership.
1999-11-24Remove the ack_posts stuff, since this is now done in the Acknowledgebwarsaw1-5/+2
module.
1999-11-24AcknowlegePosts => AcknowledgePostsbwarsaw1-12/+17
Convert message delivery to pipeline architecture by using HandlerAPI.DeliverToUser() for fast track delivery of the acknowledgement to the sender. We need to be a little tricky digging the original sender out of a msg object attribute, since CookHeaders (which sets the attribute) changes it for the outgoing message. If msg.original_sender isn't found, use the normal msg.GetSender().
1999-11-24First line cannot contain a colon.bwarsaw1-1/+1
1999-11-24Don't copy paths.py into the $PREFIX/mail subdir... it's unnecessarybwarsaw1-1/+1
because the only thing still in that subdir is the binary wrapper program.
1999-11-24Remove colon from end of first line since this screws up thebwarsaw1-1/+1
rfc822.Message object's too simplistic parsing for the end of headers.
1999-11-24acknowlegement => acknowledgementbwarsaw1-1/+1
1999-11-24acknowlege => acknowledgebwarsaw1-2/+2
1999-11-24AcknowlegePosts => AcknowledgePostsbwarsaw1-1/+1
1999-11-24All the old delivery scripts contact_transport, deliver, dumb_deliverbwarsaw2-5/+5
are being removed as all mail deliver gets migrated to the new pipeline architecture. Eventually some of the bulk mailer functionality may be added back, but not this way. Don't build mail/Makefile since the subdir is going away
1999-11-24All the old delivery scripts contact_transport, deliver, dumb_deliverbwarsaw4-331/+0
are being removed as all mail deliver gets migrated to the new pipeline architecture. Eventually some of the bulk mailer functionality may be added back, but not this way.
1999-11-24There's soon to be nothing in the `mail' subdir sincebwarsaw1-1/+1
contact_transport, deliver, and dumb_deliver are going away.
1999-11-19Couple of mods based on Chris Lindsey's suggestions.bwarsaw1-5/+11
1999-11-18Add Paul Tomblin's note about Majordomo conflicts with the namebwarsaw1-0/+8
`wrapper'
1999-11-18Added an instruction to look for a README.<yourMTA>bwarsaw1-1/+5