Hello.
I have a 7-node cluster, with the same Postfix configuration (identical
Mail for
Furthermore, if on each node, I run:
the mails are dispatched correctly.
But if instead, the command to execute is:
four of seven nodes correctly send the mail to the destination. But the other three nodes try to send to
I thought it might be the Debian alternatives configuration, but on all nodes, the configuration is the same:
Finally, the .forward file exists in the root directory of all nodes, and the content is the same:
And since I don't know what else to look at, I'm here for help, so they can give me a hand.
Thank you!!!
I have a 7-node cluster, with the same Postfix configuration (identical
/etc/postfix/main.cf
except for the mydestination line, where, among other things, the corresponding hostname is specified).Mail for
root@pam
is correctly configured from the Web GUI, and I can verify that mail is configured from bash:
Bash:
cat /etc/pve/user.cfg | grep root@pam
user:root@pam:1:0:::my.address@some.mail.com:::
Bash:
echo "Test from PVE Node: $(hostname)" | /usr/bin/pvemailforward
But if instead, the command to execute is:
Bash:
echo "Another test from PVE Node: $(hostname)" | mail -s "A test from $(hostname)" root
four of seven nodes correctly send the mail to the destination. But the other three nodes try to send to
root@nodename.localdomain
and in GMail I get a Delivery Status Notification (Failure) from Mail Delivery Subsystem <mailer-daemon@googlemail.com>I thought it might be the Debian alternatives configuration, but on all nodes, the configuration is the same:
Bash:
ls -lh /usr/bin/mail
lrwxrwxrwx 1 root root 22 Jun 16 2015 /usr/bin/mail -> /etc/alternatives/mail
ls -lh /etc/alternatives/mail
lrwxrwxrwx 1 root root 18 Jun 16 2015 /etc/alternatives/mail -> /usr/bin/bsd-mailx
Finally, the .forward file exists in the root directory of all nodes, and the content is the same:
Bash:
cat /root/.forward
|/usr/bin/pvemailforward
And since I don't know what else to look at, I'm here for help, so they can give me a hand.
Thank you!!!