[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
- Subject: Re: [hobbit] How do I change the "mail from" for email alerts?
- From: J Sloan <joe (at) tmsusa.com>
- Date: Thu, 04 Jun 2009 12:15:52 -0700
- References: <833FE11B4A07FD4789F720B6F915124F0781871FF5 (at) HHCGVL-COMM01>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090318 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
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 it (at) mydomain.com <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 (at) â, 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?
>
Did you adjust the relevant section of ~/server/etc/hobbitserver.cfg to
suit your needs?
# For the hobbitd_alert module
MAILC="mail -r xymon (at) mydomain.com" # Command to send an e-mail with
no subject
MAIL="$MAILC -r xymon (at) domain.com -s" # Command to send an e-mail with
a subject
Joe