Skip to Content.
Sympa Menu

en - Re: [en@sympa] Issue with template for unsubscribe link

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Gingko <address@concealed>
  • To: address@concealed
  • Subject: Re: [en@sympa] Issue with template for unsubscribe link
  • Date: Mon, 9 Dec 2024 21:45:49 +0100

Hello,

About processes I thought I did the restart, but maybe I didn't do it correctly (I commonly use a bash script for restarting all processes via systemd) or completely (like just the wwsympa one).
The change was reflected into the list /edit_config page, anyway.
Now I realize that it works, although I have not changed anything at all since then.

I say it works, but actually it doesn't work correctly.

I use Virtual domain setting, and several domains with several lists inside each domain.
Thus I have virtual domains like mydomain.org, myotherdomain.org, etc, and I have a web interface for each, like https://lists.mydomain.org/wws, https://lists.myotherdomain.org/wws, etc., with several lists inside each.

I would expect the message footer link to be, for example, for the mydomain.org domain:
https://lists.mydomain.org/wws/auto_signoff/test?email=<my_email_address>
But instead I get:
https://theglobaldomain.org/wws/auto_signoff/test?email=<my_email_address>
... knowing that theglobaldomain.org is the one that I wrote inside the /etc/sympa/sympa/sympa.conf file:
domain = theglobaldomain.org
Wwsympa_url https://theglobaldomain.org/wws
wwsympa_url_local https://theglobaldomain.org/wws
But I do not actually use that global domain — which is the host name of my server — for Sympa, I wrote it because I thought I had to write something there.
I expected this one to be always overridden by the one defined into each robot.conf.

And obviously, using that domain doesn't work.

Inside the corresponding robot.conf file, I already had:
http_host lists.mydomain.org
wwsympa_url https://lists.mydomain.org/wws
wwsympa_url_local https://lists.mydomain.org/wws
(duplicating wwsympa_url to wwsympa_url_local was the solution I found for solving a previous issue)

I tried to add:
domain lists.mydomain.org
… but this doesn't change anything.

How could I get the URL domain defined in robot.conf instead of the one defined into sympa.conf?

Regards,

Gingko

(I didn't try the message_global_footer thing so far ; one problem at a time)


De : Adam Bernstein [mailto:address@concealed]
Envoyé : lundi 9 décembre 2024 à 7:06 PM
Pour : address@concealed Objet : [en@sympa] Issue with template for unsubscribe link
[…]

Those settings look correct, but it sounds like the change did not take effect... maybe this is too obvious, but did you restart all Sympa processes (specifically sympa_msg.pl) after editing robot.conf?

[…]



Archive powered by MHonArc 2.6.19+.

Top of Page