At 1:42 PM -0500 2004/05/12, Pat Riehecky wrote:

 I'm playing around a bit with mailman and was wondering how to get it to
 update /etc/aliases automatically using postfix.

The directions provided in the README.POSTFIX file worked just fine for us.

 Here is the stuff from Defaults.py
 MTA = 'Postfix'
 POSTFIX_STYLE_VIRTUAL_DOMAINS = []  # not using virtual domains
 POSTFIX_ALIAS_CMD = '/usr/sbin/postalias
 POSTFIX_MAP_CMD = '/usr/sbin/postmap'

 and I have symlinked /etc/aliases to mail/aliases, but running addlist as
 either root or (after chown mailman /etc/mail/aliases) mailman it is not
 updated.  What obvious thing have I missed?

You didn't read the instructions completely & correctly.

The scripts are looking for the mailman aliases file in /usr/local/mailman/data/aliases, which should be added to the "alias_maps=" parameter in your postfix/main.cf, but should *NOT* be in the "alias_database=" parameter -- you want Mailman to automatically rebuild and regenerate this Mailman-specific aliases file, not postfix.

--
Brad Knowles, <[EMAIL PROTECTED]>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
    -Benjamin Franklin, Historical Review of Pennsylvania.

  SAGE member since 1995.  See <http://www.sage.org/> for more info.

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to