| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
Try again.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
end message numbers (counted from zero) with which to archive. This
can be useful when re-archiving a huge .mbox file, even though you
have to manually chunk it.
|
| |
|
|
| |
into interactive mode unless we --run.
|
| |
|
|
|
|
| |
sequence of 2-tuples. We're only interested in the first element of
these 2-tuples, since that is the one that names the subcategory (the
second element is a description).
|
| |
|
|
| |
qfiles/shunt back to their original queue.
|
| | |
|
| | |
|
| |
|
|
| |
These mean usage errors.
|
| |
|
|
|
| |
remove a particular set of addresses from every mailing list at the
site.
|
| |
|
|
|
| |
main(): Forgot to check the value of the nomail flag when filtering
out disableds.
|
| |
|
|
| |
try to move files into it.
|
| |
|
|
|
|
|
|
|
| |
written by Ben Gertzfield, ported to MM2.1 by Marc MERLIN.
Specifically,
Instead of using LIST_DATA_DIR directly, instantiate a MailList object
and use its fullpath() method.
|
| |
|
|
| |
converted to the Site module abstractions.
|
| |
|
|
| |
main(): Remove $prefix/Mailman/pythonlib.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
should be able to filter on nomail (i.e. delivery disabled) as well as
the kind of digest being received.
I liked the idea, but wasn't keen on the new command line switches, so
I reimplemented it using optional arguments on the switches. Sadly,
this means we can't use getopt, but still, it's not that hard to hand
code. getopt-sig to the rescue!
Specifically, -d/--digest grow an optional argument, and added the
-n/--nomail switch.
statusp(): Returns a boolean specifying whether the nomail filter
matches the delivery status of the member.
main(): New option parsing code, and added the filters described
above.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
modules. Specifically, import the email package /after/ we've
imported paths.
Also, in add_members: change the import of StringIO to use the Python
standard cStringIO module, which we can now pretty much guarantee to
be there.
|
| |
|
|
|
| |
we path-hack before we try to import any email module. We'll need to
do an audit of all the command line scripts.
|
| |
|
|
|
|
|
|
| |
language for the email message that's sent out. Then do the
translation and UserNotification generation, then reset the language
context and send the message.
Patch by Ben Gertzfield, modified by Barry.
|
| |
|
|
|
|
|
|
| |
list's preferred language for the email message that's sent out. Then
do the translation and UserNotification generation, then reset the
language context and send the message.
Patch by Ben Gertzfield, modified by Barry.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- When Errors.EmailAddressError is raised, the translatable string in
the print statement was illegal.
- If an email address showed up twice in the sync file, a dry-run
would have shown that address to be addable, even if it was already
a member of the list.
- If there were legacy illegal address in the user database
(e.g. aperson@@dom.ain), then ApprovedDeleteMember() would fail on
it with an MMNoSuchUserError, because parseaddr() in the former
method would return some bogus address like "aperson@". In that
case, use a lower level routine to delete the bogus record from the
member database.
|
| |
|
|
|
| |
Added a --all / -a flag which says to run the callable against every
list in the system. Must be used w/ -r / --run.
|
| | |
|
| |
|
|
| |
scripts.
|
| | |
|
| |
|
|
|
| |
script as "python -i ..." to get a prompt after the primary processing
is done. I'd forgotten about the code.InteractiveConsole class!
|
| |
|
|
|
|
|
|
|
| |
flag so that when it's garbage collected, the lock files won't be
removed. Since they're the same as the forced lock's files, we'd be
removing the files at the wrong time.
acquire_lock(): Rearrange the return values so the logic is a little
easier to follow. Move the "return lock" into the try stanza.
|
| |
|
|
|
| |
even after a list has been deleted (it simply deletes any residual
archives not deleted the first time around).
|
| | |
|
| |
|
|
| |
rename of the wrapper program.
|
| |
|
|
| |
pickle too!
|
| | |
|
| |
|
|
| |
mail/mailman.
|
| |
|
|
|
|
|
|
|
| |
use of the language for the template and the Subject: header. Make
sure both the header and the template is in the list's preferred
language.
Also, add -l/--language option so that the list's preferred language
can be set from the command line.
|
| |
|
|
|
| |
happen if you follow the README.POSTFIX instructions in a virgin
installation).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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!
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
translatable to other MTAs that need their aliases twiddled.
Don't try to import bsddb3; actually don't import bsddb here either.
That's handled in Postfix.py.
_zapfile(): Gone.
main(): Import the Mailman.MTA module named in mm_cfg.MTA, for
generality.
|
| |
|
|
|
|
| |
main(): Collate lists first by host_name, zap the aliases file, and
then each of the virtual files for each domain. Then we can just use
Postfix.create() to write the appropriate entries to all the files.
|
| |
|
|
|
|
|
| |
semantics. When run as a subproc, any ImportErrors caused by bogus
qrunner names simply get logged, and the script exits with an error
code == SIGTERM. This tells mailmanctl not to try to infinitely
restart it.
|
| |
|
|
|
| |
to run as a mailmanctl subproc (subtly, but usefully changing it's
exit semantics).
|
| |
|
|
|
|
|
|
|
|
|
| |
if Python and Postfix have incompatible versions of BerkeleyDB,
genaliases either will fail or will break Postfix. :(
Because Robin Dunn's PyBSDDB3 should be compatible with the widest
range of existing BDB libs, we try to import and use it first.
Failing that, fallback to the standard bsddb module. In either case,
we really don't need the dbhash module, which knows nothing about
bsddb3.
|
| |
|
|
| |
DEFAULT_URL_HOST.
|
| | |
|
| |
|
|
| |
to be removed.
|
| | |
|