Skip to Content.
Sympa Menu

en - Re: [sympa-users] Message filtering

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun <address@concealed>
  • To: S P Arif Sahari Wibowo <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Message filtering
  • Date: Tue, 25 Sep 2001 10:02:07 +0200

S P Arif Sahari Wibowo wrote:
>
> On Mon, 24 Sep 2001, Olivier Salaun wrote:
>
> >## this rule rejects messages which subject contain the 'forbiden' word
> >match([header->Subject],/forbiden/) smtp,smime,md5 -> reject
>
> Thanks! That will do for now. I didn't see it before in the documentation.
> I am sure this can be a nice entry in FAQ / howtos.

It is in development version of Sympa.

> Say I have 'send' configuration set to private, therefore I will modify
> the send.private scenarii to include the matching rule, right?
> Do I have to touch the other send.private*?

No

> Can [header->..] be aplied to any header, including Received:?

Yes.
We did not try it will multiple header fields though.

> > [...]
> >Example:
> >## 'bad_words.tpl' will be used instead of standard rejection message
> >match([header->Subject],/forbiden/) smtp,smime,md5 ->
> >reject('bad_words')
>
> Oh yeah! This is what I need!
>
> Actually few more thing:
> - How about more than one condition to cause an action?

We don't have the boolean AND operator implemented yet.

> - How about having user defined flags / variables?
> A condition my raise a user flag, and when combined with other condition,
> another action can be executed.

What are your exact needs ?

--
Olivier Salaün
Comité Réseau des Universités



Archive powered by MHonArc 2.6.19+.

Top of Page