| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
| |
DeliverToUser(): Don't put DELIVERY_MODULE in the pipeline; that's now
handled by the OutgoingRunner.
LIST_PIPELINE: Put ToUsenet at the end of the pipeline, and add
ToOutgoing to make sure the message gets put in qfiles/out.
|
| |
|
|
|
|
|
|
| |
process(): Makes a copy of the message, munges the copy's headers and
requeues the copy to qfiles/news. This no longer does any forking,
since handoff from Mailman->NNTPD is performed by the NewsRunner.
do_child(): Get rid off.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
directory) to the nntpd news server. Used only by NewsRunner.
|
| |
|
|
|
| |
Also, use list comprehensions instead of map where appropriate. And,
wrap translatable strings in _().
|
| |
|
|
|
| |
Also, don't set the X-BeenThere: header by appending to msg.headers;
use the __setitem__() interface instead.
|
| | |
|
| |
|
|
|
| |
filterfunc(): Get rid of this too, since we can use a list
comprehension instead (which I think is just as clear).
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Runner is the base class providing the framework for other qrunner
specializations.
IncomingRunner runs through qfiles/in taking messages from the smtpd,
sending them through the standard message handler pipeline and
potentially writing the message to qfiles/out or qfiles/news.
OutgoingRunner takes message from qfiles/out and hands them over to
the MTA.
NewsRunner takes message from qfiles/news and hands them over to the
news server.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Currently there's
qfiles/in -> the incoming queue (from post, mailcmd, mailowner, auto)
qfiles/out -> the smtp outgoing queue (handoff mailman->mta)
qfiles/bounce -> for incoming bounce processing
qfiles/news -> the nntp outgoing queue (handoff mailman->nntpd)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
newdata or kws has an item called "_whichq", this specifies the
directory to queue to, defaulting to INQUEUE_DIR.
The metadata "filebase" is always set to __filebase, not just when the
metadata is created for the first time.
When writing the .db file (i.e. containing the metadata), always write
it after the .msg text file, and always write it to a temporary file,
with an os.rename() shuffle. This should avoid race conditions when
queuing a message to another queue because the queue runners only key
off of files ending in ".db".
Requeue(): New method which calls Enqueue() after zapping
self.__filebase so it'll be recalculated.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
better.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
DEFAULT_URL end in a slash causes problems. The default value for
web_page_url argument is now None, and if it's found to be None in the
body of the function, it's set to mm_cfg.DEFAULT_URL (and coerced to
always end in a slash).
|
| |
|
|
|
|
|
| |
is enabled, we now unconditionally munge based on the
reply_goes_to_list config variable setting. If the Reply-To: header
is munged, the original Reply-To: header (if any) is put on
X-Reply-To:
|
| |
|
|
| |
and reply_to_address configuration options.
|
| | |
|
| |
|
|
| |
data_version attribute, unless the list is locked.
|
| |
|
|
| |
missing. Submitted by Erik Forsberg (original patch author).
|
| |
|
|
| |
are case insensitive according to RFC 1521. Closes patch #102268.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
messages with a Subject: in ('subscribe', 'unsubscribe'). This kind
of filtering happens at higher levels in Mailman; if such a message is
in the .mbox file, it should be in the html archive.
Closes bug #121811 for real now.
|
| |
|
|
|
| |
(uppercase) hex digits. This fixes SF bug #117548 and replaces the
suggested patch in patch #102097. (patch approved by Jeremy.)
|
| |
|
|
|
|
| |
the user is successfully unsubscribed. In that case there /is/ no
options for the user to continue to edit. Fixes SF bugs 122017 and
121591.
|
| |
|
|
|
| |
comment doesn't jive with the web options. It also doesn't jive with
the actual implementation, so make the comment conform to reality.
|
| |
|
|
| |
portable definitions.
|
| |
|
|
|
|
|
|
|
| |
database, zap the `filebase' attribute and let it be recalculated when
the message is enqueued. This fixes duplication bugs when an approved
message has delivery problems, and get re-enqueued continually with a
different filebase.
This should close SF bug #117015.
|
| |
|
|
|
| |
connection fails with a socket.error, the file descriptors are
reclaimed.
|
| |
|
|
| |
Simon Hill's dissenting opinion on Reply-To munging.
|
| |
|
|
| |
broke the archiver.
|
| | |
|
| | |
|
| |
|
|
| |
emails. These should really be log file output.
|
| |
|
|
| |
MTA_ALIASES_STYLE for the newlist script's output.
|
| |
|
|
|
|
| |
__write() can fail with an EPERM. It seems to be a very rare
occurrence, only happens from cron, and (only?) on Solaris 2.6. I'm
too nervous to change this for 2.0.
|
| |
|
|
|
|
|
|
|
| |
forwarded, we need to craft two completely separate messages for each
path through the system. They can't share msgdata state or message
text or the first will simply disappear. Hacky way of doing this is
to rewind the file pointer and re-instantiate a new message object.
Closes SF bug #116311.
|