[Users] Notifier not sending as correct user

--_2f5858ef-3c7f-4424-b4bf-b026cb9a3477_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I set up the engine notifier to send notifications=2C but when the email is= delivered they are coming from ovirt@hostname.domain instead of the addres= s that I have specified in the MAIL_USER and MAIL_FROM section of the ovirt= -engine-notifier.conf file = --_2f5858ef-3c7f-4424-b4bf-b026cb9a3477_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>I set up the engine notifier to = send notifications=2C but when the email is delivered they are coming from = ovirt@hostname.domain instead of the address that I have specified in the M= AIL_USER and MAIL_FROM section of the ovirt-engine-notifier.conf file = </div></body> </html>= --_2f5858ef-3c7f-4424-b4bf-b026cb9a3477_--

--_7a0da5ca-f3b3-4e96-a34d-b8b8ffe7aecf_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I forgot to add that im using version 3.4.0-0.9.beta3.el6 From: midnightsteel@msn.com To: users@ovirt.org Date: Thu=2C 27 Feb 2014 21:33:35 -0500 Subject: [Users] Notifier not sending as correct user =0A= =0A= =0A= I set up the engine notifier to send notifications=2C but when the email is= delivered they are coming from ovirt@hostname.domain instead of the addres= s that I have specified in the MAIL_USER and MAIL_FROM section of the ovirt= -engine-notifier.conf file =0A= _______________________________________________=0A= Users mailing list=0A= Users@ovirt.org=0A= http://lists.ovirt.org/mailman/listinfo/users = --_7a0da5ca-f3b3-4e96-a34d-b8b8ffe7aecf_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> </head> <body class=3D'hmmessage'><div dir=3D'ltr'>I forgot to add that im using ve= rsion =3B<span class=3D"gwt-InlineLabel">3.4.0-0.9.beta3.el6</span><br>= <br><div><hr id=3D"stopSpelling">From: midnightsteel@msn.com<br>To: users@o= virt.org<br>Date: Thu=2C 27 Feb 2014 21:33:35 -0500<br>Subject: [Users] Not= ifier not sending as correct user<br><br>=0A= =0A= <style><!--=0A= .hmmessage P=0A= {=0A= margin:0px=3B=0A= padding:0px=0A= }=0A= body.hmmessage=0A= {=0A= font-size: 12pt=3B=0A= font-family:Calibri=0A= }=0A= --></style>=0A= <div dir=3D"ltr">I set up the engine notifier to send notifications=2C but = when the email is delivered they are coming from ovirt@hostname.domain inst= ead of the address that I have specified in the MAIL_USER and MAIL_FROM sec= tion of the ovirt-engine-notifier.conf file </div>=0A= <br>_______________________________________________=0A= Users mailing list=0A= Users@ovirt.org=0A= http://lists.ovirt.org/mailman/listinfo/users</div> </div></body=
</html>= --_7a0da5ca-f3b3-4e96-a34d-b8b8ffe7aecf_--

CCing Mooli w3hi is in charge o0f the notifier code ----- Original Message -----
From: "Maurice James" <midnightsteel@msn.com> To: users@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@msn.com To: users@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@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
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
CCing Mooli w3hi is in charge o0f the notifier code
----- Original Message -----
From: "Maurice James" <midnightsteel@msn.com> To: users@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@msn.com To: users@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@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@example.com and that's the sender I get in messages) Maybe try to grep for ovirt@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Mooli Tayer" <mtayer@redhat.com> To: "Maurice James" <midnightsteel@msn.com> Cc: "Eli Mesika" <emesika@redhat.com>, users@ovirt.org Sent: Sunday, March 2, 2014 2:34:23 PM 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@msn.com> To: users@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@msn.com To: users@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@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.
Mooli you mean "could not" I guess ....
(that is, I have MAIL_FROM=kuku@example.com and that's the sender I get in messages)
Maybe try to grep for ovirt@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Are you using the same version that I am using? I'm using 3.4.0-0.9.beta3.el6 This works for me in 3.3 -----Original Message----- From: Mooli Tayer [mailto:mtayer@redhat.com] Sent: Sunday, March 02, 2014 7:34 AM To: Maurice James Cc: Eli Mesika; users@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@msn.com> To: users@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@msn.com To: users@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@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@example.com and that's the sender I get in messages) Maybe try to grep for ovirt@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
Are you using the same version that I am using? I'm using 3.4.0-0.9.beta3.el6 This works for me in 3.3
I tested on master which is a few commits further, there have been no changes in the notifier during that time. In the top of the log all configuration values are printed. What is the value of MAIL_FROM there?
-----Original Message----- From: Mooli Tayer [mailto:mtayer@redhat.com] Sent: Sunday, March 02, 2014 7:34 AM To: Maurice James Cc: Eli Mesika; users@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@msn.com> To: users@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@msn.com To: users@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@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.
Sorry I meant could not.
(that is, I have MAIL_FROM=kuku@example.com and that's the sender I get in messages)
Maybe try to grep for ovirt@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Here is a snapshot of my ovirt-engine-notifier.conf. The notification messages are coming as ovirt@serverhostname.com. I ran find . -type f -print | xargs grep -l "ovirt@serverhostname.com" 2>/dev/null and nothing came back. Then I ran find . -type f -print | xargs grep -l "infrastructure@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@mydomain.com # Specifies 'reply-to' address on sent mail in RFC822 format. MAIL_REPLY_TO=DoNotReply@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@redhat.com] Sent: Sunday, March 02, 2014 7:34 AM To: Maurice James Cc: Eli Mesika; users@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@msn.com> To: users@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@msn.com To: users@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@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@example.com and that's the sender I get in messages) Maybe try to grep for ovirt@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Eli Mesika
-
Maurice James
-
Mooli Tayer