Configuring e-Mail notifications

pcmofo

Well-Known Member
Feb 12, 2016
35
0
46
40
I was following the instructions found here
http://louwrentius.com/the-zfs-event-daemon-on-linux.html
to enable ZFS notifications via email.

From the Wiki I see the Proxmox has postfix installed already but I have never used postfix nor could I find any proxmox relevant info on configuring it. I would like to send mail to/from my gmail account which I have done before through msmtpc. I have a few things like Backup scheduled to send me emails currently but have been receiving none of them without postfix configured I assume. Can someone point me to how this is supposed to be configured relative to Proxmox?
 
Email should work out of the box if you installed using the installation CD. Else it should be enough to configure an email address for root (Datacenter/Users/root).
 
Email should work out of the box if you installed using the installation CD. Else it should be enough to configure an email address for root (Datacenter/Users/root).
Thanks for the reply. Is their a way I can test this?
 
Email should work out of the box if you installed using the installation CD. Else it should be enough to configure an email address for root (Datacenter/Users/root).
No so easy. When have set as FQDN at installation an name like mypvehost.tux.local it can't work. Then you must enter an right sender at postfixconfig.

nano /etc/postfix/main.cf
myhostname=backup01.tux.local.realdomain.at

Maybe an realy is also necessary.

relayhost = smtp.realdomain.at

Please correct me when I'am wrong.

On some datacenters we have realy FQDN's they pointing to the right IPadress. Then we have nothing to do.

Thanks for the reply. Is their a way I can test this?
Yes.

Say at the CMD "sendmail yourmailadress" ENTER. Then right something like "test", ENTER then make an point "." ENTER. Mail has send. To controll whats going say after that, or durning process in another terminal: "jouranlctl -f"
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!