Hello,
I am new to this community, so apologies if this has been solved many times, but nothing seems to be here to what would help me with my weird issue.
I've tried to setup email notifications on my PVE. However I will not receive an email of VM backup even if set to send ALWAYS.
I've followed guides on the internet how to setup postfix and after a while I did get it working.
when running:
There has been few hiccups to get that working so I had to create file header_checks in /etc/postfix with this:
/^From:[[:space:]]+(.*)/ REPLACE From: "LSS 001 Proxmox" <alerts@lssolutions.ie>
and include in main.cf
smtp_header_checks = regexp:/etc/postfix/header_checks
after that I am able to send emails.
I did setup these things:
/etc/aliases:
root: ladia@lssolutions.ie
in PVE webgui datacenter > users > root > added email address
when I go trough /var/log/mail.log there are no errors just logs on successful sent messages I did try to manually send.
Any help would be much appriciated.
Thank you
I am new to this community, so apologies if this has been solved many times, but nothing seems to be here to what would help me with my weird issue.
I've tried to setup email notifications on my PVE. However I will not receive an email of VM backup even if set to send ALWAYS.
I've followed guides on the internet how to setup postfix and after a while I did get it working.
when running:
- echo "Test body message" | mail -s "This is the subject line" ladia@lssolutions.ie
There has been few hiccups to get that working so I had to create file header_checks in /etc/postfix with this:
/^From:[[:space:]]+(.*)/ REPLACE From: "LSS 001 Proxmox" <alerts@lssolutions.ie>
and include in main.cf
smtp_header_checks = regexp:/etc/postfix/header_checks
after that I am able to send emails.
I did setup these things:
/etc/aliases:
root: ladia@lssolutions.ie
in PVE webgui datacenter > users > root > added email address
when I go trough /var/log/mail.log there are no errors just logs on successful sent messages I did try to manually send.
Any help would be much appriciated.
Thank you