[Mailman-Users] unsubscribe footer?

Mark Sapiro mark at msapiro.net
Wed Sep 10 00:58:37 CEST 2014


On 09/09/2014 08:03 AM, James Nightly wrote:
> Somehow I managed to remove unsubscribe footer in my mailing list. Is
> it possible to append to all lists instructions on how to unsubscribe?
> I'm hoping subscribers can send 'remove' email to an address and get
> removed from the list automatically.


You can put things like

Unsubscribe: <mailto:%(list_name)s-unsubscribe@%(host_name)s>

and

Unsubscribe: <%(web_page_url)s/options/%(list_name)s>

in Non-digest options - msg_footer and Digest options - digest_footer.

Potential issues with this are:

1. These things are included in text/plain message parts and may or may
not render as 'clickable links' depending on the user's mail client.

2. Due to forwarding and other issues, the users may not receive list
mail at their subscribed address and may not even know it.

3. Either mailing the -unsubscribe address or going to the options URL,
filling in one's email address and clicking unsubscribe results in a
confirmation email being sent to the user which requires a affirmative
action before the user is actually unsubscribed.

If the list is personalized, you can put in msg_footer things like

Unsubscribe: <%(user_optionsurl)s?login-unsub=1>

to avoid issue 2, or even

Unsubscribe: <%(user_optionsurl)s?password=%(user_password)s&login-unsub=1>

(all on one line)

to avoid both 2 and 3, although including the user's password in this
footer is generally a bad idea both because users will complain about
their list password being emailed in plain text and users will not
remove the quoted link when forwarding or replying, thus exposing their
passwords.

Note you can't put the personalizations in digest_footer because digests
are never personalized.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list