diff options
| author | bwarsaw | 2000-06-15 20:54:54 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-06-15 20:54:54 +0000 |
| commit | ea71c4eb22b5f02f38a83627fbb0cf4d2aeb034f (patch) | |
| tree | b274bca3cf50bffa037e037385b927a72d21860b /Mailman/pythonlib/__init__.py | |
| parent | e0924e960217ec856947fe89fcb15bc8f52e5eaf (diff) | |
| download | mailman-ea71c4eb22b5f02f38a83627fbb0cf4d2aeb034f.tar.gz mailman-ea71c4eb22b5f02f38a83627fbb0cf4d2aeb034f.tar.zst mailman-ea71c4eb22b5f02f38a83627fbb0cf4d2aeb034f.zip | |
HandleRequest(): Takes three new additional arguments, `preserve',
`forward', and `addr' which are passed in from admindb.py. These
are only useful for held postings, and are only passed on to
__handlepost().
preserve is a flag that says whether the held message should be copied
to the `spam' directory or not.
forward is a flag which says that the message should be forwarded on
to an addition email address, which is contained in the addr
parameter. Both most be set for forwarding to occur.
Finally, HandleRequest() only deletes the database entry if the status
of the sub-method is true. This is to support the new `deferred' flag
for held postings.
__handlepost(): Takes the three new parameters as described above.
Uses shutil to do the `preserve' copy, and HandlerAPI.DeliverToUser()
to do the forwarding (after inserting a `Resent-To' header).
Diffstat (limited to 'Mailman/pythonlib/__init__.py')
0 files changed, 0 insertions, 0 deletions
