Skip to Content.
Sympa Menu

en - [sympa-users] who can send messages - scenari

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "McLaren, Terry" <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: [sympa-users] who can send messages - scenari
  • Date: Wed, 8 Jul 2020 19:52:50 +0000

I have a request to allow a list of ‘authorized posters’ to post to other mail lists so I created a new who can send scenari:

---

title.gettext Authorized Posters

is_subscriber([auth-poster],[sender])             smtp,dkim,smime,md5    -> do_it
is_editor([listname],[sender])                 smtp,dkim,smime,md5    -> do_it
is_owner([listname],[sender])                  smtp,dkim,smime,md5    -> do_it
true()       smtp,dkim,md5,smime    -> reject,quiet

---

 

This “who can send” scenai is defined in the mail-test list so only members of the ‘auth-poster’ list and the owner/moderators of mail-test can post to mail-test.  

08 Jul 2020 14:26:15

ml-test

DoMessage

address@concealed

Other events

success

It seemed to work fine and successfully generated the DoMessage event in the log AND the subscribers of ‘mail-test’ received the message sent from a member auth-poster.   However, the server also had a fit and sent out a bunch of errors to the listmaster like:

 

-----

From: SYMPA <address@concealed>
Sent: Wednesday, July 08, 2020 2:29 PM
To: Listmaster <address@concealed>
Subject: Listmaster / error-performing-condition

 

ml-test  is_subscriber([auth-poster],[sender])

----

 

Is there a better way to achieve this ‘authorized poster’ scenario that can be applied across multiple target lists?

 

Thanks,

 

Terry McLaren

 

PS>  v6.1.23




Archive powered by MHonArc 2.6.19+.

Top of Page