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

List:       kolab-users
Subject:    Re: Message from customer keeps getting marked bad header
From:       Jerry Pommer <jpommer () bynari ! net>
Date:       2012-09-13 18:24:10
Message-ID: 505224CA.2060006 () bynari ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 09/13/2012 10:42 AM, Jeffrey Walls wrote:
>
> We have a very important customer who is getting pissed off that all 
> his PO's sent from his ERP system keep getting bounced.
>
> The issue is both our CSR and his person sending the PO are both on 
> the To: line.
>
> He gets a bounce message:
>
>       Subject:  Purchase Order from XXXXXXX XXXXXX Company: PO#300003466
>
>       Sent:     9/13/2012 11:26 AM
>
> The following recipient(s) cannot be reached:
>
> jwalls@/browntransmission/.com <mailto:jwalls@browntransmission.com> 
> on 9/13/2012 11:27 AM
>
>             The message contains a content type that is not supported
>
>             < kolab.browntransmission.com #5.6.0 smtp; 554-5.6.0 
> Reject, id=03482-10 - BAD_HEADER: Duplicate 554 5.6.0 header field: "To">
>
> In the actual badh file this is part of the header:
>
> X-OptioDCS-Version: 7.7.3
>
> MIME-Version: 1.0
>
> Content-Type: multipart/mixed; boundary="==========_1347550011==_"
>
> Date: Thu, 13 Sep 2012 11:26 EDT
>
> From: brian.xxxxx@xxxxx.com
>
> To: jwalls@browntransmission.com
>
> To: brian.xxxxx@xxxxxx.com
>
> Is there any way to allow this error or simply not check for it? I can 
> send the PO, but that doesn't solve the issue, and if I am not here we 
> are back to square one.
>
>

Jeffrey,

Quick and easy way, edit 
/kolab/etc/kolab/templates/amavisd.conf.template and find this line:

$final_bad_header_destiny = D_BOUNCE;  # (defaults to D_PASS), D_BOUNCE 
suggested

My example is set to D_BOUNCE, and yours probably is too. If you change 
that to D_PASS instead the message should be delivered, if possible. Bad 
headers are bad headers though, so you can't always be sure of what will 
happen.

Jerry

[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      <br>
      On 09/13/2012 10:42 AM, Jeffrey Walls wrote:<br>
    </div>
    <blockquote cite="mid:00cc01cd91c6$54c23be0$fe46b3a0$@com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
@font-face
	{font-family:Webdings;
	panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
	{font-family:Times;
	panose-1:2 2 6 3 5 4 5 2 3 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-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
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
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-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
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;}
@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]-->
      <div class="WordSection1">
        <p class="MsoNormal">We have a very important customer who is
          getting pissed off that all his PO&#8217;s sent from his ERP system
          keep getting bounced.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">The issue is both our CSR and his person
          sending the PO are both on the To: line.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">He gets a bounce message:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p><span style="font-family:Consolas">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
                Subject:&nbsp; Purchase
            Order from XXXXXXX XXXXXX Company: PO#300003466</span><o:p></o:p></p>
        <p><span style="font-family:Consolas">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Sent:&nbsp;&nbsp;&nbsp;&nbsp; 9/13/2012  11:26 AM</span><o:p></o:p></p>
        <p><span style="font-family:Consolas">The following recipient(s)
            cannot be reached:</span><o:p></o:p></p>
        <p><span style="font-family:Consolas">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a
              moz-do-not-send="true"
              href="mailto:jwalls@browntransmission.com">jwalls@<i>browntransmission</i>.com</a>
  on 9/13/2012 11:27 AM</span><o:p></o:p></p>
        <p><span style="font-family:Consolas">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
                The message
            contains a content type that is not supported</span><o:p></o:p></p>
        <p><span style="font-family:Consolas">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;  kolab.browntransmission.com #5.6.0 smtp; 554-5.6.0 Reject,
            id=03482-10 - BAD_HEADER: Duplicate 554 5.6.0 header field:
            "To"&gt;<o:p></o:p></span></p>
        <p><span style="font-family:Consolas">In the actual badh file
            this is part of the header:<o:p></o:p></span></p>
        <p><span style="font-family:Consolas">X-OptioDCS-Version: \
                7.7.3<o:p></o:p></span></p>
        <p><span style="font-family:Consolas">MIME-Version: 1.0<o:p></o:p></span></p>
        <p><span style="font-family:Consolas">Content-Type:
            multipart/mixed; \
boundary="==========_1347550011==_"<o:p></o:p></span></p>  <p><span \
style="font-family:Consolas">Date: Thu, 13 Sep 2012  11:26 EDT<o:p></o:p></span></p>
        <p><span style="font-family:Consolas">From:
            <a class="moz-txt-link-abbreviated" \
href="mailto:brian.xxxxx@xxxxx.com">brian.xxxxx@xxxxx.com</a><o:p></o:p></span></p>  \
                <p><span style="font-family:Consolas">To:
            <a class="moz-txt-link-abbreviated" \
href="mailto:jwalls@browntransmission.com">jwalls@browntransmission.com</a><o:p></o:p></span></p>
  <p><span style="font-family:Consolas">To: <a class="moz-txt-link-abbreviated" \
href="mailto:brian.xxxxx@xxxxxx.com">brian.xxxxx@xxxxxx.com</a><o:p></o:p></span></p> \
<p><o:p>&nbsp;</o:p></p>  <p>Is there any way to allow this error or simply not check \
                for
          it? I can send the PO, but that doesn&#8217;t solve the issue, and
          if I am not here we are back to square one.<o:p></o:p></p>
        <br>
      </div>
    </blockquote>
    <br>
    Jeffrey,<br>
    <br>
    Quick and easy way, edit
    /kolab/etc/kolab/templates/amavisd.conf.template and find this line:<br>
    <br>
    $final_bad_header_destiny = D_BOUNCE;&nbsp; # (defaults to D_PASS),
    D_BOUNCE suggested<br>
    <br>
    My example is set to D_BOUNCE, and yours probably is too. If you
    change that to D_PASS instead the message should be delivered, if
    possible. Bad headers are bad headers though, so you can't always be
    sure of what will happen.<br>
    <br>
    Jerry<br>
  </body>
</html>



_______________________________________________
Kolab-users mailing list
Kolab-users@kolab.org
https://www.intevation.de/mailman/listinfo/kolab-users

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

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