| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
MailList.Post(), specifically:
Message object ctor takes a file-like object, so use StringIO when the
data is coming from a string.
MailList.Post() no longer takes an approved argument. Setting the
`fromusenet' attribute on the message object is enough to let the
system know where the message is from.
|
| |
|
|
|
|
|
|
|
|
| |
the mailing list that have a matching X-BeenThere header). Instead of
holding such messages for approval, an MMLoopingPost error is raised.
This is caught by the post CGI script, which logs this occurance and
sends a notice (containing the original message) to the list admin.
This way, the admin knows there's a problem and can track the loop
down, but isn't so inconvenienced to go the the Web page just to
discard the message (the usual disposition).
|
| |
|
|
|
|
|
| |
Stick a `fromusenet' attribute on the msg object, value taken from
whether there is a magical second argument to the post script (only
happens from GatewayManager). Also post message with approved flag
set to fromusenet, so message originating on Usenet are pre-approved.
|
| |
|
|
| |
templates/postheld.txt
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
approval - notifications are now sent even for suspected spam. I was
experimenting with avoiding alerting spammers to spam filtering, but
i've come to realize that:
- Not notifying prevents non-spammers from getting any feedback when
they inadvertantly trip a spam sensitivity, and
- It's probably best to blast stuff back at spammers. In the common
case that the return addresses are useless, no harm, and if the
return addrs are good, then the more people using the spam
protection, the more spam the spammer gets in response.
The moral is, forthrightness is the best policy. Even if it does
expose our measures and up the ante in the spam war, security via
obscurity is a poor, and often misguided, approach.
|
| |
|
|
| |
stderr. (I expect we should do this for all the scripts.)
|
| |
|
|
| |
- new version of Unlock takes care of that.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QUESTION: The MailList.Unlock() method currently raises two different
AttributeErrors when the list is not currently locked (depending on
whether or not the lock was previously created). This certainly seems
like the wrong exception.
We could make .Unlock() check for the lock and return a better
exception, or we could have it just return if the list is not locked.
I'm inclined towards the latter, but it changes the character of the
list locking interface a wee bit.
I think it ought to be changed, one way or the other. John, what's
your inclination?
Ken
|
| |
|
|
|
| |
module (we should really create a mail driver similar to the CGI
driver).
|
| | |
|
| |
|
|
| |
constructor actuals when the list doesn't need to be locked.
|
| |
|
|
|
|
|
|
| |
is present, post realizes that it was called by the News->Mail gateway,
and tells the mailing list not to Mail->News gateway anything.
Actually, thinking about it, it is probably better to set a field in
each message object saying "Don't send me to news!". I'll probably
adjust that after I get to test the code.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from $PATH
2. Do no direct sys.path munging in this file. Import the `paths'
module, which is created during the configure process, and which
performs all necessary path munging (and exports some useful
variables too).
3. Remove RCS crud
Also:
Removed all hardcoded absolute paths. Instead, calculate paths using
paths.prefix as the base.
Change ''' TQS to """ so as not to confuse font-lock.
!!!! When calling SendTextToUser(), set the new optional argument
raw=1 so that the text body will not be wrapped/filled. The checkin
that implements wrapping and filling has not yet been made. Note that
it would be nice if just the templated text could be wrapped/filled
and the err_msg left alone, but that's currently too hard to separate.
|
| | |
|
| |
|
|
|
|
|
| |
do so.
Added a copy of the GNU GPL.
Added information about mailman-users in README, and reworded some text in there (made the credits less verbose... perhaps they should move to a credits file?)
|
| | |
|
| | |
|
| |
|
|
| |
with spam and do not notify the sender that their message is being held.
|
| | |
|
| |
|
|
| |
the hold is list moderation.
|
| |
|
|
| |
existence of the would silently prevent the post.
|
| |
|