Hello, on my Proxmox server I have set up a 2 container with Ubuntu 18.04.
I have successfully installed MIAB on the one container (a big THANK to Josh at this point for the great work) and it works wonderfully.
I installed LAMP on the other container and the phpbb forum. As a name server, I gave that from MIAB. then I created a user and the DNS settings were created automatically by MIAB. As far as everything works.
My questions now.
1.) How do I set it that makes the “Forum CT” the email traffic through the MIAB. e.g. That if new users should register in the forum which receive an email and should not land in SPAM if possible.
2.) I also have Fail2ban installed on the “Forum Container” and would like to be notified by email.
This is just a random guide from the internet explaining how to use a SMTP relay:
Please note that MiaB uses port 587, not 465! You will need to add the email address that you want to use for the forum as a user of MiaB before you change the settings on PhpBB.
Fail2Ban may also support a SMTP relay - I do not know…
Are you certain that you have the sending email address correctly configured in PhpBB? You need to determine why the “Forum Container” always takes the FQDN and solve that issue. You have a ‘garbage in, garbage out’ issue.
I am not suggesting that there is no other fix by manipulating postfix, however if you do so then it will be an unsupported modification and will break every time you upgrade MiaB - so that would not be recommended.
I did a little poking around when you made your OP … Fail2ban seemingly does not support smtp cleanly. There are a couple of tutorials out there that you can possibly use to solve this issue.