[Mailman-Users] permissions, mailman, postfix, virtual .ugh!

Mark Sapiro msapiro at value.net
Fri Mar 23 05:07:14 CET 2007


Washakie Wyoming wrote:
>
>I set up a virtual domain, and everything works with postfix alone. In
>main.cf:
>virtual_alias_domains = my.virt.domain
>virtual_alias_maps = hash:/etc/postfix/virtual
>
>### Now, changes for Mailman:
>alias_maps = hash:/etc/aliases,
>        hash:/etc/mailman/aliases  #if I comment this I have no problems
>
>Then I added in mm_cfg.py:
>POSTFIX_STYLE_VIRTUAL_DOMAINS = ['my.virt.domain']
>MTA = 'Postfix'
>
>NOTE: One point of confusion, according to the GNU manual, there should
>also be a virtual-mailman.db, but I don't see how, or know how to
>create this??? genaliases only creates /etc/mailman/aliases....


genaliases only creates virtual-mailman if you have one or more lists
whose host_name attribute (email domain) is in
POSTFIX_STYLE_VIRTUAL_DOMAINS.



>PERMISSIONS:
>in /etc/mailman:
>-rwxrwxr-x   1 root    mailman  1843 Mar 22 19:16 aliases
>-rwxrwxr-x   1 mailman mailman 12288 Mar 22 19:16 aliases.db
>
>in /etc:
>-rw-rw-r--   1 mailman mailman   2914 Mar 22 16:41 aliases
>-rw-rw-r--   1 mailman mailman  12288 Mar 22 19:26 aliases.db
>
>running check_perms produces no errors. 
>
>I get the following errors in maillog:
>Mar 22 19:48:26 localhost postfix/smtpd[8546]: fatal: open database
>/etc/mailman/aliases.db: Permission denied


Since -rwxrwxr-x clearly allows access, I'm guessing this is a SELinux
issue.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list