| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Mailman/pythonlib/cgi.py because I'd like for Mailman to start using
the default Python module now that we require at least Python 2.0 (or
should that be Python 2.1?).
I'm sure any disparity between the cgi.py modules will show up in beta
testing. But if it looks okay, I'll remove our copy of cgi.py.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we've renamed mailcmd to request and mailowner to owner (through some
SF-assisted CVS repo magic). We've also moved scripts/auto to
contrib/auto since it's an obsolete way of doing the auto-aliasing in
Postfix.
We need to update mail-wrapper.c for the new list of acceptable script
names.
Note that there are still two abberations:
- messages posted to just `listname' go to the post script
- messages posted to listname-admin go to the bounces script
The latter, listname-admin may eventually go away.
Note that this requires you to regenerate your aliases!
|
| |
|
|
|
|
|
|
|
| |
to do a little more work here. Specifically, we need to add an
explicit pipeline to the message's metadata, then we can send the
message through the normal incoming queue (i.e. we override the
incoming queue's default pipeline). We also set the envsender
attribute to point to the -bounces address for the list so we can
handle any bounces to the list's owners.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
#! line.
|
| |
|
|
| |
of limited value, IMO. Haven't we already taken over the world? :)
|
| |
|
|
|
| |
the Switchboard that it should save the message as plain text and not
as a pickle.
|
| | |
|
| |
|
|
| |
queue runner.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Note that ToArchive.py will set this if it isn't present in the
metadata already, however that might incur hold and other delays.
|
| |
|
|
|
|
|
|
|
| |
main(): Convert to the new Switchboard mechanisms. This means we
neither need to instantiate the mailing list, nor create a Message
object from stdin. A side effect of this change is that we can't
efficiently determine whether this message was destined for the -owner
or -admin address (since this script bogusly handles both). We defer
this decision to the CommandRunner.
|
| | |
|
| |
|
|
|
|
|
| |
main(): Change the error messages; removed old cruft (we never need to
create the MailList object, we just need a valid listname -- we also
don't ever need to create a Message object, stdin is fine); change the
enqueuing code to use the new Switchboard mechanism.
|
| | |
|
| | |
|
| |
|
|
| |
described in qrunner for details).
|
| |
|
|
|
|
| |
the non-extension address, and for handling listnames with dashes in
them. Also, do better matching of incoming message's target domain
with the list's domain.
|
| | |
|
| | |
|
| |
|
|
| |
mailing lists.
|
| |
|
|
|
| |
too magical so eventually explicit imports will be added to the
appropriate modules.
|
| | |
|
| |
|
|
| |
Modifications to use extended print syntax.
|
| | |
|
| |
|
|
|
| |
the try block. Should have no practical effect, but makes debugging
easier.
|
| |
|
|
| |
Closes David Champion's patch #101331.
|
| |
|
|
|
| |
messages posted to the list (as opposed to message sent to the -admin,
-owner, -request addresses, or internally generated).
|
| |
|
|
|
| |
headers. These caused problems with the back button and didn't really
solve an existing problem.
|
| |
|
|
|
|
| |
flag. If it came from the -admin address, set toadmin. The test is
against the To: field and checks for string equality with
mlist.GetOwnerEmail().
|
| |
|
|
| |
no-cache" and "Expires: 0" to inhibit caching.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
messages to the qfiles directory. This once and for all avoids the
possibility that we hit the MTA's command time limit. The mailing
list objects are never locked so we can't time out there. They don't
need to be locked for message queuing.
The penalty is that we do more disk i/o for every message destined to
the list, the list-owner or list-request, and messages are not
delivered immediately. Both are probably worthy tradeoffs for
absolutely guaranteeing that messages never get lost.
|
| |
|
|
|
| |
traceback, system, and environment information to the web pages. The
information is always still printed to the log files.
|
| |
|
|
|
| |
DeliverToList() will now do this automatically if any pipeline module
fails.
|
| | |
|
| |
|
|
|
|
|
| |
fails -- the list name is missing or bogus, or the list lock cannot be
acquired within the LIST_LOCK_TIMEOUT time frame -- the message is
enqueued for qrunner to try again later. Previously, the message was
simply lost!
|
| |
|
|
|
|
|
|
|
| |
name is missing or bogus, or the list lock cannot be acquired within
the LIST_LOCK_TIMEOUT time frame -- the message is enqueued for
qrunner to try again later. Previously, the message was simply lost!
If DeliverToUser() returns a true value, then this means the message
delivery was not completed, and again, the message is enqueued.
|
| |
|
|
|
|
|
|
|
| |
name is missing or bogus, or the list lock cannot be acquired within
the LIST_LOCK_TIMEOUT time frame -- the message is enqueued for
qrunner to try again later. Previously, the message was simply lost!
If DeliverToList() returns a true value, then this means the message
delivery was not completed, and again, the message is enqueued.
|
| |
|
|
|
|
|
|
| |
operating environment, namely some key sys module attributes (version,
prefix, etc.). We're going to need a way to scale back this reporting
for the Web pages in case folks do not want to reveal this much
information. And hey, since 2.0 will have no bugs, this stuff is all
moot anyway, right? :)
|
| |
|
|
|
|
|
|
| |
the logger object so they can simply sys.stderr.write() to get error
messages out to logs/error.
No need to set sys.__stderr__ and sys.__stdout__; we're requiring at
least Python 1.5.2 now.
|
| | |
|
| | |
|
| |
|
|
| |
is going to be required now.
|
| | |
|