I have a kvm on which I have installed proxmox.
I then created a container and installed MiaB.
so far everything goes great.
I want to relay emails from Proxmox using MIAB SMTP.
Configure Postfix
nano /etc/postfix/main.cf
Added the following lines
relayhost = [box.example.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes
After that I created
nano /etc/postfix/sasl_passwd
Added
[box.example.com]:587 USERNAME@example.com:PASSWORD
Fixed the permission and updated postfix config to use sasl_passwd file:
sudo chmod 400 /etc/postfix/sasl_passwd
sudo postmap /etc/postfix/sasl_passwd
Reloaded the postfix
sudo /etc/init.d/postfix reload
Is there any step I missed?
Note: - I’m still using self generated ssl certificate by MIAB.
Do I need to get SSL certificate to resolve this issue?