Xymon Mailing List Archive search

How do I change the "mail from" for email alerts?

list Xymon User in Richmond
Thu, 4 Jun 2009 20:30:52 -0400
Message-Id: <user-1e1cb39351c1@xymon.invalid>

On Thu, June 4, 2009 12:33, Harold J. Ballinger wrote:
My /var/spool/exim4/msglog is filling up with messages similar to the
following:

2009-06-04 12:26:17 Received from hobbit@ U=hobbit P=local S=929
2009-06-04 12:26:33 user-d5cf6b2f7d35@xymon.invalid <user-d5cf6b2f7d35@xymon.invalid> 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 Process failed (1) when writing error message to hobbit@ (frozen)


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.

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:
user-5c8ec6c92842@xymon.invalid<mailto:user-5c8ec6c92842@xymon.invalid>" in /etc/email-addresses

I'm not a *nix guru by any means, and I'm sure this is something simple
that I'm missing?
By default, user at hostname will be used by Exim.  Is hostname set on the
system?  IE, does the hostname command return anything?  Alternatively, I
think you can set primary_hostname in /etc/mail/exim.conf.  As another
pointed out, if you tell us what OS we'll be better able to help.