Re: [Mailman-Developers] removing entries from aliases

I agree. Wouldn't it be a better idea to have a second aliases file that only mailman can modify, then have an alternative version of newaliases that concatenates the standard /etc/aliases and the mailman aliases together, before processing.
That way, if it all goes pear shaped, your main aliases file is unaffected, only your mailman aliases get screwed, and if you have a backup version, you can recover.
I'm sure I read somewhere about being able to do includes in alias files anyway, but I can't find the reference anyway.
Or am I missing the point here?
Stu.
-- http://mobiles.ekins.net - Special offers on Nokia 9000 cases and personal numbers...

Stu Ekins wrote:
Most MTAs, including sendmail (exim is my personal favorite), can handle multiple alias files. As for sendmail you have to modify sendmail.cf like (version 8.8 and above):
O AliasFile=/etc/aliases,/home/mailman/aliases
The command newaliases, which updates the sendmail alias databases, automatically recognizes the new configuration with multiple alias files.
I do use a separate mailman alias file myself, although with exim as MTA. The configuration looks like this (in /etc/exim.conf):
mailman_aliases: driver = aliasfile domains = list.twinspot.net file = /home/mailman/aliases search_type = lsearch user = mailman group = mailman
By the way, exim does not use newaliases for aliases updates.
regards, Tomas

Stu Ekins wrote:
Most MTAs, including sendmail (exim is my personal favorite), can handle multiple alias files. As for sendmail you have to modify sendmail.cf like (version 8.8 and above):
O AliasFile=/etc/aliases,/home/mailman/aliases
The command newaliases, which updates the sendmail alias databases, automatically recognizes the new configuration with multiple alias files.
I do use a separate mailman alias file myself, although with exim as MTA. The configuration looks like this (in /etc/exim.conf):
mailman_aliases: driver = aliasfile domains = list.twinspot.net file = /home/mailman/aliases search_type = lsearch user = mailman group = mailman
By the way, exim does not use newaliases for aliases updates.
regards, Tomas
participants (2)
-
Stu Ekins
-
Tomas Fasth