From: "Shannon Sterz" <s.sterz@proxmox.com>
To: "Shannon Sterz" <s.sterz@proxmox.com>, <pbs-devel@lists.proxmox.com>
Subject: [pbs-devel] Superseded: Re: [PATCH proxmox 0/3] improve mail compatability
Date: Wed, 08 Oct 2025 10:51:57 +0200 [thread overview]
Message-ID: <DDCT9HJ34S4P.2TK79X86BTFQ2@proxmox.com> (raw)
In-Reply-To: <20250902142720.371671-1-s.sterz@proxmox.com>
On Tue Sep 2, 2025 at 4:27 PM CEST, Shannon Sterz wrote:
> this series tries to improve compatability with more mail servers. this
> is done in three ways:
>
> - patch 1: base64 encode filenames of attachments
> - patch 2: check whether the html or text bodies of an email are ascii
> only. if they are, we can safely declare 7bit encoding which should be
> more broadly compatability than the previous 8bit encoding. if the
> text is not ascii only, encode it as base64 and declare base64
> encoding.
> - patch 3: splits the Content-Disposition header of attached files over
> two lines, to avoid longer files possibly triggering a line length
> limit.
>
> this should specifically make it possible to support mail servers that
> don't support SMTPUTF8, as now no part of the header or body should
> contain plain utf8 characters directly.
>
> i tested these patches against the following mail clients:
>
> - bluemind
> - Thunderbird
> - aerc
> - canary [1]
> - iOS Mail app
> - gmail.com
> - outlook.com
>
> all of them seemed to receive the email and display it properly (note
> that aerc prefers the TXT part of the mime alternative parts even if the
> html part should be preferred, due to being a terminal based mua).
>
> [1]: https://canarymail.io/
>
> Shannon Sterz (3):
> sendmail: encode non-ascii filenames to improve compatability
> sendmail: encode non-ascii bodies as base64 to improve comptability
> sendmail: break content disposition headers for attachments
>
> proxmox-sendmail/src/lib.rs | 193 +++++++++++++++++++++++++++---------
> 1 file changed, 147 insertions(+), 46 deletions(-)
>
> --
> 2.47.2
Superseded-by: https://lore.proxmox.com/all/20251008084906.62427-1-s.sterz@proxmox.com/T/#t
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
prev parent reply other threads:[~2025-10-08 8:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-02 14:27 [pbs-devel] " Shannon Sterz
2025-09-02 14:27 ` [pbs-devel] [PATCH proxmox 1/3] sendmail: encode non-ascii filenames to improve compatability Shannon Sterz
2025-09-02 14:27 ` [pbs-devel] [PATCH proxmox 2/3] sendmail: encode non-ascii bodies as base64 to improve comptability Shannon Sterz
2025-09-02 14:27 ` [pbs-devel] [PATCH proxmox 3/3] sendmail: break content disposition headers for attachments Shannon Sterz
2025-10-08 8:51 ` Shannon Sterz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DDCT9HJ34S4P.2TK79X86BTFQ2@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox