summaryrefslogtreecommitdiff
path: root/Mailman/MailCommandHandler.py
diff options
context:
space:
mode:
authorbwarsaw2002-02-09 03:50:52 +0000
committerbwarsaw2002-02-09 03:50:52 +0000
commitd8d3d0e580cb1a2fb47a8454c25e13ad444faeb5 (patch)
tree1c2061b6754e1d346bd4a634f4dffab6d76ed656 /Mailman/MailCommandHandler.py
parent975e43f8ca04346b7e391b263c8169c71ff5aaf2 (diff)
downloadmailman-d8d3d0e580cb1a2fb47a8454c25e13ad444faeb5.tar.gz
mailman-d8d3d0e580cb1a2fb47a8454c25e13ad444faeb5.tar.zst
mailman-d8d3d0e580cb1a2fb47a8454c25e13ad444faeb5.zip
Massive simplification to avoid making all the BerkeleyDB calls
ourselves. Given the incompatible state of BDB libraries on most modern Linux distros, and given the sorry state of affairs in Python's BDB wrappers, this is the only sensible solution. Essentially, I've kept all the plain text (data/aliases and data/virtual-mailman) update code, and then we just call postalias and postmap on the files to get the .db counterparts regenerated. This should be foolproof since only Postfix itself needs to use consistent libraries -- attempting to match Postfix and Python would be a nightmare. I don't believe we're opening ourselves up to any vulnerabilities by using os.system() in this case. Also: all functions which are not meant to be part of the public MTA interface are now prefixed by a single underscore. I'm too tired to give detailed changes...
Diffstat (limited to 'Mailman/MailCommandHandler.py')
0 files changed, 0 insertions, 0 deletions