Installing second mail server instance fails

NethServer Version: NS8 RC1
Module: mail/configure-module

Hi team,

After installing a second mail instance I went to configure the instance but it fails.

How can I resolve this ?
Error is listed below.

Kind regards, Klaas-Jan

Configure module

Task module/mail3/configure-module failed

  • Subtask module/traefik1/set-certificate failed

`<7>systemctl --user enable --now clamav.service
Created symlink /home/mail3/.config/systemd/user/default.target.wants/clamav.service → /home/mail3/.config/systemd/user/clamav.service.
Created symlink /home/mail3/.config/systemd/user/default.target.wants/dovecot.service → /home/mail3/.config/systemd/user/dovecot.service.
Created symlink /home/mail3/.config/systemd/user/default.target.wants/postfix.service → /home/mail3/.config/systemd/user/postfix.service.
Created symlink /home/mail3/.config/systemd/user/default.target.wants/rspamd.service → /home/mail3/.config/systemd/user/rspamd.service.
Created symlink /home/mail3/.config/systemd/user/timers.target.wants/clamav-unofficial-sigs.timer → /home/mail3/.config/systemd/user/clamav-unofficial-sigs.timer.
Traceback (most recent call last):
File “/usr/local/agent/pyenv/lib64/python3.11/site-packages/requests/models.py”, line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib64/python3.11/json/init.py”, line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib64/python3.11/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib64/python3.11/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/mail3/.config/actions/configure-module/90mail_domain”, line 32, in
mail.doveadm_query(“mailboxCreate”, {“mailbox”: [“postmaster”], “user”: “vmail”})
File “/home/mail3/.config/pypkg/mail.py”, line 269, in doveadm_query
oresp = requests.post(f"http://127.0.0.1:{dport}/doveadm/v1", json=req, headers={“Authorization”: "X-Dovecot-API " + atok}).json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/agent/pyenv/lib64/python3.11/site-packages/requests/models.py”, line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)`

yes it is not possible because we bind to real ports on the host, you can have only one instance of mail, samba AD and ejabberd

2 Likes

Hi Stéphane,

Thanks for the update.

I was hoping it was possible with the containers.

Thanks, Klaas-Jan

1 Like