Email backup notification - easy config

  • Thread starter Thread starter guedouarj
  • Start date Start date
G

guedouarj

Guest
Hey everbordy,


First, thanks to all developers for the Proxmox VE product, it's working great !

Here is my problem :

I want to send backup email notifications on : test@domain.com

test@domain.com is an internet address, it means that ppl can send me email in this address.

On logs, I can see : root@host.mylocaldomain .

So he is trying to send email from local server.

Does anyone has a "main.cf" file example to send email from a local server ( the proxmox local server in LAN ) to an internet address. ( a gmail address for ex )

And maybe to change root to another user like : backup@hots.mylocaldomain
I used /etc/aliases file but it seems that doesnt work...


Thx !!!
 
the system root email address is entered during the installation. if you want to change it, go to Configuration/System/Admin
 
you want to change the sender address, why?
 
add the following line to your main.cf:
Code:
myhostname = servername.yourdomain.com
 
I need to put my local domain ( LAN ) ? like proxmox.mylocaldomain.com ?
 
It should be something that resolves back to the IP of your hardware node, say your hardware node is 1.2.3.4 then proxmox.myfancycompany.com should resolve to 1.2.3.4. That usually keeps Google happy.
 
yes but gmail was just an example, I just want that backup notification send a simple mail to xxxx@anyAdresss.com ( a normal working email address ! which is accessible from Internet, so ppl from internet can write email on it).

I just need a example/template of a working proxmox main.cf file. ( postfix )
 
yes but gmail was just an example, I just want that backup notification send a simple mail to xxxx@anyAdresss.com ( a normal working email address ! which is accessible from Internet, so ppl from internet can write email on it).

I just need a example/template of a working proxmox main.cf file. ( postfix )

maybe you just run the postfix setup again and answer all questions that it fits into your network.

Code:
dpkg-reconfigure postfix