Hi @KiekerJan thank you for the reply and help.
I ran the command. All of the text below between the ==== (which I added here for illustration) was in red
I changed the domain name of the 2nd domain to D2.com in the text below for privacy reasons.
Thanks!
CB
Jan 05 13:20:02 mail.magicmonkeymail.com start[1622]: return viewfunc(*args, **kwargs)
Jan 05 13:20:02 mail.magicmonkeymail.com start[1622]: File “/root/mailinabox/management/daemon.py”, line 403, in dns_get_zonefile
Jan 05 13:20:02 mail.magicmonkeymail.com start[1622]: return Response(get_dns_zonefile(zone, env), status=200, mimetype=‘text/plain’)
Jan 05 13:20:02 mail.magicmonkeymail.com start[1622]: File “/root/mailinabox/management/dns_update.py”, line 609, in get_dns_zonefile
Jan 05 13:20:02 mail.magicmonkeymail.com start[1622]: with open(nsd_zonefile, “r”) as f:
Jan 05 13:20:02 mail.magicmonkeymail.com start[1622]: FileNotFoundError: [Errno 2] No such file or directory: ‘/etc/nsd/zones/D2.com.txt’
Jan 05 13:20:02 mail.magicmonkeymail.com gunicorn[1622]:
=====
Exception on /dns/zonefile/D2.com [GET]
Traceback (most recent call last):
File “/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py”, line 2525, in wsgi_app
response = self.full_dispatch_request()
File “/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py”, line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py”, line 1820, in full_dispatch_request
rv = self.dispatch_request()
File “/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py”, line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File “/root/mailinabox/management/daemon.py”, line 75, in newview
return viewfunc(*args, **kwargs)
File “/root/mailinabox/management/daemon.py”, line 403, in dns_get_zonefile
return Response(get_dns_zonefile(zone, env), status=200, mimetype=‘text/plain’)
File “/root/mailinabox/management/dns_update.py”, line 609, in get_dns_zonefile
with open(nsd_zonefile, “r”) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘/etc/nsd/zones/D2.com.txt’
=====
Jan 05 13:28:52 mail.magicmonkeymail.com start[1611]: [2023-01-05 13:28:52 -0500] [1611] [INFO] Handling signal: term
Jan 05 13:28:52 mail.magicmonkeymail.com start[1622]: [2023-01-05 13:28:52 -0500] [1622] [INFO] Worker exiting (pid: 1622)
Jan 05 13:28:52 mail.magicmonkeymail.com systemd[1]: Stopping Mail-in-a-Box System Management Service…
Jan 05 13:28:52 mail.magicmonkeymail.com start[1611]: [2023-01-05 13:28:52 -0500] [1611] [WARNING] Worker with pid 1622 was terminated due to signal 15
Jan 05 13:28:52 mail.magicmonkeymail.com start[1611]: [2023-01-05 13:28:52 -0500] [1611] [INFO] Shutting down: Master
Jan 05 13:28:52 mail.magicmonkeymail.com systemd[1]: mailinabox.service: Deactivated successfully.
Jan 05 13:28:52 mail.magicmonkeymail.com systemd[1]: Stopped Mail-in-a-Box System Management Service.
Jan 05 13:28:52 mail.magicmonkeymail.com systemd[1]: mailinabox.service: Consumed 4.065s CPU time.
– Boot 9371a1f4e6e149f79f6eb7cc32cd1f23 –
Jan 05 13:30:08 mail.magicmonkeymail.com systemd[1]: Started Mail-in-a-Box System Management Service.
Jan 05 13:30:08 mail.magicmonkeymail.com start[1782]: [2023-01-05 13:30:08 -0500] [1782] [INFO] Starting gunicorn 20.1.0
Jan 05 13:30:08 mail.magicmonkeymail.com start[1782]: [2023-01-05 13:30:08 -0500] [1782] [INFO] Listening at: http://127.0.0.1:10222 (1782)
Jan 05 13:30:08 mail.magicmonkeymail.com start[1782]: [2023-01-05 13:30:08 -0500] [1782] [INFO] Using worker: sync
Jan 05 13:30:08 mail.magicmonkeymail.com start[1794]: [2023-01-05 13:30:08 -0500] [1794] [INFO] Booting worker with pid: 1794