<div dir="ltr"><div><div>Server OS is Ubuntu 12.04.2 LTS<br>$ dpkg -S /usr/bin/mail<br>dpkg-query: no path found matching pattern /usr/bin/mail.<br><br>This is a symlink so dpkg -S not showing the result. So checked the actual file which shows that mailutils owns this file. And MTA I am using is postfix.<br>

<br>$ ls -l /usr/bin/mail<br>lrwxrwxrwx 1 root root 22 Jan 13 09:39 /usr/bin/mail -> /etc/alternatives/mail<br>$ ls -l /etc/alternatives/mail<br>lrwxrwxrwx 1 root root 23 Jan 13 09:39 /etc/alternatives/mail -> /usr/bin/mail.mailutils<br>

$ dpkg -S /usr/bin/mail.mailutils<br>mailutils: /usr/bin/mail.mailutils<br><br></div>I am getting the RECOVERED mails properly but the SMS alerts on mobiles are blank which are in FORMAT=sms. I havent tried FORMAT=PLAIN, will give a try.<br>

</div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 1:19 PM, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What's the OS that Xymon is running on?<div><br></div><div>What mail system runs on the Xymon server?</div>

<div><br></div><div>Xymon will probably execute the binary /usr/bin/mail.  What is /usr/bin/mail?  Is it mailx or mutt or something else?  On RedHat/Fedora/Centos/SUSE you can type "rpm -qi -f /usr/bin/mail" to find out.  On Debian-based systems, try "dpkg -S /usr/bin/mail" to get the package name, and "dpkg -s <pkgname>" to get the details.  From the error message you gave, I suspect it is mailx.</div>




<div><br></div><div>Have you tried with FORMAT=PLAIN?</div><div><br></div><div>You could try setting MAIL and MAILC to use nail or mutt rather than mailx, if you have them installed, something like this:</div><div><br>
</div><div>MAILC="/usr/bin/nail"</div><div><br></div><div>Some folks have had problems with mailx not liking carriage-return characters.  Using nail should fix this, but this might also work:</div><div>

<br></div><div>MAILC="/usr/bin/tr -d '\\015' | mail"</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>J</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">

<br><br><div class="gmail_quote">On 23 May 2013 16:46, deepak deore <span dir="ltr"><<a href="mailto:deepakdeore2004@gmail.com" target="_blank">deepakdeore2004@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Yes, all 3 recipients have the same problem.<br>alert.log has "Null message body; hope that's ok" message.<br>



</div>I am using win7 with outlook 2010, MTA is amazon SES.<br></div><div><div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Thu, May 23, 2013 at 5:26 AM, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div dir="ltr"><div class="gmail_extra"><div>On 21 May 2013 22:06, deepak deore <span dir="ltr"><<a href="mailto:deepakdeore2004@gmail.com" target="_blank">deepakdeore2004@gmail.com</a>></span> wrote:<br>

<div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>HOST=$PRD SERVICE=* EXSERVICE=disk<br>        MAIL $ADMIN color=red,yellow REPEAT=20 RECOVERED NOTICE format=sms<br>







        MAIL $MANAGER color=red,yellow DURATION>20 REPEAT=20 RECOVERED NOTICE format=sms<br>
        MAIL <a href="mailto:mail@example.com" target="_blank">mail@example.com</a> color=red,yellow REPEAT=60 RECOVERED NOTICE<br></div></blockquote></div><br></div>Are all 3 recipients having the same problem?</div><div class="gmail_extra">







<br></div><div class="gmail_extra">Are there any interesting messages in the alert.log file?</div><div class="gmail_extra"><br></div><div class="gmail_extra">What OS are you using, and what mail client and MTA?</div><span><font color="#888888">

<div class="gmail_extra"><br></div><div class="gmail_extra">J</div><div class="gmail_extra"><br></div></font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>