[Mailman-Developers] Re: [Mailman-Users] postfix alias mailman 2.1a2

Barry A. Warsaw barry@zope.com
Mon, 13 Aug 2001 00:25:23 -0400


>>>>> "AH" == Armin Haaf <haaf@mercatis.de> writes:

    AH> I installed mailman 2.1a2 on suse 7.2 with postfix as MTA. It
    AH> works fine until I set postfix as MTA in mm_cfg.py. After that
    AH> a list creation gives the following message:

    | Traceback (most recent call last):
    |   File "/home/mailman/app/mailman//scripts/driver", line 96, in run_main
    |     main()
    |   File "../Mailman/Cgi/create.py", line 54, in main
    |     process_request(doc, cgidata)
    |   File "../Mailman/Cgi/create.py", line 178, in process_request
    |     sys.modules[modname].create(mlist, cgi=1)
    |   File "../Mailman/MTA/Postfix.py", line 122, in create
    |     db = dbhash.open(DBFILE, 'c')
    |   File "/var/tmp/python-root//usr/lib/python2.0/dbhash.py", line 8, in
    | open
    |     return bsddb.hashopen(file, flag, mode)
    | error: (22, 'Invalid argument')

>>>>> "RP" == Rodolfo Pilas <rodolfo@linux.org.uy> writes:

    RP> I have explained my problem in mailman-users but I continue
    RP> with the problem and my mail server is down now.  For this
    RP> reason I paste here my previous postings in mailman-users.  I
    RP> can not add new lists into mailman/data/aliases.db to be used
    RP> by Postfix.

[same traceback]

I'm not able to reproduce this particular crash.  When I follow the
directions in README.POSTFIX, everything works fine.  Could we be
hitting a library mismatch between the version of bsddb linked to
Postfix and the one linked to Python?  If so, that could make this
approach fairly dicey.

-Barry