| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
| |
only if the cgi script runs to completion successfully do we write the
entire output to the real stdout (connected to the web server). This
way, if any exception occurs during the rendering of the page (e.g. in
"print doc.Format()") we won't mess up the diagnostics page.
|
| | |
|
| |
|
|
| |
handler will autorespond to -owner emails. Closes SF bug #558909.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
compatibility.
|
| |
|
|
|
|
|
|
| |
in Defaults.py, we need to arrange for this script to import paths.py
to pick up the correct site-packages prefixed sys.path.
Because we do this, we can delete the sys.path.insert() call, which
was redundant.
|
| |
|
|
|
|
|
|
|
| |
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.
|