[pmg-devel] applied: [PATCH pmg-api] api/postfix: add 'decode-headers' to postfix queue read
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Feb 3 12:33:22 CET 2022
On 03.02.22 09:29, Dominik Csapak wrote:
> often, the users want to show the *decoded* header, iow. they want
> to see the readable subject,from,to, etc. not the quoted-printable
> versions.
>
> so add a new parameter that decodes the header lines as we read them
> using MIME::WordDecoder's 'mime_to_perl_string'.
>
> for backwards compatibility, this is not the default in the api
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> src/PMG/API2/Postfix.pm | 8 +++++++-
> src/PMG/Postfix.pm | 6 +++++-
> 2 files changed, 12 insertions(+), 2 deletions(-)
>
>
applied, made a small followup for line length and doing an useless but
cheap optimization, thanks!
More information about the pmg-devel
mailing list