Control: tag -1 moreinfo Hi,
On 2016-01-15 22:18, Vincent Caron wrote: > Package: cron > Version: 3.0pl1-127+deb8u1 ^^^^^^^^^^^ This version already contains this fix; it first included in 3.0pl1-125. Is it possible that you got your versions mixed up? > when sending command outputs via email, cron will use at least one MIME > header(Content-Type, wether the user configured CONTENT_TYPE or not), > but will not set the "MIME-Version" header as required by the MIME RFC. > The patch is pretty trivial: always add a "MIME-Version: 1.0" header. > > --- do_command.c.orig 2016-01-15 13:24:09.486709632 +0100 > +++ do_command.c 2016-01-15 13:07:26.594685734 +0100 > @@ -567,6 +567,7 @@ > fprintf(mail, "Date: %s\n", > arpadate(&StartTime)); > # endif /* MAIL_DATE */ > + fprintf(mail, "MIME-Version: 1.0\n"); > if ( content_type == 0L ) { > fprintf(mail, "Content-Type: text/plain; charset=%s\n", > cron_default_mail_charset Regards, Christian
signature.asc
Description: OpenPGP digital signature