Commit 3e6fe354 authored by Mic Kaczmarczik's avatar Mic Kaczmarczik
Browse files

Feature: add scenari send.owners and send.ownerkey to restrict message

submission to list owners.
parent 9d0b3a5d
......@@ -139,6 +139,8 @@ nobase_default_DATA = \
scenari/send.intranetorprivate \
scenari/send.newsletter \
scenari/send.newsletterkeyonly \
scenari/send.ownerkey \
scenari/send.owners \
scenari/send.private \
scenari/send.privateandeditorkey \
scenari/send.privateandnomultipartoreditorkey \
......
......@@ -138,6 +138,9 @@
[%~ ELSIF report_entry == 'send_editor' ~%]
[%|loc()%]Message distribution for this list is restricted to list moderators.[%END%]
[%~ ELSIF report_entry == 'send_owner' ~%]
[%|loc()%]Message distribution for this list is restricted to list owners.[%END%]
[%~ ELSIF report_entry == 'send_multipart' ~%]
[%|loc()%]Multipart messages are not allowed in this list.[%END%]
......
title.gettext Restricted to list owners with previous MD5 authentication
is_owner([listname],[sender]) smtp -> request_auth
is_owner([listname],[sender]) smime,md5 -> do_it
true() smtp,md5,smime -> reject(reason='send_owner')
title.gettext Restricted to list owners only
is_owner([listname],[sender]) smtp,smime,md5 -> do_it
true() smtp,md5,smime -> reject(reason='send_owner')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment