summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-01-14In rcpt(), avoid a space after the TO: address when the option list isguido1-2/+2
empty. Make sure there is a space when there are options.
1999-01-14TrySMTPDelivery(): Slightly different format to the log format onbwarsaw1-1/+5
failure: the value is only printed if it's not false (e.g. None), and the deferred status is printed as well.
1999-01-14getaddrlist(): fixes to handle continuation lines, and watching forbwarsaw1-1/+7
already existing commas. Should do a better job.
1999-01-13HasExplicitDest(): Essentially undo previous change, sincebwarsaw1-1/+1
rfc822.Message.getaddrlist() now does the right thing.
1999-01-13New proposed change to standard library module. Get rid ofbwarsaw1-24/+11
getallrecipients() and just make getaddrlist() do the right thing (scan all matching headers, not just the first one). Patch submitted to Guido.
1999-01-13On some RedHat Linuxes, there appears to be a problem with some cronsbwarsaw9-16/+33
messing up their SIGCHLD handling. This would manifest as an IOError getting raised in the cmdproc.close() call of DeliverToList() in Deliverer.py. Thanks go Harald Meland for describing the real problem and giving the real fix. Thanks go to Greg Stein for testing this patch and verifying that it works. Deliverer.DeliverToList(): Undo previously checked in patch, which simply wrapped a try/except around the cmdproc.close() call and ignored errno=10 IOErrors. This was treating the symptoms, not the cause. All files in cron/: Added Harald's work around of the Linux bug by including these lines in every file: # Work around known problems with some RedHat cron daemons import signal signal.signal(signal.SIGCHLD, signal.SIG_DFL) It helps RedHat and doesn't appear to hurt on e.g. Solaris.
1999-01-12HasExplicitDest(): Use new getallrecipients() so that we really do getbwarsaw1-1/+1
all the To: and Cc: line recipients. Previously, we'd only get the first of any existing headers, and this meant that even if the list appeared on a later Cc: header, the message would get incorrectly flagged as an implicit destination.
1999-01-12More import games. Make sure we get an rfc822.Message with our newbwarsaw1-1/+10
getallrecipients() method.
1999-01-12getallrecipients(): returns a tuple list of all To: and Cc: headerbwarsaw1-0/+16
recipients, parsed with AddressList()