[Mageia-sysadm] [596] add 2 missings scenari, one to restrict sender to a specific email,

root at mageia.org root at mageia.org
Tue Dec 14 19:29:32 CET 2010


Revision: 596
Author:   misc
Date:     2010-12-14 19:29:32 +0100 (Tue, 14 Dec 2010)
Log Message:
-----------
add 2 missings scenari, one to restrict sender to a specific email,
another one for ldap group

Added Paths:
-----------
    puppet/modules/sympa/templates/scenari/
    puppet/modules/sympa/templates/scenari/sender.email
    puppet/modules/sympa/templates/scenari/sender.ldap_group

Added: puppet/modules/sympa/templates/scenari/sender.email
===================================================================
--- puppet/modules/sympa/templates/scenari/sender.email	                        (rev 0)
+++ puppet/modules/sympa/templates/scenari/sender.email	2010-12-14 18:29:32 UTC (rev 596)
@@ -0,0 +1,5 @@
+title.gettext restricted to email <%= name %>
+
+equal([sender], <%= name %>) smtp,md5,smime -> do_it
+true()                       smtp,md5,smime -> reject(reason='send_subscriber')
+

Added: puppet/modules/sympa/templates/scenari/sender.ldap_group
===================================================================
--- puppet/modules/sympa/templates/scenari/sender.ldap_group	                        (rev 0)
+++ puppet/modules/sympa/templates/scenari/sender.ldap_group	2010-12-14 18:29:32 UTC (rev 596)
@@ -0,0 +1,5 @@
+title.gettext restricted to group <%= name %>
+
+search(<%= name %>.ldap)  smtp,md5,smime  -> do_it
+true()                    smtp,md5,smime  -> reject(reason='send_subscriber')
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101214/b9358b79/attachment.html>


More information about the Mageia-sysadm mailing list