Sorry for the multiple post on this. In researching more it seems that Mailman must create an alias in the /etc/aliases file. If this is so does it run the new aliases program? There are entries in this file from Mailman but nothing about the new lists that I created. This must be why they do not work. So what is the fix? How do I make Mailman write to the aliases file and run new aliases, if this is needed? Is there something in Mailman that I missed?
Glen
On 2004-01-18 at 20:52:50-0800 "T. Glen Haggard" <glen@kk7ih.net> wrote:
Sorry for the multiple post on this. In researching more it seems that Mailman must create an alias in the /etc/aliases file.
The alias entries for the new list must be added to the aliases file. Mailman doesn't do this.
If this is so does it run the new aliases program?
Mailman doesn't.
There are entries in this file from Mailman but nothing about the new lists that I created. This must be why they do not work.
Correct.
So what is the fix? How do I make Mailman write to the aliases file and run new aliases, if this is needed? Is there something in Mailman that I missed?
You need to either add the necessary alias entries to the aliases file manually (each time you create or delete a list), or you need to script something together to do it for you.
(Or you can run Postfix instead of sendmail, but I have no interest in doing that.)
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.
-- James Ralston, Information Technology Software Engineering Institute Carnegie Mellon University, Pittsburgh, PA, USA
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
Newbie Alert!!!
I just installed Mailman 2.1.4 and created a new list via the Web based interface. This is a nice feature, but it does not give you the aliases to create like the command line does. It says it sent them via e-mail, but the email that was sent did not include the needed aliases.
I am on Redhat with Sendmail and Python 2.3.3.
Is there something wrong with my installation, or is this known behavior of the program?
Brian
-----Original Message----- From: mailman-users-bounces+brian=oneparkplace.com@python.org [mailto:mailman-users-bounces+brian=oneparkplace.com@python.org] On Behalf Of Kevin McCann Sent: Tuesday, February 03, 2004 7:54 AM To: James Ralston Cc: mailman-users@python.org Subject: Re: [Mailman-Users] More on Sendmail
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 Mailman-Users@python.org 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: brian@oneparkplace.com Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/brian%40oneparkplace.co m
At 6:37 AM -0500 2004/02/03, James Ralston wrote:
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.
Sendmail can have a list of alias files, just like postfix. The
Mailman aliases file should be able to be auto-rebuilt, and have sendmail pick up the changes on the fly -- just like postfix.
-- Brad Knowles, <brad.knowles@skynet.be>
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania.
GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E-(---) W+++(--) N+ !w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++) tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++)
participants (5)
-
Brad Knowles
-
Brian Haines
-
James Ralston
-
Kevin McCann
-
T. Glen Haggard