[Mailman-Users] unsubscribe link in message footer?

Dan Mick Dan.Mick at west.sun.com
Sun Jul 23 22:09:35 CEST 2000


Christopher Kolar wrote:
> 
> I was wondering if anyone could tell me how to construct the message footer
> so that there is a link directly to an individual's config page.  Right now
> I have the default link to the listinfo page for outgong mail.  I want to
> for each user the same think that s in the welcome letter: the
> /mailman/options/LISTNAME/USERNAME so that I can just say "to remove
> yourself from this list click the link below"  and they will go straight there.
> 
> Is this possible?  Would this create a lot of overhead rewriting every footer?

Of course this would mean "one message/SMTP transaction per user", which is
one of the things Mailman tries hard to avoid, for obvious efficiency
reasons.

You can talk it into doing so, with the right Defaults/mm_cfg settings, but it's
tough.

Then the next problem is "where to get the user page from".  It'd probably
be easiest to hack the footer-interpolation code in Decorate.py to include
one more item in the dictionary....the result of self.GetOptionsURL(addr)...
and then have the footer interpolate that field.

But I'm not sure you want to be sending one message per user as a matter
of course.  That gets expensive, perhaps more so than you think.




More information about the Mailman-Users mailing list