aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/scenari/sender.restricted
blob: 66139e6cbfcc3beeef08b5e71492c2c25b979f5d (plain)
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')