Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Custom mhonarc script, trouble after upgrade...
- From: "Stefan Hornburg (Racke)" <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] Custom mhonarc script, trouble after upgrade...
- Date: Fri, 22 Feb 2019 09:32:46 +0100
On 2/21/19 2:51 PM, Marco Gaiarin wrote:
> I've just upgraded my debian server to stretch, getting in bonus Sympa
> version 6.2.16~dfsg-3+deb9u2.
>
> I'm using by some years a custom mhonarc script, that simply inject messages
> into my news server (to have a 'mail2news' gateway).
>
> The script is a simple bash script. But does not work anymore.
>
> Strange things are:
>
> a) after upgrade (but if i use standard mhonarc and rebult archive, after
> the rebuild) the first message sent add to archive a message like:
>
> [no subject], Unknown, 21/02/2019
>
> with body:
>
> <!--
> User defined variables are defined by the DEFINEVAR element. The first
> line is the name of the variable and subsequent lines to the close tag
> are the value of the variable.
>
> User defined variables are extremely useful when the same layout
> information occurs in multiple places. It also help centralize
> information that maybe likely to change. User defined variables can
> reference other variables.
> -->
>
> <DefineVar>
> CALENDAR
> <div id="ArcCalendar">
> ($tag$% FOREACH year = calendar %$tag$)
> <div>
> [...]
>
> subsequent messages get no archive at all.
>
>
> b) i've added some debug to the script, but also a simple:
> echo 'test' >> /tmp/test.log
>
> lead to nothing, eg seems that the script get never called because file
> '/tmp/test.log' get never created.
>
>
> Clearly path are correct. What could be? Thanks.
>
Hello Marco,
it would be helpful to provide the script.
To see how bash processes the script, add the following line in the beginning
of it:
set -x
Regards
Racke
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
Attachment:
signature.asc
Description: OpenPGP digital signature
-
[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+.