Skip to Content.
Sympa Menu

en - RE: [sympa-users] Creating Sympa Scenari

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "McLaren, Terry" <address@concealed>
  • To: Florent Vallée <address@concealed>, sympa-users <address@concealed>
  • Subject: RE: [sympa-users] Creating Sympa Scenari
  • Date: Fri, 11 Feb 2022 15:30:05 +0000

Syntax correction on the match statement:


match ([sender], somewhere\@somewhere\.org) smtp,dkim,md5,smime    -> do_it


From: McLaren, Terry
Sent: Friday, February 11, 2022 9:22 AM
To: Florent Vallée <address@concealed>; sympa-users <address@concealed>
Subject: RE: Creating Sympa Scenari


Here are a couple of examples for a customized 'Who can send messages' scenario.  You can edit it via the web on a per list basis, click on the [scenario source] link and edit as needed.   



1. Allow inbound from address@concealed and moderators, default to moderate all others


title.gettext Send from address@concealed or Moderate


match([email->someone\@somewhere\.org]) smtp,dkim,md5,smime    -> do_it

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

true()                             smtp,dkim,md5,smime    -> editorkey



2.  post from specific address and reject all others


title.gettext Send from   address@concealed   or reject


match([email->btaa-automate\@btaa\.org]) smtp,dkim,md5,smime    -> do_it

true()                             smtp,dkim,md5,smime    -> reject


The above reject will send a system reject message to the sender.    Add ',quiet' to toss the inbound into the bit bucket w/o a reject msg to sender.


true()       smtp,dkim,md5,smime    -> reject,quiet


1.       the \ is an escape character for @ and ‘.’  

2.       If you edit the scenario at the list level then it will only apply to that list.

3.       Simply match the domain for all email from a specific domain,   \@toto\.fr


Hope this helps,


Terry McLaren



From: address@concealed <address@concealed> On Behalf Of Florent Vallée
Sent: Friday, February 11, 2022 4:20 AM
To: sympa-users <address@concealed>
Subject: [sympa-users] Creating Sympa Scenari




I would like to create a scenari "subscribe" to only authorize email from specific domain (*


Could you help me.




Florent VALLEE


Archive powered by MHonArc 2.6.19+.

Top of Page