Package: cron
Version: 3.0pl1-124
Severity: normal

cron sends 8-bit messages that are lacking a MIME-Version header.  This
is in violation of RFC 5321 ยง 2.3.1:

   The content is textual in nature, expressed using the US-ASCII
   repertoire [6].  Although SMTP extensions (such as "8BITMIME", RFC
   1652 [22]) may relax this restriction for the content body, the
   content header fields are always encoded using the US-ASCII
   repertoire.

Because I have configured Postfix to reject invalid 8-bit data, certain
cron mails are not delivered.  If cron is going to send 8-bit data, it
must do so only as part of a valid MIME message meeting the requirements
of the 8BITMIME specification.  Also, the Content-Type header included
is completely meaningless outside the context of MIME.

Included below are the headers from the mail:

  Return-Path: <b...@crustytoothpaste.net>
  Received: by castro.crustytoothpaste.net (Postfix, from userid 1000)
          id 6AA5928061; Thu, 29 Nov 2012 01:00:06 +0000 (UTC)
  From: r...@crustytoothpaste.net (Cron Daemon)
  To: b...@crustytoothpaste.net
  Subject: Cron <bmc@castro> $HOME/bin/process-spam
  Content-Type: text/plain; charset=UTF-8
  X-Cron-Env: <SHELL=/bin/sh>
  X-Cron-Env: <PATH=~/bin:/usr/local/bin:/usr/bin:/bin>
  X-Cron-Env: <HOME=/home/bmc>
  X-Cron-Env: <LOGNAME=bmc>
  Message-Id: <20121129010006.6aa5928...@castro.crustytoothpaste.net>
  Date: Thu, 29 Nov 2012 01:00:06 +0000 (UTC)


-- Package-specific info:
--- EDITOR:
not set

--- /usr/bin/editor:
/usr/bin/vim.gtk

--- /usr/bin/crontab:
-rwxr-sr-x 1 root crontab 35880 Jul  3 21:41 /usr/bin/crontab

--- /var/spool/cron:
drwxr-xr-x 5 root root 4096 Dec 27  2011 /var/spool/cron

--- /var/spool/cron/crontabs:
drwx-wx--T 2 root crontab 4096 Sep 18  2011 /var/spool/cron/crontabs

--- /etc/cron.d:
drwxr-xr-x 2 root root 4096 Jul  7 19:32 /etc/cron.d

--- /etc/cron.daily:
drwxr-xr-x 2 root root 4096 Nov 23 18:06 /etc/cron.daily

--- /etc/cron.hourly:
drwxr-xr-x 2 root root 4096 Jul  7 19:32 /etc/cron.hourly

--- /etc/cron.monthly:
drwxr-xr-x 2 root root 4096 Jul  7 19:32 /etc/cron.monthly

--- /etc/cron.weekly:
drwxr-xr-x 2 root root 4096 Nov 23 18:06 /etc/cron.weekly


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cron depends on:
ii  adduser         3.113+nmu3
ii  debianutils     4.3.4
ii  dpkg            1.16.9
ii  libc6           2.13-37
ii  libpam-runtime  1.1.3-7.1
ii  libpam0g        1.1.3-7.1
ii  libselinux1     2.1.9-5
ii  lsb-base        4.1+Debian9

Versions of packages cron recommends:
ii  esmtp-run [mail-transport-agent]  1.2-10

Versions of packages cron suggests:
ii  anacron        2.3-19
pn  checksecurity  <none>
ii  logrotate      3.8.3-3

Versions of packages cron is related to:
pn  libnss-ldap   <none>
pn  libnss-ldapd  <none>
pn  libpam-ldap   <none>
pn  libpam-mount  <none>
pn  nis           <none>
pn  nscd          <none>

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply via email to