| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
closes bug # 716754. Must output any accumulated output to stdout
when a SystemExit is raised.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jr, after much checking and rechecking (and some massaging) by me. Checking
in now before I fall asleep and forget what all this was for.
This patch adds the ability to 'make DESTDIR=/some/dir/tree install' that
doesn't influence the paths stored in e.g. Defaults.py at all, which is of
good use for various package managers. It is not all that package managers
must do, however! Running make install with DESTDIR set means bin/update is
never run, and mm_cfg.py is always written; package managers should make
sure the appropriate post-installation is done, and that mm_cfg.py is
treated as a config file.
This patch inadvertently fixes some bogus whitespace: 8-spaces where
surrounding code used tabs. The difference was harmless because the 8-spaces
were used inside shell-continued-oneliners, but it is confusing and could
lead to future harm. I'm too tired to make those two or three changes in a
separate checkin, sorry.
This patch also assumes the various packages that are installed using
distutils do not record (or rather, use) their installation paths anywhere,
but this seems to hold true at least for the moment.
Also, I've done so many slow cvs diff's, I'm wondering when we'll switch to
Subversion. Unfortunately, I've also done so many 'cvs diff -c > file; patch
-p0 -R < file's to switch back and forth between patches and change sets,
I'm wondering when we'll switch to Aegis as well. :-P
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| | |
|