[Logcheck-devel] Bug#841008: logcheck: sends 8-bit data as 7bit

brian m. carlson sandals at crustytoothpaste.net
Sun Oct 16 20:25:26 UTC 2016


Source: logcheck
Version: 1.3.17
Severity: normal

logcheck invokes mime-construct with the --encoding 7bit argument.
However, the data may contain UTF-8 or arbitrary octets depending on the
logs in question.  If a mail server refuses 8-bit data without 8BITMIME
(a common anti-spam technique), the logcheck mails may be refused.

Either the --encoding argument should be left off, as recommended by
the mime-construct manual page, or it should be specified as
quoted-printable.  Specifying 8bit could cause mail rejection if the
lines exceed 998 octets, and base64 encoding of text/plain is frequently
seen as a sign of spam.

The change to use 7bit seems to have come in in 1.3.7, but the commit
message does not specify a rationale for this change.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20161016/c97ae056/attachment.sig>


More information about the Logcheck-devel mailing list