Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sympa 6.2.16 - Unsubscribe Does Not Work #29

Closed
bcchrisupp opened this issue Jul 14, 2017 · 5 comments
Closed

Sympa 6.2.16 - Unsubscribe Does Not Work #29

bcchrisupp opened this issue Jul 14, 2017 · 5 comments
Labels
Milestone

Comments

@bcchrisupp
Copy link

I'm running Sympa 6.2.16 released in June(?) of this year, yet the information at https://www.sympa.org/manual_6.2/message-handling#unsubscription_url says to use the snippet
"To unsubscribe from this list, clink here: [% 'auto_signoff' | url_abs([list.name],{email=>user.email}) %]"
In a footer yet, this does not result in a unsubscribe e-mail being sent. We had to use the older version of the snippet
"To unsubscribe from this list, clink here: [% wwsympa_url %]/auto_signoff/[% listname %]/[% user.escaped_email %]"
To get it to work as advertised.

@ikedas
Copy link
Member

ikedas commented Jul 15, 2017

@bcchrisupp
Copy link
Author

bcchrisupp commented Jul 17, 2017

Hello,

Unfortunately, fixing the typo for the "listname" parameter didn't fix the problem. There is also a typo for the word "click" in the sample footer text that currently reads as "clink".

We still have to use the old footer of "To unsubscribe from this list, clink here: [% wwsympa_url %]/auto_signoff/[% listname %]/[% user.escaped_email %]" to get Sympa to accept the messages sent to the list by subscribers/moderators/etc. This older format of the footer generates a link that the user can click that takes them to a page saying that an unsubscribe e-mail has been sent for confirmation.

If we try to use the new footer of "To unsubscribe from this list, clink here: [% 'auto_signoff' | url_abs([listname],{email=>user.email}) %]" and attempt to send a message as anyone who is not a listmaster, we get a message from Sympa saying that the message was rejected due to "Your message cannot be personalized. Please check template syntax.". If a listmaster sends the message, there isn't any problem with Sympa processing the message and sending it out. This newer format of the footer generates a link that the user can click that takes them to the default Sympa splashpage, No unsubscribe e-mail gets sent for the user to use.

We're using Sympa 6.2.16 which was migrated from 5.3.4 (old server to new server). I'm not sure if this is playing a part of the odd behaviour.

Feel free to click the two generated links below as this will only affect our test lists.

Old Generated URL:
https://list.bcchr.ca/sympa/auto_signoff/imit_test/pleepploop%40mailinator.com

New Generated URL:
https://list.bcchr.ca/sympa/auto_signoff/imit_test?email=pleepploop%40mailinator.com

You can check the mailbox for the account above by visiting https://www.mailinator.com/inbox2.jsp?to=pleepploop#/#public_maildirdiv

@ikedas
Copy link
Member

ikedas commented Jul 18, 2017

Hi,
Reported bug seems to be fixed by PR #26.
21d2f9d

Please check HEAD of sympa-6.2 branch on repository, or please use older notation.

@bcchrisupp
Copy link
Author

Fantastic. Thanks for following up and for all your hard work on this project!

@ikedas ikedas added the bug label Jul 19, 2017
@ikedas ikedas added this to the 6.2.20 milestone Jul 21, 2017
@b90g
Copy link

b90g commented Feb 18, 2022

[% wwsympa_url %]/auto_signoff/[% listname %]?email=[% user.escaped_email %]

is what did the trick for version 6.2.60

important: enable message personalization: personalization_feature (in the send and receive settings and check if at least header & footer is selected)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants