@grego
I defer back to my original comment … MSAzure uses custom templates. Obviously it is not compatible with MiaB from the results that you are getting.
You’re not the first to have this problem that I have helped, and in the end the result was the same … that person also changed VPS providers.
Thanks but I am a little confused by your responses. I didnt know that this provider was using MSAzure.
also things have moved on a little. I had found this post
And tried using the quick and dirty method at the end. I then rain mailinanbox install but again it failed with the message
Failed to restart systemd-resolved.service: Unit systemd-resolved.service is masked.
I then unmasked the service and got the message
Removed /etc/systemd/system/systemd-resolved.service.
I then ran mail in a box install agian
The install then appeared to proceed much further giving the following messages
Installing nsd (DNS server)…
Generating DNSSEC signing keys…
Installing Postfix (SMTP server)…
Installing Dovecot (IMAP server)…
Creating new user database: /home/user-data/mail/users.sqlite
Installing OpenDKIM/OpenDMARC…
Installing SpamAssassin…
Removing apache…
Installing Nginx (web server)…
Installing Roundcube (webmail)…
Installing Nextcloud (contacts/calendar)…
Upgrading to Nextcloud version 17.0.2
Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)…
Installing Mail-in-a-Box system management daemon…
Installing Munin (system monitoring)…
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…
It has then stalled on this message and not proceeded.
Guys thanks for your help and interest so far. I have to stop for a couple of hours now to attend to other matters. I will check back later to see if you have further thoughts or explanations.