Skip to Content.
Sympa Menu

en - [en@sympa] Trying to convert from single-domain to virtual-domain

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Phil Stracchino <address@concealed>
  • To: address@concealed
  • Subject: [en@sympa] Trying to convert from single-domain to virtual-domain
  • Date: Wed, 8 May 2024 17:50:08 -0400

I have a Sympa instance originally set up as single domain. Now I find that I need to add lists on several new domains as well, so I'm trying to convert to virtual-domain configuration. I've created /etc/sympa/$domain for each domain, created /etc/sympa/$domain/robot.conf, and moved what I understand to be the correct directives to the robot.conf files. Example contents:


domain example.com
listmaster address@concealed,address@concealed
title Fenian House Mailing Lists
create_list listmaster
wwsympa_url https://example.com/sympa
queuebounce /var/spool/sympa/example.com/qbounce


I've created all the /var/spool/sympa/$domain directories and moved the contents of the existing lists where they should go. I eventually figured out that I have to have *one* 'domain' and 'listmaster' in sympa.conf AS WELL AS in the robot.conf files.

*Should* each robot.conf have its own queuebounce setting?

Do I need a robot.conf file for the domain that is *also* in sympa.conf?


I'm supposed to create $EXPLDIR/$domain for each domain as well. Where is $EXPLDIR supposed to point to? I have no idea what that's supposed to be. I've found some references that seem to say that it's /home/sympa/expl IF sympa is installed in /home/sympa. Mine isn't, it's installed at system level. LIBEXECDIR is /usr/libexec/sympa. Where is EXPLDIR in that case? Is it /var/spool/sympa?

My Apache configuration is updated, correctly I *THINK*, my fastcgi service is running, my fcgi socket is present and not stale. When I try to start the wwsympa service, sympa_msg dies telling me it couldn't create $SYSCONFDIR/sympa_transport, when it shouldn't *need* to because it's already there.


minbar:root:/etc/sympa:202 # sympa_msg.pl -d
info main::_load() Configuration file read, log level set using options: 2
debug2 Sympa::Database::new(Sympa::Database, MySQL)
debug2 Sympa::Database::connect() Connected to Database Sympa::DatabaseDriver::MySQL <db_host=localhost;db_name=sympa;db_port=3307;db_user=sympa>
err main::#89 > main::_load#329 > Conf::checkfiles_as_root#391 Failed to create aliases file $SYSCONFDIR/sympa_transport
err main::#89 > main::_load#330 DIED: Missing files
DIED: Missing files
at /usr/sbin/sympa_msg.pl line 330.
main::_load() called at /usr/sbin/sympa_msg.pl line 89


sympa.log:
==> sympa.log <==
May 8 17:45:40 minbar sympa_msg[9022]: info main::_load() Configuration file read, log level set using options: 2
May 8 17:45:40 minbar sympa_msg[9022]: debug2 Sympa::Database::new(Sympa::Database, MySQL)
May 8 17:45:40 minbar sympa_msg[9022]: debug2 Sympa::Database::connect() Connected to Database Sympa::DatabaseDriver::MySQL <db_host=localhost;db_name=sympa;db_port=3307;db_user=sympa>
May 8 17:45:40 minbar sympa_msg[9022]: err main::#89 > main::_load#329 > Conf::checkfiles_as_root#391 Failed to create aliases file $SYSCONFDIR/sympa_transport
May 8 17:45:40 minbar sympa_msg[9022]: err main::#89 > main::_load#330 DIED: Missing files



minbar:root:/etc/sympa:201 # ls -l
total 96
-rw-r--r-- 1 sympa sympa 353 Mar 23 23:51 README
drwxr-xr-x 2 sympa sympa 24 May 8 14:40 caerllewys.net/
-rw-r----- 1 sympa sympa 1 Oct 22 2020 cookies.history
-rw-r----- 1 sympa sympa 135 Jun 3 2023 data_structure.version
drwxr-xr-x 2 sympa sympa 24 May 8 14:40 fenianhouse.com/
-rw-r--r-- 1 sympa sympa 1408 May 8 16:04 list_aliases.tt2
drwxr-xr-x 2 sympa sympa 24 May 8 14:40 seanfenian.com/
drwxr-xr-x 2 sympa sympa 57 Mar 23 23:51 smrsh/
-rw-r--r-- 1 sympa sympa 3029 May 8 16:06 sympa.conf
-rw-rw-r-- 1 sympa sympa 2964 May 8 15:02 sympa_aliases
-rw-rw-r-- 1 sympa sympa 32768 May 8 15:09 sympa_aliases.lmdb
-rw-rw-r-- 1 sympa sympa 0 May 8 17:30 sympa_transport
-rw-rw-r-- 1 sympa sympa 8192 May 8 17:31 sympa_transport.lmdb
-rw-rw-r-- 1 sympa sympa 859 May 8 17:12 transport.sympa
-rw-rw-r-- 1 sympa sympa 12288 May 8 17:13 transport.sympa.lmdb
-rw-rw-r-- 1 sympa sympa 348 May 8 17:06 virtual.sympa
-rw-rw-r-- 1 sympa sympa 12288 May 8 17:13 virtual.sympa.lmdb


(sympa_aliases is the old single-domain sympa aliases file)


Can anyone shed any light upon what is wrong here?


--
Phil Stracchino
Fenian House Publishing
address@concealed
address@concealed
Landline: +1.603.293.8485
Mobile: +1.603.998.6958



Archive powered by MHonArc 2.6.19+.

Top of Page