<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.17420"><!--[if !mso]>
<STYLE>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</STYLE>
<![endif]-->
<STYLE><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Courier New";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US link=blue vLink=purple>
<DIV dir=ltr align=left><SPAN class=036441121-02122014></SPAN><FONT 
face=Arial><FONT color=#0000ff><FONT size=2>L<SPAN 
class=036441121-02122014>ooking through the code I kind of wonder if this is an 
uninteded consequence of the MailScanner.conf 
line:</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=036441121-02122014>&nbsp;&nbsp;&nbsp; Place New Headers At Top Of 
Message</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=036441121-02122014></SPAN><SPAN 
class=036441121-02122014></SPAN><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>H<SPAN class=036441121-02122014>ow is yours 
set?</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=036441121-02122014></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=036441121-02122014>The ReplaceHeader function does not do a delete if that 
options is set to yes near as I can tell by</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=036441121-02122014>&nbsp;&nbsp;&nbsp; # DKIM: Don't do DeleteHeader if 
only adding headers at top<BR>&nbsp;&nbsp;&nbsp; 
$this-&gt;DeleteHeader($message, $key) unless 
$message-&gt;{dkimfriendly};</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=036441121-02122014></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><BR></DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> mailscanner-bounces@lists.mailscanner.info 
[mailto:mailscanner-bounces@lists.mailscanner.info] <B>On Behalf Of </B>Kevin 
Miller<BR><B>Sent:</B> Tuesday, December 02, 2014 3:19 PM<BR><B>To:</B> 
'MailScanner discussion'<BR><B>Subject:</B> RE: Bounces from 
Yahoo<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Courier New"; COLOR: #1f497d'>In my case, 
sendmail.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Courier New"; COLOR: #1f497d'><o:p>&nbsp;</o:p></SPAN></P>
<DIV>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 10pt; FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d'>...Kevin<BR>--<BR>Kevin 
Miller<BR>Network/email Administrator, CBJ MIS Dept.<BR>155 South Seward 
Street<BR>Juneau, Alaska 99801<BR>Phone: (907) 586-0242, Fax: (907) 
586-4500<BR>Registered Linux User No: 307357</SPAN><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d'> 
<o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Courier New"; COLOR: #1f497d'><o:p>&nbsp;</o:p></SPAN></P>
<DIV 
style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0in; PADDING-TOP: 0in; PADDING-LEFT: 4pt; BORDER-LEFT: blue 1.5pt solid; PADDING-RIGHT: 0in">
<DIV>
<DIV 
style="BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0in; PADDING-TOP: 3pt; PADDING-LEFT: 0in; BORDER-LEFT: medium none; PADDING-RIGHT: 0in">
<P class=MsoNormal><B><SPAN 
style='FONT-SIZE: 10pt; FONT-FAMILY: "Tahoma","sans-serif"'>From:</SPAN></B><SPAN 
style='FONT-SIZE: 10pt; FONT-FAMILY: "Tahoma","sans-serif"'> 
mailscanner-bounces@lists.mailscanner.info 
[mailto:mailscanner-bounces@lists.mailscanner.info] <B>On Behalf Of </B>Rick 
Cooper<BR><B>Sent:</B> Tuesday, December 02, 2014 11:07 AM<BR><B>To:</B> 
'MailScanner discussion'<BR><B>Subject:</B> RE: Bounces from 
Yahoo<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 10pt; FONT-FAMILY: "Arial","sans-serif"; COLOR: blue'>This was 
supposedly addressed in 2009 by Jules see:</SPAN><o:p></o:p></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 10pt; FONT-FAMILY: "Arial","sans-serif"; COLOR: blue'><A 
href="http://lists.mailscanner.info/pipermail/mailscanner/2009-September/093185.html">http://lists.mailscanner.info/pipermail/mailscanner/2009-September/093185.html</A></SPAN><o:p></o:p></P>
<P class=MsoNormal>&nbsp;<o:p></o:p></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 10pt; FONT-FAMILY: "Arial","sans-serif"; COLOR: blue'>But that 
was exim specific, what MTA is involved here?</SPAN><o:p></o:p></P>
<P class=MsoNormal>&nbsp;<o:p></o:p></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 10pt; FONT-FAMILY: "Arial","sans-serif"; COLOR: blue'>Rick</SPAN><o:p></o:p></P>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center SIZE=2 width="100%">
</DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><SPAN 
style='FONT-SIZE: 10pt; FONT-FAMILY: "Tahoma","sans-serif"'>From:</SPAN></B><SPAN 
style='FONT-SIZE: 10pt; FONT-FAMILY: "Tahoma","sans-serif"'> <A 
href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</A> 
[<A 
href="mailto:mailscanner-bounces@lists.mailscanner.info">mailto:mailscanner-bounces@lists.mailscanner.info</A>] 
<B>On Behalf Of </B>Jeremy McSpadden<BR><B>Sent:</B> Tuesday, December 02, 2014 
2:50 PM<BR><B>To:</B> MailScanner discussion<BR><B>Subject:</B> Re: Bounces from 
Yahoo</SPAN><o:p></o:p></P>
<DIV>
<P class=MsoNormal>The reason is double subject lines.&nbsp;<BR><BR>--<BR>Jeremy 
McSpadden<BR>Flux Labs |&nbsp;<A 
href="http://www.fluxlabs.net/">http://www.fluxlabs.net</A>&nbsp;| Endless 
Solutions<BR>Office :&nbsp;<A 
href="tel:850-250-5590;501">850-250-5590x501</A>&nbsp;| Cell :&nbsp;<A 
href="tel:850-890-2543">850-890-2543</A>&nbsp;| Fax :&nbsp;<A 
href="tel:850-254-2955">850-254-2955</A><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><BR>On Dec 2, 2014, at 1:24 PM, 
Kevin Miller &lt;<A 
href="mailto:kevin.miller@juneau.org">kevin.miller@juneau.org</A>&gt; 
wrote:<o:p></o:p></P></DIV>
<BLOCKQUOTE style="MARGIN-BOTTOM: 5pt; MARGIN-TOP: 5pt">
  <DIV>
  <P class=MsoNormal>Every now and then, my users will send to Yahoo and the 
  mail bounces. &nbsp;The cause is duplicate subject headers.<BR><BR><A 
  href="mailto:SOMEONE@yahoo.com">SOMEONE@yahoo.com</A> on 12/1/2014 3:52 
  PM<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Diagnostic 
  code = NoDiagnostic; Reason code = TransferFailed; Status code = 
  500<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<A 
  href="http://mta7.am0.yahoodns.net">mta7.am0.yahoodns.net</A> #5.0.0 SMTP; 554 
  Message not allowed - Headers are not RFC compliant[291]&gt;<BR><BR>There's a 
  similar thread over in the Baruwa neighborhood, but apparently it's a 
  MailScanner bug. &nbsp;They mention a fix over there but I don't know that 
  it's made it to github for MailScanner yet.<BR><BR><A 
  href="http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-compliant-td4027435.html">http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-compliant-td4027435.html</A><BR><BR>Anyone 
  else having this issue? &nbsp;Any patch files out for it?<BR><BR>Running 
  on:<BR>Linux <A href="http://smtp.ci.juneau.ak.us">smtp.ci.juneau.ak.us</A> 
  2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT 2014 x86_64 x86_64 x86_64 
  GNU/Linux<BR>This is CentOS release 5.11 (Final)<BR>This is Perl version 
  5.008008 (5.8.8)<BR><BR>This is MailScanner version 
  4.84.5<BR><BR>...Kevin<BR>--<BR>Kevin Miller<BR>Network/email Administrator, 
  CBJ MIS Dept.<BR>155 South Seward Street<BR>Juneau, Alaska 99801<BR>Phone: 
  (907) 586-0242, Fax: (907) 586-4500<BR>Registered Linux User No: 307357 
  <BR><BR><BR>-- <BR>MailScanner mailing list<BR><A 
  href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</A><BR><A 
  href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</A><BR><BR>Before 
  posting, read <A 
  href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</A><BR><BR>Support 
  MailScanner development - buy the book off the website! 
<o:p></o:p></P></DIV></BLOCKQUOTE></DIV></DIV></BODY></HTML>