projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid MIMEing RFC1049 messages
[unix-history]
/
usr
/
src
/
usr.sbin
/
sendmail
/
src
/
usersmtp.c
diff --git
a/usr/src/usr.sbin/sendmail/src/usersmtp.c
b/usr/src/usr.sbin/sendmail/src/usersmtp.c
index
c118138
..
e18adb3
100644
(file)
--- a/
usr/src/usr.sbin/sendmail/src/usersmtp.c
+++ b/
usr/src/usr.sbin/sendmail/src/usersmtp.c
@@
-10,9
+10,9
@@
#ifndef lint
#ifdef SMTP
#ifndef lint
#ifdef SMTP
-static char sccsid[] = "@(#)usersmtp.c 8.5
5
(Berkeley) %G% (with SMTP)";
+static char sccsid[] = "@(#)usersmtp.c 8.5
6
(Berkeley) %G% (with SMTP)";
#else
#else
-static char sccsid[] = "@(#)usersmtp.c 8.5
5
(Berkeley) %G% (without SMTP)";
+static char sccsid[] = "@(#)usersmtp.c 8.5
6
(Berkeley) %G% (without SMTP)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
@@
-326,6
+326,7
@@
smtpmailfrom(m, mci, e)
if (bodytype == NULL &&
bitset(MM_MIME8BIT, MimeMode) &&
bitset(EF_HAS8BIT, e->e_flags) &&
if (bodytype == NULL &&
bitset(MM_MIME8BIT, MimeMode) &&
bitset(EF_HAS8BIT, e->e_flags) &&
+ !bitset(EF_DONT_MIME, e->e_flags) &&
!bitnset(M_8BITS, m->m_flags))
bodytype = "8BITMIME";
if (bodytype != NULL)
!bitnset(M_8BITS, m->m_flags))
bodytype = "8BITMIME";
if (bodytype != NULL)
@@
-341,6
+342,7
@@
smtpmailfrom(m, mci, e)
}
#if MIME8TO7
else if (bitset(MM_CVTMIME, MimeMode) &&
}
#if MIME8TO7
else if (bitset(MM_CVTMIME, MimeMode) &&
+ !bitset(EF_DONT_MIME, e->e_flags) &&
(!bitset(MM_PASS8BIT, MimeMode) ||
bitset(EF_IS_MIME, e->e_flags)))
{
(!bitset(MM_PASS8BIT, MimeMode) ||
bitset(EF_IS_MIME, e->e_flags)))
{