[prev in list] [next in list] [prev in thread] [next in thread] 

List:       majordomo-users
Subject:    [majordomo-users] The daily digest for Majordomo-Users V9 #48
From:       majordomo-users-owner () greatcircle ! com
Date:       2009-07-16 10:20:03
Message-ID: 20090716102009.1E8CC69007E () mycroft ! greatcircle ! com
[Download RAW message or body]

The daily digest for Majordomo-Users 
Volume 9 : Issue 48 : "text" Format

Messages in this Issue:
  X-MIME-Autoconverted: from quoted-printable to 8bit by majordomo-server

----------------------------------------------------------------------

Date: Wed, 15 Jul 2009 23:57:47 +0200
From: "Julian H. Stacey" <jhs@berklix.com>
To: Majordomo-Users@greatcircle.com
Cc: jhs@berklix.com
Subject: X-MIME-Autoconverted: from quoted-printable to 8bit by majordomo-server
Message-ID: <200907152157.n6FLvlWN043768@fire.js.berklix.net>

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

------------------------------

End of [majordomo-users] The daily digest for Majordomo-Users V9 #48
**********
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic