Article View: news.software.nntp
Article #36501Re: Duplicate "Content-Transfer-Encoding" header
From: Per Hedeland
Date: Tue, 13 Apr 1999 00:00
Date: Tue, 13 Apr 1999 00:00
63 lines
2587 bytes
2587 bytes
In article <7et2k9$rk8$1@niobium.hgmp.mrc.ac.uk> ggibbs@hgmp.mrc.ac.uk
(Geoff Gibbs) writes:
>I have a mail/news gateway running, using the mailpost/news2mail
>software which comes with INN 2.2.
>It is being fed from sendmail 8.9.1a
>
>I am seeing the error message :-
>
>post failed Duplicate "Content-Transfer-Encoding" header
Upgrade to sendmail 8.9.3 + the patch below. Of course the duplicate
header may have been introduced *before* the message arrived at *your*
sendmail, in which case this won't help - but at least your sendmail
won't be the cause.
--Per Hedeland
per@erix.ericsson.se
*** sendmail-8.9.3/src/headers.c.ORIG Tue Jan 26 15:54:50 1999
--- sendmail-8.9.3/src/headers.c Tue Mar 16 20:43:31 1999
***************
*** 1369,1375 ****
/*
** If we are converting this to a MIME message, add the
! ** MIME headers.
*/
#if MIME8TO7
--- 1369,1375 ----
/*
** If we are converting this to a MIME message, add the
! ** MIME headers (but not in MIME mode!).
*/
#if MIME8TO7
***************
*** 1377,1386 ****
bitset(EF_HAS8BIT, e->e_flags) &&
!bitset(EF_DONT_MIME, e->e_flags) &&
!bitnset(M_8BITS, mci->mci_mailer->m_flags) &&
! !bitset(MCIF_CVT8TO7|MCIF_CVT7TO8, mci->mci_flags))
{
! if (hvalue("MIME-Version", e->e_header) == NULL)
! putline("MIME-Version: 1.0", mci);
if (hvalue("Content-Type", e->e_header) == NULL)
{
snprintf(obuf, sizeof obuf,
--- 1377,1386 ----
bitset(EF_HAS8BIT, e->e_flags) &&
!bitset(EF_DONT_MIME, e->e_flags) &&
!bitnset(M_8BITS, mci->mci_mailer->m_flags) &&
! !bitset(MCIF_CVT8TO7|MCIF_CVT7TO8|MCIF_INMIME, mci->mci_flags) &&
! hvalue("MIME-Version", e->e_header) == NULL)
{
! putline("MIME-Version: 1.0", mci);
if (hvalue("Content-Type", e->e_header) == NULL)
{
snprintf(obuf, sizeof obuf,
Technical Details
Message-ID:
<7eu67f$p6b$1@news.du.etx.ericsson.se>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.sendmail.mbox.zip!not-for-mailReferences:
<7et2k9$rk8$1@niobium.hgmp.mrc.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <7eu67f$p6b$1@news.du.etx.ericsson.se> Subject: Re: Duplicate "Content-Transfer-Encoding" header Date: Tue, 13 Apr 1999 00:00:00 +0000 From: per@erix.ericsson.se (Per Hedeland) References: <7et2k9$rk8$1@niobium.hgmp.mrc.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.sendmail.mbox.zip!not-for-mail X-Deja-AN: 465702122 Organization: Ericsson Utvecklings AB, Stockholm, Sweden Newsgroups: news.software.nntp,comp.mail.sendmail NNTP-Posting-User: per