Skip to Content.
Sympa Menu

en - Re: [sympa-users] Error for intranet scenario with Traceback (sympa 6.2.52 patched)

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Xavier Bachelot <address@concealed>
  • To: "stefano.antonelli@cnaf" <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 10:07:29 +0100

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



Archive powered by MHonArc 2.6.19+.

Top of Page