Hello , I am working with PROXMOX 6.4-9 and cannot send mails by proxmox.
I have configured the following parameters:
/etc/postfix/main.cf
relayhost = smtp-host.domain.com:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CApath = /etc/ssl/certs
smtp_sasl_security_options = noanonymous, noplaintext
smtp_sasl_tls_security_options = noanonymous
/etc/postfix/sasl_passwd
smtp.gmail.com:587 cau@pavapark.com:****************
postmap /etc/postfix/sasl_passwd
chown root:root /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
chmod 0600 /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
I execute the following comand for sending a mail and it is not executed:
echo "test mail from proxmox" | mail -s test gsanz@pavapark.com
I have the following values in /var/log/mail.info and have the following output:
Jul 22 11:00:25 pvpavapark postfix/error[47302]: 3779BBC61CA: to=<gsanz@pavapark.com>, relay=none, delay=4640, delays=4620/20/0/0, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp.gmail.com type=MX: Host not found, try again)
ANy idea???
I have configured the following parameters:
/etc/postfix/main.cf
relayhost = smtp-host.domain.com:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CApath = /etc/ssl/certs
smtp_sasl_security_options = noanonymous, noplaintext
smtp_sasl_tls_security_options = noanonymous
/etc/postfix/sasl_passwd
smtp.gmail.com:587 cau@pavapark.com:****************
postmap /etc/postfix/sasl_passwd
chown root:root /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
chmod 0600 /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
I execute the following comand for sending a mail and it is not executed:
echo "test mail from proxmox" | mail -s test gsanz@pavapark.com
I have the following values in /var/log/mail.info and have the following output:
Jul 22 11:00:25 pvpavapark postfix/error[47302]: 3779BBC61CA: to=<gsanz@pavapark.com>, relay=none, delay=4640, delays=4620/20/0/0, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp.gmail.com type=MX: Host not found, try again)
ANy idea???