From majordomo-users-owner@greatcircle.com Wed Jul 15 15:13:59 2009 X-Greylist: delayed 954 seconds by postgrey-1.24 at mycroft; Wed, 15 Jul 2009 15:13:58 PDT Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mycroft.greatcircle.com (Postfix) with ESMTP id 0EE9669003E for ; Wed, 15 Jul 2009 15:13:57 -0700 (PDT) Received: from park.js.berklix.net (p549A4B36.dip.t-dialin.net [84.154.75.54]) (authenticated bits=0) by flat.berklix.org (8.13.8/8.13.8) with ESMTP id n6FLw0l5003230; Wed, 15 Jul 2009 23:58:01 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id n6FLw7sR021199; Wed, 15 Jul 2009 23:58:07 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id n6FLvlWN043768; Wed, 15 Jul 2009 23:57:52 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200907152157.n6FLvlWN043768@fire.js.berklix.net> To: Majordomo-Users@greatcircle.com cc: jhs@berklix.com Subject: X-MIME-Autoconverted: from quoted-printable to 8bit by majordomo-server From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Linux Unix Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com/~jhs/cv/ Date: Wed, 15 Jul 2009 23:57:47 +0200 X-Archive-Number: 200907/1 X-Sequence-Number: 5858 Hi Majordomo-Users@greatcircle.com, A sendmail question more than majodomo, but not sure where to ask: My majordomo works so well, adding to header: X-MIME-Autoconverted: from quoted-printable to 8bit by majordomo-server I'd like that conversion on other mail through my servers, to obviate quoted-printable & base64 junk excretia (& not on a per user or MIME enclosure basis, but host wide, mail wide, - & I presume I don't need mimedefang as majordomo already does it without) How ? I went investigating what majodomo is doing on my remote FreeBSD-6.2, to import whatever 'domo does so nicely also to my my desk top FreeBSD-7.1, but I can't find what to import ? Here's a summary I wrote while searching: In header of a mail someone sent a majordomo list I run: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by ..... [ no match in majordomo sources so ...] On remote FreeBSD-6.server source: cd /usr/src/contrib/sendmail/src vi -c/\^mime7to8 mime.c /X-MIME-Autoconverted: from %.200s to 8bit by %s id %s vi -c/mime7to8 `grep -l mime7to8 *` # Find what calls it. vi -c/\^do_transfer deliver.c # Caller /mime7to8 vi /etc/make.conf # Check MIME7TO8 is turned on # CFLAGS += -DMIME7TO8 # On by default in # /usr/src/contrib/sendmail/src/conf.h # so does not change content of # /usr/obj/usr/src/usr.sbin/sendmail/deliver.o # with # cd /usr/src/usr.sbin/sendmail ; make I see /var/log/maillog on remote server reports features to other end inc.: Jul 15 06:00:21 flat sm-mta[86718]: n6F40LPE086718: --- 250-8BITMIME & my local desk top does too: Jul 14 14:00:01 fire sm-mta[10257]: n6EC01hh010257: --- 250-8BITMIME deliver.c: if (bitnset(M_MAKE8BIT, m->m_flags) && sendmail.h: struct mailer { ... BITMAP256 m_flags; /* status flags, see below */ ... } /* bits for m_flags */ #define M_MAKE8BIT '9' /* convert 7 -> 8 bit if appropriate */ grep m_flags * | grep M_MAKE8BIT deliver.c: if (bitnset(M_MAKE8BIT, m->m_flags) && deliver.c: if (bitnset(M_MAKE8BIT, mailer->m_flags) && sendmail.cf host=server : # FreeBSD-6.2 # strip message body to 7 bits on input? O SevenBitInput=False # 8-bit data handling #O EightBitMode=pass8 host=desk top : # FreeBSD-7.1 # strip message body to 7 bits on input? O SevenBitInput=False # 8-bit data handling #O EightBitMode=pass8 Same on both. Any ideas, hints, RTFM URLs ? Cheers, Julian - -- Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail in plain ASCII text; HTML & Base64 are spam. http://asciiribbon.org