On a fresh Ubuntu 18.04 Server on Scalway the installation fails, it stops after
Updating system packages...
Installing system packages...
Initializing system random number generator...
Firewall is active and enabled on system startup
Installing nsd (DNS server)...
Installing Postfix (SMTP server)...
Installing Dovecot (IMAP server)...
Installing OpenDKIM/OpenDMARC...
Installing SpamAssassin..
So I debugged the issue. It fails on the following line in setup/spamassassin.sh file:
Thanks! On my scaleway instance sudo wasnt even installed but an (empty) sudoers file was present. Doing an apt install sudo and accepting the package maintainer’s version of the sudoers file fixed it for me.