Skip to Content.
Sympa Menu

devel - [sympa-dev] Archived.pl

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Mathieu Kretchner <address@concealed>
  • To: address@concealed
  • Subject: [sympa-dev] Archived.pl
  • Date: Tue, 29 Apr 2008 11:30:05 +0200

Hello all,

It seems that the archived.pl can't do this part of code (line 302 of archived.pl)

}elsif ($file =~ /^\.rebuild\.(.*)$/ ) {
($Log::log_level >= 1) && do_log('debug',"rebuild found : $file for list $1");
&rebuild($1);
unless (unlink("$queue/$file")) {
($Log::log_level >= 0) && do_log ('err',"Ignoring file $queue/$file because couldn't remove it, archived.pl must use the same uid as sympa");
next;
}

In order to test it, I try to touch some files directly in the outgoing spool and the results show that all files without a "." at the beginning are caught by the daemon, but the command .rebuild or .remove are not interpreted.

Could someone test it for me with the 5.4.2 ?

Do you think the line 194 is correct ? Because this regexp list all the files which aren't beginning with a "." (dot)
my @files = (grep(!/^\./, readdir DIR ));

begin:vcard
fn:Mathieu Kretchner
n:Kretchner;Mathieu
org:INRIA;Syslog
adr;dom:;;2007 route des lucioles - BP93;Sophia Antipolis;;06902 CEDEX
email;internet:address@concealed
tel;work:04 92 38 76 67
x-mozilla-html:FALSE
version:2.1
end:vcard




Archive powered by MHonArc 2.6.19+.

Top of Page