For some reason, last night I decided to let proxmox send me emails about what is happening with my proxmox machine, I send test postfix emails after setting it up, and it does not work. I do
. I check my email and there is nothing there, this morning i also checked, and nothing was there. So I am confused what I did wrong. Here is my main.cf file >
Code:
echo "Test mail from postfix" | mail -s "Test Postfix" *my email*
Code:
#google mail config
smtprelayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
#mydestination = $myhostname, localhost.$mydomain, localhost