[Mailman-Users] footer

Simon White simon at mtds.com
Fri Jan 31 18:04:55 CET 2003


31-Jan-03 at 13:45, Fernando Schapachnik (fernando at schapachnik.com.ar) wrote :
> En un mensaje anterior, Simon White escribió:
> > > I realize that I gain some extra footer variables if I turn personalization on,
> > > but fail to see how any of them relate to including the output from an external
> > > commands. Think about including the fortune output in the footer, for example.
> > 
> > Put a wrapper around the aliases, for example:
> > 
> > list-name at listserver.com	"|/usr/bin/mywrapper|/home/mailman/mail/mailman post list-name"
> > 
> > Then the script mywrapper could be like this:
> > 
> > #!/bin/bash
> > while read line
> > do
> > echo "$line"
> > done
> > 
> > fortune=`/usr/games/fortune`
> > 
> > echo "-- "
> > echo $fortune
> 
> Thanks for your idea an script. I've allready thought of that, but, as you mentioned,
> it is only good for plain text post, but breaks MIME ones, so it is not good enough.

Well Mailman itself is MIME aware in its newest version, if i have
understood correctly, so maybe you could hack it to call an external
script at some point.

Clearly this should not be available as a regular variable or something
because the security implications of letting mailman call executables on
your mailing list server are grave.

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863



More information about the Mailman-Users mailing list