1. make sure there are these packageshello all
I read the post in relation to this and none em solve the problem of notifications.
is there any standard settings for gmail and Proxmox?
test telnet port 587 from server proxmox target gmail.smtp.com its ok
regards
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhost.hash
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_auth.hash
smtp_sasl_security_options = noplaintext, noanonymous
smtp_use_tls = yes
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
<servername>:587 <login>:<password>
smtp.gmai.com:587 yourmail@gmail.com:<password>
<sender email address> <smtp-server>:587
yourmail@gmai.com smtp.gmail.com:587
postmap /etc/postfix/sasl_auth.hash
postmap /etc/postfix/sender_relayhost.hash
postfix reload
date | mail -s test yourmail@gmail.com
yes, my proxmox send notifications using SASL-authentication to server on 587 port.relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
you have a correct config?
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhost.hash
#relayhost =
<yourmail>@gmail.com smtp.gmail.com:587
postmap /etc/postfix/sender_relayhost.hash && postfix reload
yes, my proxmox send notifications using SASL-authentication to server on 587 port.
probably your problem is with TLS.
try turn it off with
smtp_use_tls = no
to debug prove it.
notifications backups
when configuring backups thereis popdown menu with options
- always
- on failure only.
in datacenter-options thereis
Email from address
you need to change it to what is in postfix config, i.e. tsistemas@gmail.com
PVE has an option for email address to sent notifications from.manual backups, no sheduled
run as rootMar 11 08:00:43 fnuc postfix/smtp[30098]: error: open database /etc/postfix/sasl_auth.hash.db: No such file or directory
postmap /etc/postfix/sasl_auth.hash
[code]
yes, it was unattentioned advice, a mistake.postmap: fatal: open /etc/postfix/sasl_auth.hash: No such file or directory
We use essential cookies to make this site work, and optional cookies to enhance your experience.