[Mailman-Developers] Re: [Mailman-Users] postfix alias mailman 2.1a2
Barry A. Warsaw
barry@zope.com
Fri, 17 Aug 2001 12:20:14 -0400
>>>>> "RP" == Rodolfo Pilas <rodolfo@linux.org.uy> writes:
>> 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.
RP> Well, I fix the problem with these commands:
| 1) touch mailman/data/aliases
| (give the file the gid and access as README.POSTFIX)
| 2) postalias hash:mailman/data/aliases
| (this command creates an aliases.db)
I think I have some better guidelines now. I realized that
bin/genaliases can be used to initialize data/aliases.db (with a chown
afterwards). Attached is the new README.POSTFIX instructions. This
works for me from a virgin install, so it would be great if others
could try it out.
RP> Because I run postfix as nobody:nogroup I need to configure
RP> mailman with --with-mail-gid=nogroup as a difference of
RP> README.POSTFIX said.
Hmm, I believe the key thing here is the ownership of the
data/aliases.db file, regardless of how you start Postfix. I believe
that Postfix will always run filter programs with the same uid as the
owner of the aliases.db file, in this case user `mailman'. Thus you
need to configure Mailman with --with-mail-gid=mailman as the
instructions now clearly state that the owner of the data/aliases*
files must be mailman.mailman.
RP> Now I have all system working. An I wish to thank all of the
RP> help received in mailman-users and mailman-developers
RP> lists. THANK YOU!
Excellent!
-Barry