Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Error for intranet scenario with Traceback (sympa 6.2.52 patched)
- From: "antonelli@cnaf" <address@concealed>
- To: Xavier Bachelot <address@concealed>, "address@concealed" <address@concealed>
- Subject: Re: [sympa-users] Error for intranet scenario with Traceback (sympa 6.2.52 patched)
- Date: Fri, 6 Mar 2020 16:05:43 +0100
Dear Xavier and Racke (previous answer)
thank you for the explanation;
> Replace all occurences of conf->host with domain.
yes, the intranet scenario had two lines (don't know why the domain
listmaster or the list owner, we changed privileges over time, made it
in that way) one with [conf->host] and the other with match([sender],
/domain/); on commenting the first line all work
thank you
regards
Stefano
On 06/03/2020 10:07, Xavier Bachelot wrote:
> Le 05/03/2020 à 17:47, stefano.antonelli@cnaf a écrit :
>> Dear Sympa,
>>
>> (CentOS 7, sympa 6.2.52 patched, multi-domain);
>>
>> one of our users has shown an error on the web page (screenshot
>> attached) which takes place when he clicks on "Index of lists" (I try to
>> translate from italian); I would say that this error has appeared after
>> the upgrade 6.2.48 -> 6.2.52 (I've seen in the Changelog something about
>> intranet scenario moved to /usr/share/doc/sympa-6.2.52/samples/intranet/
>> but I wouldn't say this is the cause);
>>
>> in this domain, for many lists, an intranet scenario like this is used:
>>
>> ####
>> title.gettext intranet access
>>
>> # this is example of a rule to check local adresses
>> # verify_netmask('1.12.123.0/24') smtp,md5,smime -> do_it
>> match([sender],/[conf->host]$/) smtp,dkim,md5,smime ->
>> do_it
>> match([sender],/\@example.com$/) smtp,dkim,md5,smime ->
>> do_it
>> is_subscriber([listname],[sender]) smtp,dkim,md5,smime ->
>> do_it
>> is_owner([listname],[sender]) smtp,dkim,md5,smime ->
>> do_it
>> is_editor([listname],[sender]) smtp,dkim,md5,smime ->
>> do_it
>> is_listmaster([sender]) smtp,dkim,md5,smime ->
>> do_it
>> ####
>>
>> it seems that the line of the scenario which causes problem is this:
>>
>> => match([sender],/[conf->host]$/) smtp,dkim,md5,smime ->
>> do_it
>>
>> because, when I comment it and reload the page, the error on the web is
>> from the next list (in alphabetical order)
>>
>> thank you
>> regards
>> Stefano
>>
>
> This has been fixed just a couple hours ago with:
> https://github.com/sympa-community/sympa/pull/904
>
> The root cause is the broken scenarii you probably have in
> /etc/sympa/scenari/*intranet*
> Replace all occurences of conf->host with domain.
>
> See https://github.com/sympa-community/sympa/issues/860 for details.
>
>
> Regards,
> Xavier
-
[sympa-users] Error for intranet scenario with Traceback (sympa 6.2.52 patched),
stefano.antonelli@cnaf, 03/05/2020
- Re: [sympa-users] Error for intranet scenario with Traceback (sympa 6.2.52 patched), Stefan Hornburg (Racke), 03/06/2020
-
Re: [sympa-users] Error for intranet scenario with Traceback (sympa 6.2.52 patched),
Xavier Bachelot, 03/06/2020
- Re: [sympa-users] Error for intranet scenario with Traceback (sympa 6.2.52 patched), antonelli@cnaf, 03/06/2020
Archive powered by MHonArc 2.6.19+.