+2006-01-17 David Levine <levinedl@acm.org>
+
+ * uip/mhbuild.c, uip/mhbuildsbr.c, man/mhbuild.man: added
+ -nocontentid switch, to disable generation of Content-ID:
+ header in MIME messages. (Also added -contentid for
+ symmetry.) The default configuration of Microsoft Outlook,
+ Build 10.0.3416, in particular, doesn't see attachments in
+ incoming messages if there are Content-ID headers, see
+ http://home.cwru.edu/~wrv/eudoraoutlookfix.html. This allows
+ users to easily accomodate that by adding
+ mhbuild: -nocontentid to their .mh_profile.
+
2006-01-29 Oliver Kiddle <okiddle@yahoo.co.uk>
* bug 4360: uip/replsbr.c: remove trailing newlines from components
.RB [ \-headers " | " \-noheaders ]
.RB [ \-ebcdicsafe " | " \-noebcdicsafe ]
.RB [ \-rfc934mode " | " \-norfc934mode ]
+.RB [ \-contentid " | " \-nocontentid ]
.RB [ \-verbose " | " \-noverbose ]
.RB [ \-check " | " \-nocheck ]
.RB [ \-version ]
.PP
By default,
.B mhbuild
-will generate a unique \*(lqContent-ID:\*(rq for
-each directive; however, the user may override this by defining the ID
-using the \*(lq<\*(rq and \*(lq>\*(rq characters.
+will generate a unique \*(lqContent-ID:\*(rq for each directive,
+corresponding to each message part; however, the user may override
+this by defining the ID using the \*(lq<\*(rq and \*(lq>\*(rq
+characters. The
+.B \-nocontentid
+switch suppresses creation of all \*(lqContent-ID:\*(rq headers,
+even in the top level of the message.
.PP
In addition to the various directives, plaintext can be present.
Plaintext is gathered, until a directive is found or the draft is
.RB ` \-headers '
.RB ` \-realsize '
.RB ` \-norfc934mode '
+.RB ` \-contentid '
.RB ` \-nocheck '
.RB ` \-noebcdicsafe '
.RB ` \-noverbose '
{ "rcache policy", 0 },
#define WCACHESW 15
{ "wcache policy", 0 },
-#define VERSIONSW 16
+#define CONTENTIDSW 16
+ { "contentid", 0 },
+#define NCONTENTIDSW 17
+ { "nocontentid", 0 },
+#define VERSIONSW 18
{ "version", 0 },
-#define HELPSW 17
+#define HELPSW 19
{ "help", 0 },
-#define DEBUGSW 18
+#define DEBUGSW 20
{ "debug", -5 },
{ NULL, 0 }
};
int ebcdicsw = 0;
int listsw = 0;
int rfc934sw = 0;
+int contentidsw = 1;
/*
* Temporary files
sizesw = 0;
continue;
+ case CONTENTIDSW:
+ contentidsw = 1;
+ continue;
+ case NCONTENTIDSW:
+ contentidsw = 0;
+ continue;
+
case VERBSW:
verbosw++;
continue;
extern int ebcdicsw;
extern int listsw;
extern int rfc934sw;
+extern int contentidsw;
extern int endian; /* mhmisc.c */
add_header (ct, np, vp);
/*
- * output the Content-ID
+ * output the Content-ID, unless disabled by -nocontentid
*/
- if (ct->c_id) {
+ if (contentidsw && ct->c_id) {
np = add (ID_FIELD, NULL);
vp = concat (" ", ct->c_id, NULL);
add_header (ct, np, vp);