Subject: The mailing list for listmasters using Sympa
List archive
- From: Serge Aumont <address@concealed>
- To: address@concealed
- Cc: address@concealed
- Subject: Re: [sympa-users] Global Blacklist Scenario
- Date: Wed, 24 Sep 2008 13:34:20 +0200
address@concealed wrote:
Hello, I'm trying to make a scenario rule that prevent adding certain users toWhat you did seems ok. May be you do not reload configs (scenario are included in list configs) .
all the lists running on my machine.
The idea is this:
a) create a list, called 'blacklisted' that includes certain blacklisted
addresses.
b) define a global scenario like that
title.gettex Global Blacklis
# no checks on list 'blacklisted'
equal([list], 'blacklisted') smime,smtp,md5 -> do_it
# if the email I'm about to add is already subscribed to 'blacklisted',
reject it
is_subscriber('blacklisted',[subscriber->email]) smime,smtp,md5 -> reject
c) save the rule as include.add.header
Somehow it doesn't seem to work, and I have no idea how to debug scenarios.
Any suggestion?
Ff you are using config.bin file run sympa.pl --reload_list_config else restart sympa.pl abd wwsympa.fcgi process. (restart processus is not efficient in ase of config.bin is used).
I think this should solve teh problem.
Then you should also take care with blacklisted list : hidde the list using approriate scenario for visibility and send . Probably you should do the same for subscribe scenario . In this case, you may block notification :
is_subscriber('blacklisted',[subscriber->email]) smime,smtp,md5 ->
reject,quiet
Serge
-
[sympa-users] Global Blacklist Scenario,
m.mazzoni, 09/24/2008
- Re: [sympa-users] Global Blacklist Scenario, Serge Aumont, 09/24/2008
- <Possible follow-up(s)>
- Re: [sympa-users] Global Blacklist Scenario, Matteo Mazzoni, 09/30/2008
Archive powered by MHonArc 2.6.19+.