Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] list naming bug

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun <address@concealed>
  • To: Sergiy Zhuk <address@concealed>
  • Cc: sympa-dev <address@concealed>
  • Subject: Re: [sympa-dev] list naming bug
  • Date: Wed, 26 Jun 2002 09:44:38 +0200

Hi Sergiy,

Sergiy Zhuk wrote:

> you might wanna apply my prev. patch for sympa.pl which is also using
> list_check_suffixes to exclude suffixes not in use, e.g. I'm not using
> -editor suffix, so there's no reason to reserve it.
> I'm attaching it once again just in case.
> It'a a patch vs ver 3.3.5

Id didn't apply the second part of the patch because we ONLY manage
-request, -owner and -editor messages in this part of the code ;
-subscribe and -unsubscribe are processed above.

> [...]
> @@ -685,7 +699,7 @@
> $status = &DoCommand($rcpt, $robot, $msg, $file);
>
> ## forward mails to <list>-request <list>-owner etc
> - }elsif ($rcpt =~ /^(\S+)-(request|owner|editor)(\@(\S+))?$/o) {
> + }elsif ($rcpt =~ /^(\S+)-(${regx})(\@(\S+))?$/o) {
> my ($name, $function) = ($1, $2);
>
> ## Simulate Smartlist behaviour with command in subject

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



Archive powered by MHonArc 2.6.19+.

Top of Page