Im trying to setup on scaleway vps. Setup completed without any problems but they have a strange network configuration. By default server listens to private ip (which is local and not configured on server because I dont see it in ifconfig) and now all the mailinabox services listen to that ip. I have public ip too. Any configuration I need to change to add that public ip or there are other solutions?
Good to hear it started working. I have two server now with them and found you have to make a few tweaks. See: https://github.com/mail-in-a-box/mailinabox/pull/754. In that PR I made a few changes to the firewall setup and /etc/default access rights. There are still some problems with the PR, it doesnât support ipv6 yet, so it is wise to not enable that yet on Scaleway.
Also it is wise to install via github at the moment. The latest dev version also sets the hostname properly, which Scaleway doesnât do.
Have a look at my pull request. Incoming email is probably due to the firewall settings. You need to allow smtp via de scaleway UI. After that you have to hard reboot the server from the console otherwise the changes wonât be picked up.
You donât have to reinstall.
I havenât tried this but it should work:
cd mailinabox/
git checkout master && git fetch && git pull && setup/start.sh
But if you donât feel comfortable (or understand) with this you can wait for the next release. I gather this isnât a production box yet so if you have problems you can always restart. If it does have prod data on it make sure you do a backup. That has the update to the hostname in it. There are some tweaks necessary to ufw. Best for now is to disable ipv6 in /etc/defaults/ufw.
MiaB installed with no issues and my mail server is now correctly running in âscalewayâ ( so far ) but will wait some days before to move it to âproductionâ.