Skip to Content.
Sympa Menu

en - Re: [sympa-users] Three questions

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun - CRU <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Three questions
  • Date: Wed, 02 Apr 2003 11:46:17 +0200

Hi Hanke,

Hanke Penning wrote:
I've got three questions:

1) When using an aliases like:

mylist-unsubscribe: "|/home/sympa/bin/queue mylist-unsubscribe"

I'll receive an error:
Incorrect name: listname "mylist-unsubscribe" mateches one of service 
aliases. Of course mylist has been replaced with the correct listname (in 
both cases).
  
This is due to sympa.pl doing a 'new LIst' too early, when -subscribe, -request,.. are concerned.
But this does not have consequence on sympa.pl behavior ; it is just a matter of filling log files
(and needlessly worrying the listmaster ;-).
Attached is a patch for this problem (against 3.4.3.1)
2) When looking into /home/sympa/bounce/mylist/ I see hundreds of bounced 
messages. When I look in the wwsympa interface (bounces) I see NO 
bouncing messages. What is that?
Are the adresses corresponding to those bounces present in the subscriber DB table ?
The bouncing addresses shown by WWSympa are based on entries in this DB table ;
check your (MySQL ?) DB tables, and especially the ' bounce_subscriber' field.
3) When deleting users from wwsympa-interface (search for address, found 
it, mark it, delete it), I receive "Missing filter". The mail has been 
deleted, but I had to click on "listadmin"/"subscribers" again. 
What does "Missing filter" mean? Is there a missconfiguration?
  
WWSympa keeps track of previous actions for instance to send people back the a list homepage
after they logged in. In your situation, you first did a search on subscribers and then deleted one of them.
WWSympa keeps track of your latest action 'search' and tries to perform a search after the delete was done
but the filter is missing.
We should fix this to refer to 'review' as the previous action.
If you don't mind, please add this to the bug tracking system.

Thanks.
-- 
Olivier Salaun
Comite Reseau des Universites
*** src/Message.pm 20 Sep 2002 11:52:40 -0000 1.3
--- src/Message.pm 2 Apr 2003 09:22:34 -0000
***************
*** 104,109 ****
--- 104,114 ----
my $conf_email = &Conf::get_robot_conf($robot, 'email');
my $conf_host = &Conf::get_robot_conf($robot, 'host');
unless ($listname =~
/^(sympa|listmaster|$conf_email)(\@$conf_host)?$/i) {
+ my $list_check_regexp =
&Conf::get_robot_conf($robot,'list_check_regexp');
+ if ($listname =~ /^(\S+)-($list_check_regexp)$/) {
+ $listname = $1;
+ }
+
$message->{'list'} = new List ($listname, $robot);
}
}
*** src/sympa.pl 24 Mar 2003 13:20:53 -0000 1.104.2.3
--- src/sympa.pl 2 Apr 2003 09:22:34 -0000
***************
*** 429,437 ****
}

# (sa) le terme "(\@$Conf{'host'})?" est inutile
! unless ($t_listname =~
/^(sympa|listmaster|$Conf{'email'})(\@$Conf{'host'})?$/i) {
! $list = new List ($t_listname);
! }

if ($t_listname eq 'listmaster') {
## highest priority
--- 429,437 ----
}

# (sa) le terme "(\@$Conf{'host'})?" est inutile
! #unless ($t_listname =~
/^(sympa|listmaster|$Conf{'email'})(\@$Conf{'host'})?$/i) {
! # $list = new List ($t_listname);
! #}

if ($t_listname eq 'listmaster') {
## highest priority
***************
*** 443,448 ****
--- 443,449 ----
}elsif ($t_listname =~ /^(sympa|$Conf{'email'})(\@$Conf{'host'})?$/i)
{
$priority = $Conf{'sympa_priority'};
}else {
+ my $list = new List ($t_listname);
if ($list) {
$priority = $list->{'admin'}{'priority'};
}else {
***************
*** 580,585 ****
--- 581,592 ----
$listname = lc($listname);
$robot ||= $Conf{'host'};

+ my $type;
+ my $list_check_regexp =
&Conf::get_robot_conf($robot,'list_check_regexp');
+ if ($listname =~ /^(\S+)-($list_check_regexp)$/) {
+ ($listname, $type) = ($1, $2);
+ }
+
# setting log_level using conf unless it is set by calling option
unless ($main::options{'log_level'}) {
$log_level = $Conf{'robots'}{$robot}{'log_level'};
***************
*** 680,690 ****

## Mail adressed to the robot and mail
## to <list>-subscribe or <list>-unsubscribe are commands
! }elsif (($rcpt =~ /^(sympa|$conf_email)(\@\S+)?$/i) || ($rcpt =~
/^(\S+)-(subscribe|unsubscribe)(\@(\S+))?$/o)) {
$status = &DoCommand($rcpt, $robot, $msg, $file);

## forward mails to <list>-request <list>-owner etc
! }elsif ($rcpt =~ /^(\S+)-(request|owner|editor)(\@(\S+))?$/o) {
my ($name, $function) = ($1, $2);

## Simulate Smartlist behaviour with command in subject
--- 687,698 ----

## Mail adressed to the robot and mail
## to <list>-subscribe or <list>-unsubscribe are commands
! }elsif (($rcpt =~ /^(sympa|$conf_email)(\@\S+)?$/i) || ($type =~
/^(subscribe|unsubscribe)$/o)) {
$status = &DoCommand($rcpt, $robot, $msg, $file);

## forward mails to <list>-request <list>-owner etc
! # }elsif ($rcpt =~ /^(\S+)-(request|owner|editor)(\@(\S+))?$/o) {
! }elsif ($type =~ /^(request|owner|editor)$/o) {
my ($name, $function) = ($1, $2);

## Simulate Smartlist behaviour with command in subject



Archive powered by MHonArc 2.6.19+.

Top of Page