X-MIME-Autoconverted: from quoted-printable to 8bit by majordomo-server
"Julian H. Stacey" <[email protected]> Wed, 15 Jul 2009 23:57:47 +0200
| Newsgroups | gmane.mail.majordomo.general |
|---|---|
| Organization | http://www.berklix.com BSD Linux Unix Consultancy, Munich Germany |
| Message-ID | <[email protected]> |
Hi [email protected], 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