[pmg-devel] superseded: [PATCH pmg-api v2 0/3] add plain-text variants for both reports

Hannes Laimer h.laimer at proxmox.com
Fri Sep 19 10:37:35 CEST 2025


superseded-by: 
https://lore.proxmox.com/pmg-devel/20250919083622.22955-1-h.laimer@proxmox.com/T/#t

On 18.09.25 16:32, Hannes Laimer wrote:
> This addresses both #1621 and #4023.
> 
> https://bugzilla.proxmox.com/show_bug.cgi?id=4023
> https://bugzilla.proxmox.com/show_bug.cgi?id=1621
> 
> v2, thanks @Thomas:
>   - UTF-8 encode plain-text subject/sender/from before using in templates
>   - remove `subject:` line from plain template, this is not needed in that
>     part of the mail
> 
> Hannes Laimer (3):
>    pmgqm: add plain subject/from fields for reports
>    fix #1621: templates: add plain-text variant of short/verbose spam
>      report
>    fix #4023: templates: add plain-text variant of admin report
> 
>   src/Makefile                              |  3 ++
>   src/PMG/CLI/pmgqm.pm                      | 16 ++++++--
>   src/templates/pmgreport.plain.tt          | 50 +++++++++++++++++++++++
>   src/templates/spamreport-short.plain.tt   |  9 ++++
>   src/templates/spamreport-verbose.plain.tt | 18 ++++++++
>   5 files changed, 92 insertions(+), 4 deletions(-)
>   create mode 100644 src/templates/pmgreport.plain.tt
>   create mode 100644 src/templates/spamreport-short.plain.tt
>   create mode 100644 src/templates/spamreport-verbose.plain.tt
> 





More information about the pmg-devel mailing list