[Mailman-Users] Mailman 2.2: automatic newaliases from GUI listcreation?

Allen, Geoff geoff at wsu.edu
Tue Mar 25 19:56:06 CET 2008


> Just a quick question, as it's certainly not a deal-breaker: will
> Mailman 2.2 support appending to /etc/{mail}/aliases, and the
> execution of the newaliases command? I understand that there are
> privilege concerns and security questions involved in this, but I'm
> curious to hear if there's a roadmap for this functionality or if it
> is too low-demand to be included. If it's the latter, my feelings
> won't be hurt! I am curious more than anything.

I do this with a cron job that writes the aliases and runs every 5
minutes.

Here is the script in its entirety:

----- begin -----
#!/bin/sh

/usr/lib/mailman/bin/genaliases | sed -n '5,$p'
>/etc/mail/mailman-aliases
/usr/bin/newaliases
----- end -----

And I have sendmail read that aliases file with:

----- begin -----
O AliasFile=/etc/mail/aliases, /etc/mail/mailman-aliases
----- end -----

in sendmail.cf.

Geoff


More information about the Mailman-Users mailing list