]> git.proxmox.com Git - pve-manager.git/commit
Fix #352: Limit the length of backup logs for mails
authorDominic Jäger <d.jaeger@proxmox.com>
Tue, 21 May 2019 11:16:13 +0000 (13:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 Nov 2019 14:02:50 +0000 (15:02 +0100)
commitce84a9506d20b878765028d5a5074dadeb40ae06
tree8595cc33e5efe9bc16b2ca66b383efc6b85f8601
parent1b025c2fa0015c824078feeac301aea8951f3043
Fix #352: Limit the length of backup logs for mails

When creating a backup the log part can make the mail too big to be
transferred. To ensure delivery, two measures are taken:
1. Always omit the status lines
2. Omit the whole log part if a mail becomes (too) big

Additionally, add a check for missing log files.

Co-developed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
PVE/VZDump.pm
test/Makefile
test/mail_test.pl [new file with mode: 0755]