| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bin/withlist: If there's no '@' in the listname, append the DEFAULT_EMAIL_HOST
so we always get a fully qualified list name.
bin/mmsitepass: plumb through -C/--config switch and be sure to call
config.load().
Convert Mailman/MTA/Postfix.py to configuration.config, and update MTA/Manual.
In mailman/Cgi/create, we can't convert straight from a string to a bool,
because bool('0') is True. We need to go through int first.
MailList.InitTempVars(): The logic here looked weird because we could get
'name' = None and that would break. Assume name is never None.
|
| | |
|
| | |
|
| |
|
|
| |
Use True/False where appropriate.
|
| |
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
| |
happen if you follow the README.POSTFIX instructions in a virgin
installation).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
| |
we don't bomb out if the file doesn't exist yet. This lets us
recommend bin/genaliases as the way to initialize things instead
of `touch data/aliases.db' which seems to not work for some
people.
|
| | |
|
| |
|
|
|
|
| |
exclusive advisory lock on it, so Postfix doesn't try to read the file
while we're updating it. For a discussion of why we have to do this
so cruftily, see Mailman/MTA/Postfix.py
|
| | |
|
|
|
plain text data/aliases file for the Postfix MTA, using the known list
of mailing lists. This overwrites the existing file contents and
should be used if they get out of sync.
|