Is there a public IP address ? I am not familiar with Proxmox so I cannot help you other than to ask the obvious … is the script able to see a public IP address??? From the error I would guess not.
As already written above, I have created a container with Ubuntu 18.04 on my Proxmox server. Then I did apt-get update and apt-get upgrade and apt-get dist-upgrade as root. Thereupon I adjusted my /etc/hosts as follows:
When trying to install mailinabox, I receive the following message at the end:
Waiting for the mail-in-a-box management daemon to start ...
Waiting for the mail-in-a-box management daemon to start ...
Waiting for the mail-in-a-box management daemon to start ...
Dec 26 23:55:00 box start[3041]: File "/usr/local/lib/mailinabox/env/lib/python3.6/encodings/ascii.py", line 26, in decode
Dec 26 23:55:00 box systemd[1]: mailinabox.service: Main process exited, code=exited, status=1/FAILURE
Dec 26 23:55:00 box systemd[1]: mailinabox.service: Failed with result 'exit-code'.
Dec 26 23:55:01 box cron[210]: (*system*mailinabox-nightly) RELOAD (/etc/cron.d/mailinabox-nightly)
Dec 27 00:00:34 box systemd[1]: mailinabox.service: Failed to reset devices.list: Operation not permitted
Dec 27 00:00:35 box start[581]: File "/root/mailinabox/management/daemon.py", line 27, in <module>