Skip to Content.
Sympa Menu

en - Re: [en@sympa] Allowing ONLY list subscribers and owners to unsubscribe

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Stephen Jarjoura <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: Re: [en@sympa] Allowing ONLY list subscribers and owners to unsubscribe
  • Date: Thu, 18 May 2023 16:33:29 -0400

Hello, Betty;

We have an unsubscribe scenario that uses:
  • equal([sender],[email])
    If the message sender is equal to the request target
  • is_subscriber([listname],[email])
    If the request target is a subscriber of this list
[email] → "... the target user of operation ..."
See - sympa_scenario - Authorization scenario
Even though it's in the Action section of that document, we're using it in the test portion of the scenario.

Hopefully you can use some combination of those tests to get what you want.


-- 
Stephen A. Jarjoura
(e) address@concealed
Collaborative Systems Group
Information Technology Services
Boston College


On Thu, May 18, 2023 at 3:59 PM Widerski, Betty <address@concealed> wrote:

I want to allow a list subscriber to unsubscribe themselves. I have a scenario  “unsubscribe.subscriber” configured

 

title.gettext  owners & subscribers only

 

is_subscriber([listname],[email])             smtp,dkim,smime,md5    -> do_it,notify

is_owner([listname],[email])       smtp,dkim,smime,md5 -> do_it

is_listmaster([sender])            smtp,dkim,md5,smime  -> do_it

true()                             smtp,dkim,md5,smime -> reject(reason='unsub_closed')

 

But emailing sympa the command “unsubscribe listname address@concealed” from address@concealed allows B to unsubscribe A, even though B is not the list subscriber or even A list subscriber.

 

I also tried

is_subscriber([listname],[sender])             smtp,dkim,smime,md5    -> do_it,notify

 

Am I missing something, or must I restrict unsubscribe to owners and/or listmasters if I don’t want it open?

 

Thanks

Betty

 

Betty Widerski

Cloud & Server Engineering – HBS Information Technology

HARVARD  BUSINESS  SCHOOL     

Shad 108 N | address@concealed | T: 617.495.6642

 




Archive powered by MHonArc 2.6.19+.

Top of Page