Hello everyone, I have a problem with email alerts from Proxmox.
I tried to work according to several guides none of which helped / worked.
Everyone gives the same instructions, I worked mostly according to this guide: https://forum.proxmox.com/threads/get-postfix-to-send-notifications-email-externally.59940/
And it doesn't work for me.
First of all I have to change that "From" from
I'm not sending email through Gmail. I use my own domain, and it's working fine. So this is something in the Proxmox settings.
I look at logs in
I tried to configure via ssmtp instead of via postfix and then everything worked through using the
I had an error ....
If it is possible to just fix the problem with
What to do? I worked exactly according to guide instructions.
I tried to work according to several guides none of which helped / worked.
Everyone gives the same instructions, I worked mostly according to this guide: https://forum.proxmox.com/threads/get-postfix-to-send-notifications-email-externally.59940/
And it doesn't work for me.
First of all I have to change that "From" from
root@pve
to user@mydomain
And even after I added the smtp_header_checks
as they say it didn׳t change itI'm not sending email through Gmail. I use my own domain, and it's working fine. So this is something in the Proxmox settings.
I look at logs in
/var/log/mail.info
and I see that it sends via root@pve.localdomain
and no matter what I do it doesn't changes it .I tried to configure via ssmtp instead of via postfix and then everything worked through using the
mail -s
command but when I tried to use
Code:
echo "test" | /usr/bin/pvemailforward
Code:
sendmail: RCPT TO:<tosent@gmail.com> (553 5.7.1 <root@pve>: Sender address rejected: not owned by user user@mydomain)
ssmtp
then it would be best because it works there much better than postfix
.What to do? I worked exactly according to guide instructions.