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

Chris Waltham cwaltham at bowdoin.edu
Tue Mar 25 20:37:52 CET 2008


On Mar 25, 2008, at 2:56 PM, Allen, Geoff wrote:
>> 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.

See, I thought of that part already...

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

...but not this part. Nice job!


Chris

>
>
> Geoff



More information about the Mailman-Users mailing list