There is nothing altered from the Ubuntu 18.04 image?
If so, I would say the best bet is just start over and reinstall. As best I can tell, all of the install data that matters is in /home/user-data/, so you have little to lose and it may take less time than trying to resolve whatever your issue is.
Done, the SSL certificate for the HOSTNAME was regenerate.
But I think the problem is the other mail domain are not present and the admin interface is “lost”.
The admin interface was “lost” because I add an wrong aliases!
Thank you for your help (the feedbacks help me to understand MiB).
First :
`
./status_checks.py
System
✓ All system services are running.
The SSH server on this machine permits password-based login. A more secure way to log in is using a public key. Add your SSH public key to $HOME/.ssh/authorized_keys, check that you can log in without
a password, set the option ‘PasswordAuthentication no’ in /etc/ssh/sshd_config, and then restart the openssh via ‘sudo service ssh restart’.
✓ System software is up to date.
? You are running version Mail-in-a-Box v0.44. Mail-in-a-Box version check disabled by privacy setting.
✓ System administrator address exists as a mail alias.
✓ The disk has 92.41 GB space remaining.
✓ System memory is 33% free.
Network
✓ Firewall is active.
✓ Outbound mail (SMTP port 25) is not blocked.
✓ IP address is not blacklisted by zen.spamhaus.org.
Traceback (most recent call last):
File “./status_checks.py”, line 976, in
run_checks(False, env, ConsoleOutput(), pool)
File “./status_checks.py”, line 64, in run_checks
run_domain_checks(rounded_values, env, output, pool)
File “./status_checks.py”, line 301, in run_domain_checks
mail_domains = get_mail_domains(env)
File “/root/mailinabox/management/mailconfig.py”, line 266, in get_mail_domains
+ [get_domain(address, as_unicode=False) for address, *_ in get_mail_aliases(env) if filter_aliases(address) ]
File “/root/mailinabox/management/mailconfig.py”, line 266, in
+ [get_domain(address, as_unicode=False) for address, *_ in get_mail_aliases(env) if filter_aliases(address) ]
File “/root/mailinabox/management/mailconfig.py”, line 251, in get_domain
ret = emailaddr.split(’@’, 1)[1]
=> Problem with an alias:
`sqlite3 /home/user-data/mail/users.sqlite