-
Notifications
You must be signed in to change notification settings - Fork 100
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
Anyone can unsubscribe a member of a list with open scenario #233
Comments
Hi @qosobrin, Can you also check recent version of Sympa? |
I have just checked with version 6.2.30 and the problem continues. When user A sends the SIGNOFF message to the list "SIGNOFF list@domain.org user_b@domain.org" User B is unsubscribed from the list. The funny thing is that User B receives the unsubscription mail notification. |
After editing the unsubscribe.open scenario and removing the ! sign in the second line:
I tried again and this time user B received the unsubscription confirmation request. It seems like either the equal scenario condition is returning the opposite value or the ! sign is not being evaluated correctly. |
Hi @qosobrin, Can you show sympa log during original scenario is processed? (Log lines not including "`Sympa::Scenario::" are not needed.) |
Find attached the full log (debug 3) during user signoff (issue_233.log). In this case I include both sympa and postfix logs. The particular lines referring to the scenario processing are these ones:
Should you need anything else, do not hesitate to ask me. Thank you very much. |
Hi @qosobrin, According to log, sender of message bound for 2018-04-02 Corretion |
Hi @qosobrin, Could you please apply this patch and check if the problem is solved? Additionally if possible, could you please check if other scenarios containing |
Hi, @ikedas: I tried your patch with the unsubscribe scenario and it works as expected. member@domain.org sent an unsubscribe message with subject The only other scenario that uses [email] is move_user.auth, but I did not try it because I do not know where it is used. If you could give me hint I will try it and let you know. Thank you very much for your good work. Regards, |
Hi @qosobrin,
|
OK, I tried to move an user email, since there is no mail command to carry it out I did it through the web interface, and worked as expected. My sympa was configured with the default value of the move_user variable, in this case, move_user.auth
I logged in with account userA@domain.org and changed the email address to userB@domain.org. userB@domain.org received an auth request email. After using the auth url the email changed. On a side note to this, I do not see the point of the third line in this scenario:
Can anyone explain me how come sender and email can be the same when this action can only be carried out in a web interface? I understand that email refers to the new email address, while current_email refers to the email address the user had when he logged in (that, of course, should be equal to the sender, except when the change is carried out by the listmaster). If everything that I said is true then the third line will never be evaluated, so there is no need to include it in this scenario. Please, correct me if I'm wrong. Regards. |
Hi @qosobrin, Since |
@ikedas I have nothing more to add to this issue. Feel free to close it when you consider. |
Correction: |
Merged. |
Debian Stretch 9.4 and Sympa Package 6.2.16 environment.
I have one list (list@lists.domain.org) configured with unsubscribe.open scenario:
and three users: user_a@domain.org, user_b@domain.org and user_c@domain.org Both users A and B are members of the list, while user C is not.
When either user A (member) or user C (not member) sends a message to sympa@lists.domain.org with the following subject "SIGNOFF list@domain.org user_b@domain.org" then user B is automatically unsubscribed from the list. The expected behaviour should be user B to receive an authentication request, but it doesn't happen.
Thank you very much. Regards.
The text was updated successfully, but these errors were encountered: