[Users] Notifier not sending as correct user

Maurice James midnightsteel at msn.com
Sun Mar 2 15:38:06 UTC 2014


Here is a snapshot of my ovirt-engine-notifier.conf. The notification messages are coming as ovirt at serverhostname.com. I ran find . -type f -print | xargs grep -l "ovirt at serverhostname.com" 2>/dev/null and nothing came back. Then I ran find . -type f -print | xargs grep -l "infrastructure at mydomain.com" 2>/dev/null and  ./ovirt-engine-notifier.conf was returned


# The SMTP mail server address. Required.
MAIL_SERVER=mymailserver.mydomain.com

# The SMTP port (usually 25 for plain SMTP, 465 for SMTP with SSL, 587 for SMTP with TLS)
MAIL_PORT=25
# Required if SSL or TLS enabled to authenticate the user. Used also to specify 'from' user address if mail server
# supports, when MAIL_FROM is not set. Address is in RFC822 format
MAIL_USER=infrastructure

# Required to authenticate the user if mail server requires authentication or if SSL or TLS is enabled
SENSITIVE_KEYS="${SENSITIVE_KEYS},MAIL_PASSWORD"
MAIL_PASSWORD=############

# Indicates type of encryption (none, ssl or tls) should be used to communicate with mail server.
MAIL_SMTP_ENCRYPTION=none

# If set to true, sends a message in HTML format.
HTML_MESSAGE_FORMAT=true

# Specifies 'from' address on sent mail in RFC822 format, if supported by mail server.
MAIL_FROM=infrastructure at mydomain.com

# Specifies 'reply-to' address on sent mail in RFC822 format.
MAIL_REPLY_TO=DoNotReply at mydomain.com

# Amount of days to keep dispatched events on history table. If 0, events remain on history table.
DAYS_TO_KEEP_HISTORY=0


-----Original Message-----
From: Mooli Tayer [mailto:mtayer at redhat.com] 
Sent: Sunday, March 02, 2014 7:34 AM
To: Maurice James
Cc: Eli Mesika; users at ovirt.org
Subject: Re: [Users] Notifier not sending as correct user

----- Original Message -----
> CCing Mooli w3hi is in charge o0f the notifier code
> 
> ----- Original Message -----
> > From: "Maurice James" <midnightsteel at msn.com>
> > To: users at ovirt.org
> > Sent: Friday, February 28, 2014 4:35:51 AM
> > Subject: Re: [Users] Notifier not sending as correct user
> > 
> > I forgot to add that im using version 3.4.0-0.9.beta3.el6
> > 
> > 
> > From: midnightsteel at msn.com
> > To: users at ovirt.org
> > Date: Thu, 27 Feb 2014 21:33:35 -0500
> > Subject: [Users] Notifier not sending as correct user
> > 
> > I set up the engine notifier to send notifications, but when the 
> > email is delivered they are coming from ovirt at hostname.domain 
> > instead of the address that I have specified in the MAIL_USER and 
> > MAIL_FROM section of the ovirt-engine-notifier.conf file

Hi,

I've tested on master and could reproduce this.
(that is, I have MAIL_FROM=kuku at example.com and that's the sender I get in messages)

Maybe try to grep for ovirt at hostname.domain in your configuration to see where it's coming from?

ps I will start going over this list now.


> > 
> > _______________________________________________ Users mailing list 
> > Users at ovirt.org http://lists.ovirt.org/mailman/listinfo/users
> > 
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 



More information about the Users mailing list