/* http://www.sendmail.org/tips/index 15.07.2009 Compile-Time Features There are a bunch of features that you can decide to compile in, such as selecting various database packages and special protocol support. Several are assumed based on other compilation flags -- if you want to "un-assume" something, you probably need to edit conf.h. Compilation flags that add support for special features include: MIME8TO7 If non-zero, include 8 to 7 bit MIME conversions. This also controls advertisement of 8BITMIME in the ESMTP startup dialogue. MIME7TO8 If non-zero, include 7 to 8 bit MIME conversions. ------------------- Date: Wed, 15 Jul 2009 23:24:09 +0200 Subject: X-MIME-Autoconverted: from quoted-printable to 8bit by majordomo-server 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 ? ------------------ */