Skip to Content.
Sympa Menu

en - Re: [sympa-users] scenario rule for listname

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Serge Aumont <address@concealed>
  • To: András Bendzsák <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] scenario rule for listname
  • Date: Thu, 25 Mar 2010 08:20:57 +0100

Hi
On 03/17/2010 10:25 AM, András Bendzsák wrote:
> Hi,
>
> Did anybody found a perfect rule to filter if the envelepo From header
> match with the list name?
>
> equal([sender],[list->name]) condition is wrong because list->name
>
> doesn't contain the robot. The perfect solution would be something like
> that:
>
> equal([sender],[list->name]@[list->host])
>
> But it isn't allowed in sympa.
>
>
If you apply the following patch to List.pm you will be able to use
[list->address] as a var in scenario. (it will include in V 6.1).

http://sourcesup.cru.fr/cgi/viewvc.cgi/trunk/src/lib/List.pm?root=sympa&r1=6368&r2=6375

Serge



Archive powered by MHonArc 2.6.19+.

Top of Page