Subject: The mailing list for listmasters using Sympa
List archive
- From: Antonio Casado <address@concealed>
- To: "McLaren, Terry" <address@concealed>
- Cc: "address@concealed" <address@concealed>
- Subject: Re: [sympa-users] who can send messages - scenari
- Date: Thu, 9 Jul 2020 12:13:39 +0200
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
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
CAL71XP37aM5X=address@concealed
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
Administrador de Servicios de Red y Seguridad TIC
Área de Comunicaciones
STIC (Servicio de las Tecnologías de la Información y las Comunicaciones)
UNIVERSIDAD DE ALMERÍA
-
[sympa-users] who can send messages - scenari,
McLaren, Terry, 07/08/2020
- Re: [sympa-users] who can send messages - scenari, Steve Shipway, 07/08/2020
- Re: [sympa-users] who can send messages - scenari, Antonio Casado, 07/09/2020
Archive powered by MHonArc 2.6.19+.