[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] How do I change the "mail from" for email alerts?
- To: "hobbit (at) hswn.dk" <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] How do I change the "mail from" for email alerts?
- From: "Harold J. Ballinger" <hballinger (at) heritage-healthcare.com>
- Date: Thu, 4 Jun 2009 15:07:44 -0400
- References: <833FE11B4A07FD4789F720B6F915124F0781871FF5 (at) HHCGVL-COMM01> <199afa060906041120v30f1b450i2971216f284865bc (at) mail.gmail.com>
I am using Exim4 (not sendmail) and I've gone through all of the man pages. I was hoping that it might be something where hobbit was the one passing/forcing the from address. The only discussion close to something like this was about setting /etc/email-addresses which I mentioned in my post and I have tried.
I just wanted to be sure that this was an Exim4 issue and not a hobbit configuration issue before I pushed it over completely into that arena.
Harold J. Ballinger, MCSE, MCNE
IT Coordinator
Heritage Healthcare, Inc.
536 Old Howell Rd, Greenville SC 29615
(888) 335-2620 | helpdesk
(864) 244-3626 | office
(864) 244-3093 | fax
[cid:image001.jpg@01C9E526.36CF8F20]
Visit our website: www.heritage-healthcare.com<http://www.heritage-healthcare.com/>
From: Larry Barber [mailto:lebarber (at) gmail.com]
Sent: Thursday, June 04, 2009 2:21 PM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] How do I change the "mail from" for email alerts?
You need to configure sendmail so that it will use an account that Exchange recognizes. See the sendmail man pages.
Thanks,
Larry Barber
On Thu, Jun 4, 2009 at 11:33 AM, Harold J. Ballinger <hballinger (at) heritage-healthcare.com<mailto:hballinger (at) heritage-healthcare.com>> 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 it (at) mydomain.com<mailto:it (at) mydomain.com> <IT (at) mydomain.com<mailto:IT (at) mydomain.com>> 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: hobbit (at) mydomain.com<mailto:hobbit (at) mydomain.com>" 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?