Skip to Content.
Sympa Menu

devel - [Andreas Krüger <andreas.krueger@dv-ratio.com>] Bug#147150: Listmaster address hardcoded to "listmaster"@host [patch].

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: address@concealed (Jérôme Marant)
  • To: address@concealed
  • Subject: [Andreas Krüger <address@concealed>] Bug#147150: Listmaster address hardcoded to "listmaster"@host [patch].
  • Date: Thu, 16 May 2002 22:09:28 +0200


Hi,

Could you please have a look at this.

Thanks.

Cheers,

--- Begin Message ---
  • From: Andreas Krüger <address@concealed>
  • To: address@concealed
  • Subject: Bug#147150: Listmaster address hardcoded to "listmaster"@host [patch].
  • Date: Thu, 16 May 2002 09:22:25 +0200
  • Resent-cc: Jerome Marant <address@concealed>, address@concealed
  • Resent-date: Thu, 16 May 2002 07:33:03 GMT
  • Resent-from: Andreas Krüger <address@concealed>
  • Resent-to: address@concealed
Package: wwsympa
Version: 3.3.3-2

In our installation, for some reason a listmaster mailing
address of "listmaster"(@host) is not appropiate. For some
reason, call it localisation, we need something else. Which
can be done, I do have a line in /etc/sympa/sympa.conf to
the effect of:

> ## Listmaster
> listmaster address@concealed

However, when I view http://localhost/wws/help , that
definition does not come through.

A small bit of research showed a bug that exists at the
bottom of each file /usr/share/sympa/wws_templates/help.*.tpl.

In these files, it consistently says

> <A HREF="mailto:listmaster@[conf->host]">listmaster@[conf->host]</A>

In other words, the listmaster address "listmaster" is hard
coded into those templates.


A little more research later:

What one wants to do is, to replace these with

<A HREF="mailto:[conf->listmaster]">[conf->listmaster]</A>

But [conf-listmaster] does not exist.

At least on my system, the patch as provided at the end of
this message provides this new configuration parameter
[conf-listmaster] to the templates. It'll probably work
with robots, too, but I don't use robots and have not tested
that part.

That patch is partial, as I only provide the new parameter
[conf->listmaster] to the templates, there is no (trivial)
patch for the files help.*.tpl themselves.


Regards, and thank you for providing fine software,

Andreas

address@concealed

$ dpkg -s wwsympa sympa
Package: wwsympa
Status: install ok installed
Priority: extra
Section: web
Installed-Size: 2544
Maintainer: Jerome Marant <address@concealed>
Source: sympa
Version: 3.3.3-2
Depends: fileutils (>= 4.1), libcgi-fast-perl, libfcgi-perl (>= 0.48), sympa
(>= 3.3.3-2), perl-suid, apache | httpd, mhonarc, debconf
Suggests: apache | apache-ssl, libapache-mod-fastcgi
Conffiles:
/etc/init.d/wwsympa 67a5c308e4d18bc96ef73832e9119531
/etc/sympa/topics.conf af8b36da4a5824a5006728721e512dfc
/etc/sympa/httpd.conf-cgi cb6524726110b2d8b82ce9d85fcf6beb
/etc/sympa/httpd.conf-fcgi 5743171908931865b93f609b0d9ff671
Description: Web interface for administrating Sympa
WWSympa is a well integrated web interface for configuring Sympa.
It comes with original features such as :
- Unique interface for users and admin, authentication
- Contextual internationalization (English, French and Spanish)
- Archives (MhOnArc) with access control and a Search Engine
(MarcSearch)
- Clean moderation
- Edition of service messages (templates) for owner and listmaster
- Semi-automatic bounces management
- HTTPS authentication
- Support for virtual hosting with respect to virtual domains

Package: sympa
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 3244
Maintainer: Jerome Marant <address@concealed>
Version: 3.3.3-2
Replaces: sympa-db
Provides: sympa-db
Depends: fileutils (>= 4.1), sendmail (>= 8.9) | sendmail-tls (>= 8.9) |
mail-transport-agent, perl, libdbi-perl (>= 1.06), libdbd-mysql-perl |
libdbd-pg-perl, libmailtools-perl (>= 1.13), libmd5-perl (>= 2.02),
libmsgcat-perl (>= 1.0), libmime-perl (>= 5.209), libmime-base64-perl (>=
1.0), libio-stringy-perl, sysklogd (>= 1.3-27) | system-log-daemon, adduser,
debconf, libc6 (>= 2.2.4-4)
Recommends: logrotate, doc-base
Suggests: mysql-server | postgresql, wwsympa, libnet-ldap-perl (>= 0.10),
openssl (>= 0.9.5a), libcrypt-ciphersaber-perl
Conflicts: sympa-db, suidmanager (<< 0.50)
Conffiles:
/etc/init.d/sympa ee8174efb89a2fafa220cce4c8ae1f5f
/etc/logrotate.d/sympa 9da34ed6a5469535bc692608a6c993e1
/etc/sympa/sympa.conf-smime.in a150dc299a4266c4faa7b408b26ad77e
Description: Modern mailing list manager
Sympa is a scalable and highly customizable modern mailing list manager
which can cope with big lists (200,000 subscribers).
It can can handle a lots of useful features :
- Moderation
- Digest mode
- Authentication (for subscription process)
- Archive management
- Multi-language support (us, fr, de, as, it, fi and Chinese locales)
- Expiration process
- Virtual domains (virtual robots)
- Accesses to LDAP directories
- Using a RDBMS for storing subscriber information (it supports both MySQL
and PostgreSQL).
- S/MIME encryption and HTTPS authentication
Sympa provides a scripting language for extending the behaviour of commands,
and a complete (user and admin) Web interface called WWSympa.
.
SYMPA means 'Système de Multi-Postage Automatique' (French) or
'Automatic Mailing System' (English).
.
It is written in Perl and uses some modules (mailtools, md5, msgcat, db).
.
WWSympa is provided in a separate package named `wwsympa'.


# diff -u usr/lib/cgi-bin/sympa/wwsympa.fcgi~
usr/lib/cgi-bin/sympa/wwsympa.fcgi
--- usr/lib/cgi-bin/sympa/wwsympa.fcgi~ Sat Feb 23 20:25:57 2002
+++ usr/lib/cgi-bin/sympa/wwsympa.fcgi Thu May 16 09:08:36 2002
@@ -389,13 +389,15 @@
$param->{'conf'} = {'email' => $Conf{'robots'}{$robot}{'email'},
'host' => $Conf{'robots'}{$robot}{'host'},
'sympa' => $Conf{'robots'}{$robot}{'sympa'},
- 'request' => $Conf{'robots'}{$robot}{'request'}
+ 'request' => $Conf{'robots'}{$robot}{'request'},
+ 'listmaster' =>
$Conf{'robots'}{$robot}{'listmaster'}
};
}else {
$param->{'conf'} = {'email' => $Conf{'email'},
'host' => $Conf{'host'},
'sympa' => $Conf{'sympa'},
- 'request' => $Conf{'request'}
+ 'request' => $Conf{'request'},
+ 'listmaster' => $Conf{'listmaster'}
};
}
$param->{'wwsconf'} = $wwsconf;


--- End Message ---


--
Jérôme Marant

http://marant.org



  • [Andreas Krüger <address@concealed>] Bug#147150: Listmaster address hardcoded to "listmaster"@host [patch]., Jérôme Marant, 05/16/2002

Archive powered by MHonArc 2.6.19+.

Top of Page