This is a discussion on Re: Postfix/Mailman question... within the mailing.postfix.users forums, part of the Mail Servers and Related category; ----- Original Message ----- From: "Mike Burger" <mburger@bubbanfriends.org> To: "Bill Landry" <billl@pointshare....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
----- Original Message -----
From: "Mike Burger" <mburger@bubbanfriends.org> To: "Bill Landry" <billl@pointshare.com> Cc: <postfix-users@postfix.org> Sent: Monday, June 06, 2005 5:58 PM Subject: Re: Postfix/Mailman question... > On Mon, 6 Jun 2005, Bill Landry wrote: > >> I posted this issue to the Mailman list and no one has been able to >> figure out what's causing the following behavior, so I thought I would >> pose the question here. >> >> I have setup a list server running on Fedora Core 3, with Postfix 2.2.3, >> Mailman 2.1.5, and Python 2.3.4. I believe I have setup and configured >> the services correctly per the installation guides, but am seeing an >> issue with delivery of list messages. >> >> Per the Mailman documentation, I have setup the Mailman alias* files with >> the following ownership (Mailman's $prefix/bin/check_perms likes this): >> >> ls -l /usr/local/mailman/data >> -rw-rw-r-- 1 mailman mailman 107000 Jun 6 08:59 aliases >> -rw-rw-r-- 1 mailman mailman 167936 Jun 6 08:59 aliases.db >> >> However, went a message gets posted to the a list, it gets dropped into >> the deferred queue with the following logged to the maillog: >> >> Jun 6 10:52:07 lists postfix/local[20108]: warning: cannot find alias >> database owner for hash:/usr/local/mailman/data/aliases(0,34100) >> >> It was suggested that I try resetting the ownership to root:mailman on >> the aliases.db file (Mailman's $prefix/bin/check_perms does _not_ likes >> this): >> >> ls -l /usr/local/mailman/data >> -rw-rw-r-- 1 mailman mailman 107000 Jun 6 08:59 aliases >> -rw-rw-r-- 1 root mailman 167936 Jun 6 08:59 aliases.db >> >> And making this change causes the following results: >> >> Jun 6 12:22:45 lists postfix/local[20474]: 711426FE2C: >> to=<curtistest@lists.siemensmedical.com>, relay=local, delay=1, >> status=bounced (Command died with status 1: >> "/usr/local/mailman/mail/mailman >> post curtistest") >> >> In main.cf I have the following alias* entries: >> >> postconf -n | grep alias >> alias_database = hash:/etc/postfix/aliases >> alias_maps = hash:/etc/postfix/aliases, >> hash:/usr/local/mailman/data/aliases >> >> Additional info: >> id mailman >> uid=41(mailman) gid=41(mailman) groups=41(mailman) >> >> grep mailman /etc/shadow >> mailman:!!:12327:::::: > > Two things I'd suggest. > > First, add hash:/usr/local/mailman/data/aliases to the alias_database > line. I'm pretty sure that I had to do that, for mine. Tried that, didn't help. Besides, the README.POSTFIX specifically states: - Hack your Postfix's main.cf file to include the following path in your alias_maps variable: /usr/local/mailman/data/aliases (no trailing .db). Do not include this in your alias_database variable. This is because you do not want Postfix's newaliases command to modify Mailman's aliases.db file, but you do want Postfix to consult aliases.db when looking for local addresses. > Second, try making postfix a member of the mailman group, and see if that > helps. Yep, tried that, as well, also didn't help. Any other ideas...? Thanks, Bill |