Hello,
I setup email in Datacenter \ options
But my proxmox node can't send mail to proxmox mail gateway.
i test with telnet <ip_proxmoxgatewxay> 26 => and it's ok (can send mail etc for email@example.com without issue)
But proxmox can't why ?
Note : echo "test from cluster" | mail -s "test" email@example.com (with root user bash/tty)
i can see : tail -f -n 25 /var/log/mail.log
Oct 3 01:10:26 host postfix/pickup[1872029]: 5F0D43C1351: uid=0 from=<root@host.lan>
Oct 3 01:10:26 host postfix/cleanup[1875564]: 5F0D43C1351: message-id=<20191002231026.5F0D43C1351@host.lan>
Oct 3 01:10:26 host postfix/qmgr[1872030]: 5F0D43C1351: from=<root@host.lan>, size=378, nrcpt=1 (queue active)
Oct 3 01:10:26 host postfix/error[1875566]: 5F0D43C1351: to=<email@example.com>, relay=none, delay=0.03, delays=0.02/0/0/0.01, dsn=5.0.0, status=bounced (ip_proxmoxgatewxay:26)
Oct 3 01:10:26 host postfix/cleanup[1875564]: 63CC53C1362: message-id=<20191002231026.63CC53C1362@host.lan>
Oct 3 01:10:26 host postfix/bounce[1875567]: 5F0D43C1351: sender non-delivery notification: 63CC53C1362
Oct 3 01:10:26 host postfix/qmgr[1872030]: 63CC53C1362: from=<>, size=2332, nrcpt=1 (queue active)
Oct 3 01:10:26 host postfix/qmgr[1872030]: 5F0D43C1351: removed
Oct 3 01:10:26 host postfix/pickup[1872029]: A52113C1351: uid=65534 from=<email@example.com>
Oct 3 01:10:26 host postfix/cleanup[1875564]: A52113C1351: message-id=<20191002231026.63CC53C1362@host.lan>
Oct 3 01:10:26 host postfix/qmgr[1872030]: A52113C1351: from=<email@example.com>, size=2536, nrcpt=1 (queue active)
Oct 3 01:10:26 host postfix/local[1875568]: 63CC53C1362: to=<root@host.lan>, relay=local, delay=0.27, delays=0/0.01/0/0.26, dsn=2.0.0, status=sent (delivered to command: /usr/bin/pvemailforward)
Oct 3 01:10:26 host postfix/qmgr[1872030]: 63CC53C1362: removed
Oct 3 01:10:26 host postfix/error[1875566]: A52113C1351: to=<email@example.com>, relay=none, delay=0.02, delays=0.01/0/0/0, dsn=5.0.0, status=bounced (ip_proxmoxgatewxay:26)
Oct 3 01:10:26 host postfix/qmgr[1872030]: A52113C1351: removed
Oct 3 01:10:26 host postfix/cleanup[1875564]: A70313C1362: message-id=<20191002231026.A70313C1362@host.lan>
With : echo "Subject: sendmail test" | sendmail -v email@example.com
same issue with postfix/error message in log ...
I setup email in Datacenter \ options
But my proxmox node can't send mail to proxmox mail gateway.
i test with telnet <ip_proxmoxgatewxay> 26 => and it's ok (can send mail etc for email@example.com without issue)
But proxmox can't why ?
Note : echo "test from cluster" | mail -s "test" email@example.com (with root user bash/tty)
i can see : tail -f -n 25 /var/log/mail.log
Oct 3 01:10:26 host postfix/pickup[1872029]: 5F0D43C1351: uid=0 from=<root@host.lan>
Oct 3 01:10:26 host postfix/cleanup[1875564]: 5F0D43C1351: message-id=<20191002231026.5F0D43C1351@host.lan>
Oct 3 01:10:26 host postfix/qmgr[1872030]: 5F0D43C1351: from=<root@host.lan>, size=378, nrcpt=1 (queue active)
Oct 3 01:10:26 host postfix/error[1875566]: 5F0D43C1351: to=<email@example.com>, relay=none, delay=0.03, delays=0.02/0/0/0.01, dsn=5.0.0, status=bounced (ip_proxmoxgatewxay:26)
Oct 3 01:10:26 host postfix/cleanup[1875564]: 63CC53C1362: message-id=<20191002231026.63CC53C1362@host.lan>
Oct 3 01:10:26 host postfix/bounce[1875567]: 5F0D43C1351: sender non-delivery notification: 63CC53C1362
Oct 3 01:10:26 host postfix/qmgr[1872030]: 63CC53C1362: from=<>, size=2332, nrcpt=1 (queue active)
Oct 3 01:10:26 host postfix/qmgr[1872030]: 5F0D43C1351: removed
Oct 3 01:10:26 host postfix/pickup[1872029]: A52113C1351: uid=65534 from=<email@example.com>
Oct 3 01:10:26 host postfix/cleanup[1875564]: A52113C1351: message-id=<20191002231026.63CC53C1362@host.lan>
Oct 3 01:10:26 host postfix/qmgr[1872030]: A52113C1351: from=<email@example.com>, size=2536, nrcpt=1 (queue active)
Oct 3 01:10:26 host postfix/local[1875568]: 63CC53C1362: to=<root@host.lan>, relay=local, delay=0.27, delays=0/0.01/0/0.26, dsn=2.0.0, status=sent (delivered to command: /usr/bin/pvemailforward)
Oct 3 01:10:26 host postfix/qmgr[1872030]: 63CC53C1362: removed
Oct 3 01:10:26 host postfix/error[1875566]: A52113C1351: to=<email@example.com>, relay=none, delay=0.02, delays=0.01/0/0/0, dsn=5.0.0, status=bounced (ip_proxmoxgatewxay:26)
Oct 3 01:10:26 host postfix/qmgr[1872030]: A52113C1351: removed
Oct 3 01:10:26 host postfix/cleanup[1875564]: A70313C1362: message-id=<20191002231026.A70313C1362@host.lan>
With : echo "Subject: sendmail test" | sendmail -v email@example.com
same issue with postfix/error message in log ...
Last edited: