Skip to Content.
Sympa Menu

en - Re: [sympa-users] Hide the "Request a list" option

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] Hide the "Request a list" option
  • Date: Sun, 24 May 2020 20:44:52 +0000

On Sun, 2020-05-24 at 09:17 +0000, Gadi Vivier wrote:
Hi,

I'm trying to hide the "Request a list" option and make it only display 
to the ListMaster

is_listmaster([sender])   md5,smime -> do_it
true()                    smtp,dkim,md5,smime -> listmaster,notify
###

In order to control list creation, you use the create_list scenari, which is what you're doing.  You need to make a custom one if there is not already one available; you are editing the public_listmaster version.

The scenari above says,
"If the person is listmaster, then do it (create the list).  Otherwise, ask the listmaster"

What you want is, "If the person is listmaster, do it, otherwise deny".  In this case, the "create" button will not be displayed as the user is denied.

So in the second line, rather than "listmaster,notify" as the outcome, use "deny"

Then, in your sympa configuration file, make sure you have chosen the correct version for the create_list scenari (in this case, public_listmaster)

Steve


-- 
Steve Shipway | Senior Email Systems Administrator 
Phone: +64 9 302 0515 Fax: +64 9 302 0518 
Freephone: 0800 SMX SMX (769 769) 
SMX Limited: Level 10, 19 Victoria Street West, Auckland, New Zealand 
Web: http://smxemail.com 




Archive powered by MHonArc 2.6.19+.

Top of Page