Skip to Content.
Sympa Menu

en - [sympa-users] Scenari includes not working

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Scenari includes not working
  • Date: Fri, 4 Feb 2011 14:34:34 +0100


Hello,

I have some lists that should have the same scenario rules, so I tryied an
"include" on a custom scenari, for example:

etc/scenari/send.intranetorprivte2:

title.gettext restricted to local domain and subscribers 2

include allowdomain
is_subscriber([listname],[sender]) smtp,dkim,smime,md5 -> do_it
is_editor([listname],[sender]) smtp,dkim,smime,md5 -> do_it
is_owner([listname],[sender]) smtp,dkim,smime,md5 -> do_it
match([sender],/[conf->host]$/) smtp,dkim,smime,md5 -> do_it
true() smtp,dkim,smime,md5 ->
reject(reason='send_local_user_sub')


, and then in etc/scenari/include.allowdomain:

match([sender], /my\.domain\.org$/) smtp,dkim,smime,md5 -> do_it


the include rule (or rules) are always ignored but they work if I write them
down directly in the send. scenario file. Even if I put the following rule in
the include it gets silently ignored:

true() -> do_it

Has anybody suffered the same bug? Are includes really working?

TIA,

Evili




Archive powered by MHonArc 2.6.19+.

Top of Page