diff options
| author | bwarsaw | 2001-12-24 20:17:36 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-12-24 20:17:36 +0000 |
| commit | 4def779a116c56b6627ccac2248dd2a470d9270e (patch) | |
| tree | c671e3b31472d23ee365eddbd28027144a96a3b7 /Mailman/MTA/Postfix.py | |
| parent | 33dc368e8fe396a3f40fc4ae0be52ba7e7c3a0ba (diff) | |
| download | mailman-4def779a116c56b6627ccac2248dd2a470d9270e.tar.gz mailman-4def779a116c56b6627ccac2248dd2a470d9270e.tar.zst mailman-4def779a116c56b6627ccac2248dd2a470d9270e.zip | |
Diffstat (limited to 'Mailman/MTA/Postfix.py')
| -rw-r--r-- | Mailman/MTA/Postfix.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Mailman/MTA/Postfix.py b/Mailman/MTA/Postfix.py index da201bf37..f39c52bb9 100644 --- a/Mailman/MTA/Postfix.py +++ b/Mailman/MTA/Postfix.py @@ -26,7 +26,15 @@ import errno import pwd import fcntl from stat import * -import bsddb + +# Python's BerkeleyDB support is simply broken, IMO. The best advice I can +# give is that if you are having problems, download and install PyBSDDB3, from +# pybsddb.sf.net, install it, and use it by (possibly) editing the following +# lines. +try: + import bsddb +except ImportError: + import bsddb3 as bsddb from Mailman import mm_cfg from Mailman import Utils |
