[pmg-devel] applied: [PATCH pmg-api] RuleDB/Notify: properly en-/decode the mail subject

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Oct 5 18:36:38 CEST 2022


Am 05/10/2022 um 09:49 schrieb Dominik Csapak:
> we need to mime decode the subject after reading it, so that we get
> the 'real' subject instead of the (possibly) mime encoded one (which
> might be base64 or quoted-printable encoded). To get a proper subject in
> the notification mail again, we have to encode it again before passing
> it MIME::Entity->build
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/PMG/RuleDB/Notify.pm | 3 ++-
>  src/bin/pmg-smtp-filter  | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
>

applied, with Stoiko's T-b & R-b tags, thanks!

(I didn't bother for the placement of the "No Subject" nit too much, albeit,
fwiw, it got my attetion to initially -  @Stoiko just fix it up if you directly
if you like it better the other way)




More information about the pmg-devel mailing list