[pbs-devel] applied-series: [PATCH proxmox 0/4] improve mail compatability

Thomas Lamprecht t.lamprecht at proxmox.com
Sun Oct 12 16:14:45 CEST 2025


On Wed, 08 Oct 2025 10:49:06 +0200, 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.
> - patch 4: allows setting the masked recipient so that users of this
>   crate can specify somethings more appropriate for their use case.
> 
> [...]

Applied, thanks! I also made a follow-up for the (pre-existing!) inefficient
wrapping of lines on a character level and with potentially many
reallocations.

[1/4] sendmail: encode non-ascii filenames to improve compatability
      commit: 16e1cfa6d11b690fd95f9771e9b832ccbc40ec64
[2/4] sendmail: encode non-ascii bodies as base64 to improve comptability
      commit: c80e22e41eb619e222d6e6d6e2687c06c23a3f74
[3/4] sendmail: break content disposition headers for attachments
      commit: f02b5fa5598171b2ba05174bc21999f8171ec74a
[4/4] sendmail: allow specifying the masked receiver
      commit: 1fb13e68bb6bbb70f5fbde2e64b7fb3776bce268




More information about the pbs-devel mailing list