1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
title.gettext restricted list
<%- if @ldap_group -%>
search(<%= @ldap_group %>.ldap) smtp,md5,smime -> do_it
<%- end -%>
<%- if @email -%>
<%- for e in @email -%>
equal([sender], '<%= @e %>') smtp,md5,smime -> do_it
<%- end -%>
<%- end -%>
<%- if allow_subscriber -%>
equal([sender], 'sysadmin@group.mageia.org') smtp,smime,md5 -> do_it
match([sender], /@mageia\.org$/) smtp,smime,md5 -> do_it
is_subscriber([listname],[sender]) smtp,smime,md5 -> do_it
true() smime,md5 -> do_it
<%- end -%>
true() smtp,md5,smime -> reject(reason='send_subscriber')
|