| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
conversion to optparse style option parsing. Remove mailpasswds as password
reminders will go away for MM2.2.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
this is a hack, everything should be turned into unicode at the edges
-- sigh, that's a mm3 solution).
main(): Some fixes for i18n, based on debugging w/Peer. Specifically
coerce table entries to unicode to catch non-ascii passwords (didn't
think about that! :). Also, turn the template into unicode so it
combines properly with other texts.
Closes SF 755190.
Back port candidate.
|
| |
|
|
| |
in them. In that case, log it and continue.
|
| |
|
|
| |
user's SuppressPasswordReminder flag.
|
| | |
|
| |
|
|
| |
in mm_cfg.py
|
| |
|
|
|
|
| |
and cron scripts. When code/status == 0, there's no error (it's
likely --help output) so send that to stdout. Otherwise, it's an
error and the output goes to stderr.
|
| |
|
|
| |
limit password sending to a specific list.
|
| |
|
|
|
|
|
|
| |
header into the same language that the password reminder body is
getting translated to, we need to temporarily set the i18n language
around the calculation of the Subject: header. We also need to pass
the user's suspected language <wink> into the UserNotification()
constructor.
|
| |
|
|
|
|
|
|
|
|
|
| |
address instead of the mailman-admin@dom.ain address. We don't want
people contacting the site owner to be bounce processed.
Also, Utils.get_site_email()'s second argument should no longer
include the leading dash.
Set the `errorsto' metadata to the mailman-bounces address, and add a
`verp' flag in the metadata set to VERP_PASSWORD_REMINDERS.
|
| |
|
|
|
| |
and exit with a non-zero status (so cron should let us know there's a
problem).
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
into the script's #! line -- based on --with-python settings, without
losing CVS revision history.
#! /usr/bin/env python
becomes
#! @PYTHON@
which gets substituted for in configure.
|
| |
|
|
|
| |
send the password reminder as if it's coming from the "first" public
mailing list. Instead it comes from the "site list".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
after paths. Because these scripts are run from cron with "python -S"
they must import mm_cfg before attempting to import mimelib; mm_cfg
hacks sys.path to include site-packages which -S inhibits.
For those scripts that already import mm_cfg, add a comment describing
the import order dependencies. For those that didn't, add a comment
about why it's being imported.
Also, gate_news: Removed the _ContinueLoop docstring so translators
have one less non-translatable docstring to worry about.
Closes Thomas's SF patch #443803.
|
| |
|
|
|
|
|
| |
API instead, e.g.
GetUserOption() -> getMemberOption()
GetUserSubscribedAddress() -> getMemberCPAddress()
|
| |
|
|
| |
Wilane.
|
| |
|
|
|
|
|
|
|
|
|
| |
suppressed reminders for a particular list. The user will have to
disable reminders for all lists they are members of if they really
don't want to get any such messages.
mail_passwords(): Convert away from the old-style HandlerAPI mechanism
of sending the reminder message.
Also, de-string-module-ification.
|
| |
|
|
| |
with the list's preferred language.
|
| |
|
|
|
|
|
|
|
|
| |
"_nolist" volatile key, which indicates to the delivery pipeline that
it shouldn't include list specific information (e.g. List-Id:).
Closes SF bug #114127, Jitterbug PR#149.
main(): DeliverToUser() requires the list to be locked, so be sure to
lock a_public_list around the call to mail_passwords() otherwise
exceptions will occur and lock turds will be left!
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
- be sure to use the member's case-preserved subscribed address
- watch out for any addresses that are in the password dictionary but
are (for some unknown reason) not subscribed. Zap any such
addresses found.
|
| | |
|
| |
|
|
|
|
|
| |
mm_cfg.VIRTUAL_HOST_OVERVIEW is true. This should resolve PR#5.
Note that this is a debugging version and not /quite/ the final
check-in.
|
| |
|
|
|
|
| |
public list to serve as the sender of the password notifications.
(This arrangement is still ad-hoc, as my previous mailpasswds checkin
message suggests.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
messing up their SIGCHLD handling. This would manifest as an IOError
getting raised in the cmdproc.close() call of DeliverToList() in
Deliverer.py. Thanks go Harald Meland for describing the real problem
and giving the real fix. Thanks go to Greg Stein for testing this
patch and verifying that it works.
Deliverer.DeliverToList(): Undo previously checked in patch, which
simply wrapped a try/except around the cmdproc.close() call and
ignored errno=10 IOErrors. This was treating the symptoms, not the
cause.
All files in cron/: Added Harald's work around of the Linux bug by
including these lines in every file:
# Work around known problems with some RedHat cron daemons
import signal
signal.signal(signal.SIGCHLD, signal.SIG_DFL)
It helps RedHat and doesn't appear to hurt on e.g. Solaris.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
any is available, for actually sending out the passwords reminders.
Otherwise, an unadvertised list may be used (and will be, if there are
no advertised ones on the system), putting its name in the list-id
header, and so forth.
The proper fix will be to not use a list object, at all, to do the
sends - use Utils.SendTextToUser, or something, directly. This should
be fixed before full release - we just need to identify the proper
headers - who should be the sender, where should failure notices go,
etc, etc. Hmm - it would be nice to have a special return address
that would do the bounce processing, but look for and handle the bad
address on *all* the lists to which it belongs...
|
| |
|
|
| |
depending on whether or not the list is an umbrella...
|
| |
|
|
|
|
| |
recipients for password notices are the administrators of the member
addresses - this way, the password will not be advertised to the
sublist membership!
|
| |
|
|
|
|
|
| |
print a line indicating user and list when one of the specified
subscribers is found.
Changed var name to "confined_to".
|
| |
|
|
|
|
| |
specified, ignore all others. This provides an easy way to inform
users who have forgotten exactly what they're list memberships are
(which i'm about to do for someone).
|
| |
|
|
| |
trigger 'vacation' style programs. (I thought i already added this!)
|
| |
|
|
| |
rest of the text can be wrapped/filled but not the table.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
wait() within the send loop every PAUSE_FREQUENCY users, in order to
wait for the deliver process to finish queuing up the messages.
Also, the password message text was getting mangled by the word
wrapping in SendTextToUser. I added 'raw=1' to the call. (I should
say that i really don't think that SendTextToUser should be in the
business of wrapping or filling text - i thought Utils.maketext, when
deliberately applied, was going to take care of all that? Ah - i bet
i'm just behind in my checkouts...)
|
| | |
|
| |
|
|
| |
constructor actuals when the list doesn't need to be locked.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
| |
reminders_to_admins is set.
|
| |
|
|
|
|
|
| |
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?)
|
| | |
|
| | |
|
| |
|
|
| |
sent to a list-archive!
|