Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...
- From: Marco Gaiarin <address@concealed>
- To: IKEDA Soji <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] Custom mhonarc script, trouble after upgrade...
- Date: Tue, 26 Feb 2019 14:32:44 +0100
Mandi! IKEDA Soji
In chel di` si favelave...
> I compared "mhonarc -add" case with Sympa 6.1.x (jessie) and 6.2.x (stretch
> and buster).
Cool hint! Thanks! Fixing parameters calls now lead to:
+ /usr/local/bin/mail2news NEWSGROUP=lpb.pub.chat LIST=lpb-chat@local
TAG=lpb-chat
+ /usr/bin/mhonarc -add -addressmodifycode 1 -rcfile
/usr/share/sympa/default/mhonarc-ressources.tt2 -outdir
/var/lib/sympa/wwsarchive/lpb-chat@local/2019-02 -definevars
'"listname='\''lpb-chat'\''' hostname=local yyyy=2019 mois=02 yyyymm=2019-02
wdir=/var/lib/sympa/wwsarchive base=http://local/wws/arc tag=4bc40547a3
with_tslice=1 'with_powered_by=1"' -umask 027
ERROR: Failed to open "hostname=local": No such file or directory
...Skipping "hostname=local"
ERROR: Failed to open "yyyy=2019": No such file or directory
...Skipping "yyyy=2019"
ERROR: Failed to open "mois=02": No such file or directory
...Skipping "mois=02"
ERROR: Failed to open "yyyymm=2019-02": No such file or directory
...Skipping "yyyymm=2019-02"
ERROR: Failed to open "wdir=/var/lib/sympa/wwsarchive": No such file or
directory
...Skipping "wdir=/var/lib/sympa/wwsarchive"
ERROR: Failed to open "base=http://local/wws/arc": No such file or directory
...Skipping "base=http://local/wws/arc"
ERROR: Failed to open "tag=4bc40547a3": No such file or directory
...Skipping "tag=4bc40547a3"
ERROR: Failed to open "with_tslice=1": No such file or directory
...Skipping "with_tslice=1"
ERROR: Failed to open "with_powered_by=1"": No such file or directory
...Skipping "with_powered_by=1""
So seems that the trouble came from parameters escaping. Matching
parameters escaping in bash seems a rather dauting task to me...
someone have some hints?
> I guess that, if BASH_XTRACEFD=2 was set, outout will go to stderr
> which will be redirected to *.stderr file in SPOOLDIR/tmp (though I
> haven't confirmed).
Yes, go to /var/spool/sympa/tmp (in debian) as <PID>.stderr.
PS: or, in sympa 6.2, there's some other way to call an external script
against message receival? i'm using mhonarc call because it was the
only way in pre 6.2... but if there's another...
--
Marco ``Gaio'' Gaiarin | LUG Pordenone (http://pordenone.linux.it)
P.zza S. Tommaso, 20 | Lilliput BBS (http://bbs.lilliput.linux.it)
Cimpello di Fiume Veneto | Azione Cattolica - Concordia-Pordenone
33080 Pordenone (Italia) | (http://www.accanto.org)
Tel. +39-0434-56-1305 | http://www.gaiarin.it/ address@concealed
-
[sympa-users] Custom mhonarc script, trouble after upgrade...,
Marco Gaiarin, 02/21/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
Stefan Hornburg (Racke), 02/22/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
Marco Gaiarin, 02/24/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
IKEDA Soji, 02/26/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
Marco Gaiarin, 02/26/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
Marco Gaiarin, 02/26/2019
- Re: [sympa-users] Custom mhonarc script, trouble after upgrade..., Marco Gaiarin, 02/28/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
Marco Gaiarin, 02/26/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
Marco Gaiarin, 02/26/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
IKEDA Soji, 02/26/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
Marco Gaiarin, 02/24/2019
-
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...,
Stefan Hornburg (Racke), 02/22/2019
Archive powered by MHonArc 2.6.19+.