Your message dated Mon, 06 May 2019 21:10:45 +0000 with message-id <[email protected]> and subject line Bug#928481: fixed in mmh 0.4-3 has caused the Debian Bug report #928481, regarding mmh: wierd boundary-separators generated to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 928481: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928481 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: mmh Severity: normal Dear Maintainer, mmh sometimes generates boundary separators in multipart messages with non-ascii symbols in it. Not sure about RFC-compliance, but at least Python standard library does not work well with them. Here is example of problematic separator: --21189_ĵaŭ_Maj__2_15_03_59_UTC_2019 Notice non-ascii "ĵ" letter. The separator looks like output of date(1) (my locale is eo.utf-8). According to my investigation, such boundary is generated in mhsign.sh script, newboundary() function, line 185 (in mmh=0.4 release), which have following line: b=$$_`date|sed 's/[ : ]/_/g'` I think the simpliest fix would be using C locale for date. Patch is attached. Not sure, whether it is safe to export LC_ALL=C at top of script. From 063686f0e94067edfbc44cb58bc2404b326f8754 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov <[email protected]> Date: Fri, 3 May 2019 18:37:19 +0000 Subject: [PATCH] Ensure that multipart message boundaries are ascii-only --- uip/mhsign.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/mhsign.sh b/uip/mhsign.sh index 894ca5e..44b3870 100755 --- a/uip/mhsign.sh +++ b/uip/mhsign.sh @@ -182,7 +182,7 @@ fixheaders() { ### newboundary -- output a suitable boundary marker newboundary() { - b=$$_`date|sed 's/[ : ]/_/g'` + b=$$_`LC_ALL=C date|sed 's/[ : ]/_/g'` for i in 0 x '=' _ + , Z 9 4 ; do if grep "^--$b" $TEMP/body >/dev/null 2>&1 ; then ## oops, bad boundary -- try again -- Note, that I send and fetch email in batch, once every 24 hours. If matter is urgent, try https://t.me/kaction --
pgp5eFbNPFscI.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: mmh Source-Version: 0.4-3 We believe that the bug you reported is fixed in the latest version of mmh, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Dmitry Bogatov <[email protected]> (supplier of updated mmh package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 06 May 2019 20:26:48 +0000 Source: mmh Architecture: source Version: 0.4-3 Distribution: experimental Urgency: medium Maintainer: Dmitry Bogatov <[email protected]> Changed-By: Dmitry Bogatov <[email protected]> Closes: 928481 Changes: mmh (0.4-3) experimental; urgency=medium . * [d3188097] Round-trip patches with gbp-pq * [eb3f3687] Ensure that multipart message boundaries are ascii-only (Closes: #928481) Checksums-Sha1: c0b8cd49083c7f02431ed7d4ec594b1f35f76374 2072 mmh_0.4-3.dsc f9da447e490cb259eb6a1e8328cbb41b33b7fd2e 13036 mmh_0.4-3.debian.tar.xz a096159ff4486b707adeaaf81fecaabf177a8823 5424 mmh_0.4-3_source.buildinfo Checksums-Sha256: 8e5e86c915cf17612a800034c823f262eb74b52023af5cbf9ffe1eb8da2f7b3e 2072 mmh_0.4-3.dsc 8131951b7fce0d4a1a657982a3655448ac2f7f5d6531130a8db1b6e04af62d37 13036 mmh_0.4-3.debian.tar.xz 1138d35b744f658ce9e6cf33d71e7f6be997805a29034d449e02fd2efa43c399 5424 mmh_0.4-3_source.buildinfo Files: 9bca54dd32d4c311819346ec31f43260 2072 mail optional mmh_0.4-3.dsc f1249850c79ae3d0fd89db88ebafb11e 13036 mail optional mmh_0.4-3.debian.tar.xz bbf6545ea3669a2cb7457315f316ea65 5424 mail optional mmh_0.4-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEhnHVzDbtdH7ktKj4SBLY3qgmEeYFAlzQmKMTHGthY3Rpb25A ZGViaWFuLm9yZwAKCRBIEtjeqCYR5msMD/9oUUpdNagKxWl3TdJB/+tQloNWMCP5 /pzrumBOUy7UUUBKrqzUa9zM8/d1/cNv432YmRP9D5z5I50zr3Nie9VfmQQ7yddL Wru9LINPyF+HVlb2NHLrxDI6kkvNQnEc4GLj7VeRvGPp0cGA6XAv5cOBaCdUwTIG VZQS/prkOTULiqigqgL1TG3wMWGXxUvkcV76VYQaXeIO27rAb85mexXvldEQlFid T9iCFuO8G9dmj3tpTFC9V2Sh2b9P+bO1F2SXBiX38si7K9div+woDpfZcP3y5uKX sUAoi+V9w653poNPEN6DYOW6GFvJNO3PTdcgZo1O2O5jlYi7sm17tUlg3j5jT7Mw 5fUMvWnBOH8GDvX8pp/xuZIv+Chw+V2FI7QzcSO4eIFOZD8FI16T7Ox+wR0dPbNT LVRdbsOYstoEY0NwP9DsY/GjjWQ3lVq7dujLiAdcs0bSCfnQZIN/mQJ9wF3E8gIh z4oCGcERKeJ/XQn3EMsCfyEAPERgWKHykM6+by2bS1Lj7+GrvdVEXy21u9OY8XQE hnV+K2B9xQ2MG0mmKUBFNcsYgIcS43AL5iEZKQsEDBjg/yfiGQrw6F7hrMIEQ2kQ 12Fef4H/iKs2qv5TxKJVEZR+JZDKB9KzH99+jYMQV5wnUPRNYUQKJtUacBdlffJf BkcUKMSKAOZEdQ== =jC7d -----END PGP SIGNATURE-----
--- End Message ---

