For my Mailman server, I wrote a script to extract the mailman alias
entries and merge them with my master aliases file. I run this from
cron every 10 minutes. Usually, by the time the list owner gets done
fiddling with the config for his new list, the alias file entries have
already been generated.


I did things a bit different. I configured sendmail to use two alias files: etc/aliases and /etc/mm_aliases (the latter being for Mailman aliases only). No merging necessary. My script appends to mm_aliases and executes newaliases thereafter. If you wish, you can configure sendmail's alias file option in /etc/mail/sendmail.mc. The line is here:

define(`ALIAS_FILE', `/etc/aliases,/etc/mm_aliases')dnl

- Kevin





------------------------------------------------------
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to