sympa icon indicating copy to clipboard operation
sympa copied to clipboard

New scenario send.privateorpublickeyandeditorkey

Open FredMa01 opened this issue 8 months ago • 1 comments

Expected Behavior

To limit SPAM of lists, these 2 scenarios are interesting:

  • the send.privateoreditorkey scenario is practical but it forces the owner to validate messages which are often spam.
  • the send.privateorpublickey scenario asks non-subscribers for confirmation of their message (the robots will not do this) but does not allow validation of the list owner.

A compilation of these 2 scenarios send.privateoreditorkey and send.privateorpublickey would allow the owner of a list to only have to validate the messages themselves which have already been confirmed...

To this scenario could be added a white list of addresses so that unsubscribed but known users can broadcast without needing to confirm their message.

The send.privateoreditorkey scenario:

title.gettext Private, moderated for non-subscribers
is_subscriber([listname],[sender]) smtp,dkim,md5,smime -> do_it
is_editor([listname],[sender]) smtp,dkim,md5,smime -> do_it
true() smtp,dkim,md5,smime -> editorkey

The send.privateorpublickey scenario:

title.gettext Private, confirmation for non subscribers
true() md5,smime -> do_it
is_subscriber([listname],[sender]) smtp,dkim -> do_it
true() smtp,dkim -> request_auth

So I tried to create this new scenario send.privateorpublickeyandeditorkey but I'm not sure this is the right approach.

title.gettext Private, confirmation for non-subscribers and moderation for non-subscribers
is_subscriber([listname],[sender]) smtp,dkim,md5,smime -> do_it
is_editor([listname],[sender]) smtp,dkim,md5,smime -> do_it
search(whitelist.txt) smtp,dkim,md5,smime -> do_it
true() smtp,dkim -> request_auth
true() smtp,dkim,md5,smime -> editorkey

The search(whitelist.txt) causes an error "error-performing-condition "in 6.2.70...

An idea to make this scenario clean ?

Thanks

FredMa01 avatar Jun 30 '24 16:06 FredMa01