I have a feeling the machine I ran the telnet from can not deliver the email but as in the message below it did accept everything i put in the command.<div><br></div><div><br><br><div class="gmail_quote">On Tue, Oct 2, 2012 at 11:59 AM, Ralph Mitchell <span dir="ltr"><<a href="mailto:ralphmitchell@gmail.com" target="_blank">ralphmitchell@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The sequence appears to be<div><br></div><div>HELO <a href="http://server.domain.com" target="_blank">server.domain.com</a></div>

<div>MAIL FROM: <a href="mailto:me@here.com" target="_blank">me@here.com</a></div><div>RCPT TO: <a href="mailto:you@there.com" target="_blank">you@there.com</a></div>
<div>DATA</div><div>Subject: this is the subject line</div><div>first line of message</div><div>second line of message</div><div>.</div><div>QUIT</div><div><br></div><div><br></div><div>I just tried that, and it delivered. with the Subject line among the headers.  Odd, but it worked...</div>

<span class="HOEnZb"><font color="#888888">
<div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">Ralph Mitchell</font></span><div><div class="h5"><br><br><br><div class="gmail_quote">On Tue, Oct 2, 2012 at 11:45 AM, Ray Reuter <span dir="ltr"><<a href="mailto:ray.reuter@gmail.com" target="_blank">ray.reuter@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>Tried it without the quotes a second ago as well.</div><div><div><br></div><div>250 2.1.5 Ok</div>
<div>SUBJECT: xymon</div></div><div><div>221 2.7.0 Error: I can break rules, too. Goodbye.</div><div>Connection closed by foreign host.</div>

<div><br></div><br></div><div><div><div class="gmail_quote">On Tue, Oct 2, 2012 at 11:44 AM, Ralph Mitchell <span dir="ltr"><<a href="mailto:ralphmitchell@gmail.com" target="_blank">ralphmitchell@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Copy for the list, because I forget to select "Reply to All":<div><br></div><div><div>I think you probably should not have quotes around that Subject line.<div><br></div><div>Ralph Mitchell</div></div>

<div><br><br><div class="gmail_quote"><div>
On Tue, Oct 2, 2012 at 11:29 AM, Ray Reuter <span dir="ltr"><<a href="mailto:ray.reuter@gmail.com" target="_blank">ray.reuter@gmail.com</a>></span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div>
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.<div><br><div><div>[root@xxxcacti2 ~]# telnet <a href="http://XXXXXXXX.xxx.com" target="_blank">XXXXXXXX.xxx.com</a> 25</div>







<div>Trying 10.1.72.168...</div><div>Connected to <a href="http://XXXXXXXXX.xxx.com" target="_blank">XXXXXXXXX.xxx.com</a> (xx.xx.x.x).</div><div>Escape character is '^]'.</div><div>220 <a href="http://XXXXXXXXX.lvh.com" target="_blank">XXXXXXXXX.lvh.com</a> ESMTP Postfix</div>







<div>helo <a href="http://XXXXXXXXXX.lvh.com" target="_blank">XXXXXXXXXX.lvh.com</a></div><div>250 <a href="http://XXXXXXX.lvh.com" target="_blank">XXXXXXX.lvh.com</a></div><div>MAIL FROM: <a href="mailto:raymond.reuter@xxx.com" target="_blank">raymond.reuter@xxx.com</a></div>







<div>250 2.1.0 Ok</div><div>RCPT TO: <a href="mailto:xymon@xxxxxxx.xxx.com" target="_blank">xymon@xxxxxxx.xxx.com</a></div><div>250 2.1.5 Ok</div><div>"SUBJECT: Xymon"</div><div>221 2.7.0 Error: I can break rules, too. Goodbye.</div>







<div>Connection closed by foreign host.</div></div><div><br></div><div>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.</div>







<div><br></div><div><div>drwxr-xr-x.  2 xymon xymon  4096 Oct  2 11:02 Mailbox</div><div>-rw-r--r--.  1 xymon xymon     0 Oct  1 12:15 procmail.log</div><div>-rwxr-xr-x.  1 xymon xymon   124 Oct  2 11:04 .procmailrc</div>







</div><div><br></div><div>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.</div>







<div><br></div><div>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.</div><div><div><div><br></div><div><br></div>
<div><br></div><div>

<br></div><div><br><br><div class="gmail_quote">On Tue, Oct 2, 2012 at 1:58 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>On 2 October 2012 02:46, Ray Reuter <span dir="ltr"><<a href="mailto:ray.reuter@gmail.com" target="_blank">ray.reuter@gmail.com</a>></span> wrote:<br>







</div><div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I am using Centos 6.2</blockquote><div><br></div></div><div>By default Centos (aka Red Hat) v6 boxes run postfix (rather than Sendmail).</div><div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









<div>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.</div><div></div></blockquote><div><br></div></div><div>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.</div>









<div><br></div><div>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.</div>







<div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>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.</div>









</blockquote><div><br></div></div><div>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.</div>







<span><font color="#888888">

<div><br></div><div>J</div><div><br></div></font></span></div>
</blockquote></div><br></div></div></div></div>
<br></div></div><div>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">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></div></blockquote></div><br></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>