<html 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" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-GB" link="blue" vlink="purple">
<!--ppd46--><!--ppd54--><!--ppd56--><!--ppd50--><!--ppd55--><!--ppd48-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">After MAIL FROM & RCPT TO – you need a DATA command…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><br>
Carl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<br>
<br>
<span id="ppe_48">
<div style="WIDTH: 375px"><font face="Calibri">Carl Inglis </font> <font size="2" face="Calibri"><b><br>
Systems Administrator</b><br>
<br>
<b>Rakon UK Limited</b><br>
</font><font size="1" face="Calibri">Dowsett House, Sadler Road, Lincoln LN6 3RS, United Kingdom<br>
Tel: +44 (0)1522 812630 | Fax:+44 (0) 1522 812664 | Mob: +44 (0) 7786 552915</font><br>
<font color="#34b233" size="1" face="Calibri">Carl.Inglis@rakon.com | www.rakon.com</font></div>
</span><br>
<br>
<span id="ppe_55"><br>
<div style="TEXT-ALIGN: left; WIDTH: 100px"><img style="MARGIN: 0px" border="0" alt="The Queens Awards for Enterprise 2012" src="cid:39263337870d4b5396188cc276473f3f">
</div>
</span><br>
<br>
<span id="ppe_50"><br>
<div style="WIDTH: 375px"><img style="MARGIN: 0px" border="0" alt="Rakon Logo" src="cid:229394697e40474db8ec03f92913c1ec"></div>
</span><br>
<br>
<span id="ppe_56">
<div style="WIDTH: 375px"><font size="2" face="Calibri">We are an organisation committed to working towards accreditation for the Investors in People Standard.</font></div>
</span><br>
<br>
<span id="ppe_54">
<div style="WIDTH: 375px"><font size="1" face="Calibri"><br>
This message together with any attachments contains confidential information and may be<br>
subject to privilege. If you are not the intended recipient you may not distribute it in any<br>
way, you must notify the sender immediately and delete any copies of the message along<br>
with its attachments.</font></div>
</span><br>
<br>
<span id="ppe_46">
<div style="WIDTH: 375px"><font size="1" face="Verdana"><br>
<em>Rakon UK Ltd is a limited company registered in England and Wales. <br>
Registered Office: Dowsett House, Sadler Road, Lincoln LN6 3RS <br>
Company Registration Number: 5128090. <br>
<br>
Please be aware that Rakon UK Limited may monitor email traffic data<br>
including the date, time, subject line, sender and recipients for the <br>
purposes of security and usage monitoring. Automated monitoring <br>
systems may also be applied to ascertain whether incoming/outgoing <br>
emails are likely to contain viruses, other destructive devices or <br>
inappropriate content. </em></font></div>
</span>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> xymon-bounces@xymon.com [mailto:xymon-bounces@xymon.com]
<b>On Behalf Of </b>Ray Reuter<br>
<b>Sent:</b> 02 October 2012 16:30<br>
<b>To:</b> Jeremy Laidman<br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] xymon-mailack<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Well we are getting closer. I am now able to telnet to the server. I tried to send mail to the server but kicked off every time i try to do the subject line.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">[root@xxxcacti2 ~]# telnet <a href="http://XXXXXXXX.xxx.com">
XXXXXXXX.xxx.com</a> 25<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Trying 10.1.72.168...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Connected to <a href="http://XXXXXXXXX.xxx.com">XXXXXXXXX.xxx.com</a> (xx.xx.x.x).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Escape character is '^]'.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">220 <a href="http://XXXXXXXXX.lvh.com">XXXXXXXXX.lvh.com</a> ESMTP Postfix<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">helo <a href="http://XXXXXXXXXX.lvh.com">XXXXXXXXXX.lvh.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">250 <a href="http://XXXXXXX.lvh.com">XXXXXXX.lvh.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">MAIL FROM: <a href="mailto:raymond.reuter@xxx.com">raymond.reuter@xxx.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">250 2.1.0 Ok<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">RCPT TO: <a href="mailto:xymon@xxxxxxx.xxx.com">xymon@xxxxxxx.xxx.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">250 2.1.5 Ok<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">"SUBJECT: Xymon"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">221 2.7.0 Error: I can break rules, too. Goodbye.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Connection closed by foreign host.<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I have the .procmailrc file set up as per the xymon man page, still not sure if the "Mailbox" is a directory or file. and the directory structure of the xymon home directory looks like this.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">drwxr-xr-x.  2 xymon xymon  4096 Oct  2 11:02 Mailbox<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-rw-r--r--.  1 xymon xymon     0 Oct  1 12:15 procmail.log<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-rwxr-xr-x.  1 xymon xymon   124 Oct  2 11:04 .procmailrc<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">This feature is one of the most important to the company I work for and have been trying to get it to work for a couple of days now. We even added an MX record for the server so mail can be delivered to it directly. Telnet works locally
 and remote.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Any recommendations would be greatly appreciated, you have all been a huge help so far and this monitoring tool has done wonders for this company.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Oct 2, 2012 at 1:58 AM, Jeremy Laidman <<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal">On 2 October 2012 02:46, Ray Reuter <<a href="mailto:ray.reuter@gmail.com" target="_blank">ray.reuter@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">I am using Centos 6.2<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">By default Centos (aka Red Hat) v6 boxes run postfix (rather than Sendmail).<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">During my install I do not remember installing anything as the mail transport, but the alerting was working right out of the box from day one.<o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">Initially, postfix is configured so it won't accept SMTP connections from off the box.  So outbound emails will get sent OK, but incoming emails will not get delivered to the Xymon server.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Test this by attempting to telnet to the Xymon server on port 25 from another device, such as a Windows PC, with "telnet
<a href="http://xymon.server.name" target="_blank">xymon.server.name</a> 25".  If you get a "connection refused" or similar message, than you need to reconfigure Postfix to accept remote connections.<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">I followed the man page for the mailack and created everything as per the instructions, but I am not even sure the mail is reaching the server at this point.<o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">Probably not.  Have a look at the "STANDARD_CONFIGURATION_README" file that came with Postfix for instructions on setting things up, particularly the "Postfix on a local network" section.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">J<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><o:p> </o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>