We had similar problem about a year ago.  We moved our xymon server from fedora core 3 to SLES 11.  
Fedora used mail and SLES 11 mail is linked to mailx.  The windows 
clients were sending carriage returns in the status ^M (carriage 
return).  The problem occured on SuSe server 
but not on redhat server, because mailx expects input text to be in Unix
 format, with lines separated by <i>newline</i> (^J, \n) characters only. Non-Unix text files that use
<i>carriage return</i> (^M, \r) characters in addition will be treated 
as binary data.  Hence the reason we get notifications that showed up as 
attachments. Also explains why our  AIX servers didn't have the problem and 
the windows servers did.  We tried creating a filter by setting  MAILC="tr -d '\015' but had problems.  We didn't spend much time on it.  We switched to mutt.  MAILC="/usr/local/bin/mutt".  Problem went away. <br>
<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 2:04 PM, Herbert, Francois <span dir="ltr"><<a href="mailto:F.Herbert@massey.ac.nz" target="_blank">F.Herbert@massey.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div style="word-wrap:break-word">
All my HTTP recovered alerts have attachments which just contain the output of the http test, not sure why, I've just put up with it….
<div>(xymon-4.3.10 running on rhel6.2 which uses mailx as mail)</div>
<div><br>
</div>
<div><br>
<div><div><div class="h5">
<div>On 13/12/2012, at 11:08 PM, <a href="mailto:F.Reenders@utwente.nl" target="_blank">F.Reenders@utwente.nl</a> wrote:</div>
<br>
</div></div><blockquote type="cite">
<div link="blue" vlink="purple" style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" lang="NL">
<div><div class="h5">
<div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">I only noticed this .<span>dat</span><span> </span><span>attachement</span><span> </span>in
 the<span> </span><span>smtp</span><span> </span>test alert by the way.<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Regards,<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Frederik<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span lang="EN-US"> </span></div>
<div>
<div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(181,196,223);padding:3pt 0cm 0cm">
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<b><span style="font-size:10pt;font-family:Tahoma,sans-serif" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif" lang="EN-US"><span> </span><a href="mailto:xymon-bounces@xymon.com" style="color:purple;text-decoration:underline" target="_blank">xymon-bounces@xymon.com</a><span> </span>[mailto:<a href="mailto:xymon-" target="_blank">xymon-</a><a href="mailto:bounces@xymon.com" style="color:purple;text-decoration:underline" target="_blank">bounces@xymon.com</a>]<span> </span><b>On
 Behalf Of<span> </span></b><a href="mailto:F.Reenders@utwente.nl" style="color:purple;text-decoration:underline" target="_blank">F.Reenders@utwente.nl</a><br>
<b>Sent:</b><span> </span>donderdag 13 december 2012 9:50<br>
<b>To:</b><span> </span><a href="mailto:ejacobs@thomaspublishing.com" style="color:purple;text-decoration:underline" target="_blank">ejacobs@thomaspublishing.com</a>;<span> </span><a href="mailto:xymon@xymon.com" style="color:purple;text-decoration:underline" target="_blank">xymon@xymon.com</a><br>

<b>Subject:</b><span> </span>Re: [Xymon] DAT attachments?<u></u><u></u></span></div>
</div>
</div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<u></u> <u></u></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi,<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">I think this is the issue(from the man page of mailx on centos 6.3:<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">“Mailx<span> <span> </span></span>expects input text to be in Unix format, with lines sepa-<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>      <span> </span></span>rated by newline (^J, \n) characters only.<span> <span> </span></span>Non-Unix
 text<span> <span> </span></span>files<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>      <span> </span></span>that use carriage return (^M, \r) characters in addition will be<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>      <span> </span></span>treated as binary data; to send such files as text, strip<span> <span> </span></span>these<u></u><u></u></span></div>

<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>      <span> </span></span>characters e. g. by<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>             <span> </span></span>tr -d ’\015’ <input | mailx . . .<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"><span>      <span> </span></span>or fix the tools that generate them.”<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">There is a \r carriage return in the alert message. I noticed it before but got no reply on the list.<u></u><u></u></span></div>

<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">In previous mailx versions mailx did not convert it to binary data.<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Regards,<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">Frederik Reenders<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US">University of Twente<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<span lang="EN-US"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<b><span style="font-size:10pt;font-family:Tahoma,sans-serif" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif" lang="EN-US"><span> </span><a href="mailto:xymon-bounces@xymon.com" style="color:purple;text-decoration:underline" target="_blank">xymon-bounces@xymon.com</a><span> </span>[<a href="mailto:xymon-bounces@xymon.com" style="color:purple;text-decoration:underline" target="_blank">mailto:xymon-bounces@xymon.com</a>]<span> </span><b>On
 Behalf Of<span> </span></b>Eric Jacobs<br>
<b>Sent:</b><span> </span>woensdag 12 december 2012 21:52<br>
<b>To:</b><span> </span><a href="mailto:xymon@xymon.com" style="color:purple;text-decoration:underline" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b><span> </span>[Xymon] DAT attachments?<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<u></u> <u></u></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
Recently noved our Xymon server from a vm running CentOS 5.8 to physical server running CentOS 6.3. Most things work correctly but I'm seeing some of the email alerts having .dat attachments. Anyone know why, and how to fix this?<br clear="all">

<u></u><u></u></div>
<div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<u></u> <u></u></div>
</div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
--<span> </span><br>
Eric Jacobs<u></u><u></u></div>
<div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
Thomas Publishing Company<u></u><u></u></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
Infrastructure and operations<u></u><u></u></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
Information Technology Group<u></u><u></u></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
Phone: <a href="tel:215-494-7312" value="+12154947312" target="_blank">215-494-7312</a><u></u><u></u></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
Email:<span> </span><a href="mailto:ejacobs@thomaspublishing.com" style="color:purple;text-decoration:underline" target="_blank">ejacobs@thomaspublishing.com</a><u></u><u></u></div>
</div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<u></u> <u></u></div>
</div></div></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" style="color:purple;text-decoration:underline" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" style="color:purple;text-decoration:underline" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>