[SOLVED] vzdump - Change mail subject/template?

Jul 12, 2017
9
3
43
35
Hi,

I am forwarding the vzdump result mails to Pushover (SMTP to Push-Gateway).
Unfortunately I cannot see the result of the vzdump in the title as it is too long for the smartphone screen.
Is there a way to change the subject of the result mails or do I need to use own hook scripts?

Greetings
Sebastian
 
Hi again,

found an old thread saying that the subject is hardcoded and not changeable, so I use postfix to manipulate the outgoing mail:

/etc/postfix/main.cf:
header_checks = regexp:/etc/postfix/short_subject.regexp

/etc/postfix/short_subject.regexp:
/^Subject: vzdump backup status \(hostname.domain.local\)(.*)$/ REPLACE Subject: pve-home$1

last:
postfix reload
 
Last edited:

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!