<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Harold J. Ballinger wrote:
<blockquote
 cite="mid:833FE11B4A07FD4789F720B6F915124F0781871FF5@HHCGVL-COMM01"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @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: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.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 Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
  </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="Section1">
  <p class="MsoNormal" style=""><span
 style="font-size: 9pt; font-family: "Courier New";">My
/var/spool/exim4/msglog is filling up with
messages similar to the following:<o:p></o:p></span></p>
  <p class="MsoNormal" style=""><span
 style="font-size: 9pt; font-family: "Courier New";"><o:p> </o:p></span></p>
  <p class="MsoNormal" style=""><span
 style="font-size: 9pt; font-family: "Courier New";">2009-06-04
12:26:17 Received from hobbit@ U=hobbit
P=local S=929<o:p></o:p></span></p>
  <p class="MsoNormal" style=""><span
 style="font-size: 9pt; font-family: "Courier New";">2009-06-04
12:26:33 <a class="moz-txt-link-abbreviated" href="mailto:it@mydomain.com">it@mydomain.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:IT@mydomain.com"><IT@mydomain.com></a>
R=dnslookup T=remote_smtp: SMTP error from remote mailer after MAIL
FROM:<hobbit@> SIZE=1973: host exchange.mydomain [10.10.10.21]:
501 5.5.4
Invalid Address<o:p></o:p></span></p>
  <p class="MsoNormal" style=""><span
 style="font-size: 9pt; font-family: "Courier New";">Process failed (1)
when writing error message to
hobbit@ (frozen)<o:p></o:p></span></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">I have reconfigured Exim4 to allow remote mail,
but I can’t
find a way to make the email alerts from hobbit/xymon use a different
“MAIL
FROM” than “hobbit@”, which our Exchange server knows is not
a valid address.<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">I have tried making sure that the hostname is
defined in the
bbserver config and that the domain is configured in resolv.conf. I
also tried
creating an entry for “hobbit: <a moz-do-not-send="true"
 href="mailto:hobbit@mydomain.com">hobbit@mydomain.com</a>”
in /etc/email-addresses<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">I’m not a *nix guru by any means, and I’m sure
this is something simple that I’m missing?</p>
  </div>
</blockquote>
<br>
<br>
Did you adjust the relevant section of ~/server/etc/hobbitserver.cfg to
suit your needs?<br>
<br>
<tt># For the hobbitd_alert module<br>
MAILC="mail -r <a class="moz-txt-link-abbreviated" href="mailto:xymon@mydomain.com">xymon@mydomain.com</a>"      # Command to send an e-mail
with no subject<br>
MAIL="$MAILC -r <a class="moz-txt-link-abbreviated" href="mailto:xymon@domain.com">xymon@domain.com</a> -s"    # Command to send an e-mail
with a subject</tt><br>
<br>
<br>
Joe
</body>
</html>