<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 28, 2017 at 11:44 AM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div>in 4.1.0 I made some tests configuring the events' notifier service and I modified the file</div><div><br></div><div>/usr/share/ovirt-engine/<wbr>services/ovirt-engine-<wbr>notifier/ovirt-engine-<wbr>notifier.conf<br></div><div><br></div><div>changing these:</div><div><br></div><div><div># The SMTP mail server address. Required.</div><div>MAIL_SERVER=localhost</div><div>(I use postfix on engine server, configured with smart relay to my mail server)<br></div><div><br></div><div># Specifies 'from' address on sent mail in RFC822 format, if supported by mail server.</div><div>MAIL_FROM=<a href="mailto:ovmgr1@mydomain.it" target="_blank">ovmgr1@mydomain.it</a></div><div> <br></div><div># Specifies 'reply-to' address on sent mail in RFC822 format.</div><div>MAIL_REPLY_TO=<a href="mailto:some_group@mydomain.it" target="_blank">some_group@<wbr>mydomain.it</a></div><div>(it seems it is not honored.... in the received e-mail if I click reply I get an empty To: field...<br></div><div><br></div></div><div>During update to 4.1.1 the engine-setup failed in closing phase, due to the file being overwritten by the 4.1.1 package version of the conf file.</div><div><br></div><div><div>[ INFO ] Stage: Closing up</div><div>[ ERROR ] Failed to execute stage 'Closing up': Failed to start service 'ovirt-engine-notifier'</div></div><div><br></div><div>I fixed it creating a file 20-mailsetup.conf under</div><div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default"></div>/etc/ovirt-engine/notifier/<wbr>notifier.conf.d/<br></div><div><br></div><div>Is it the correct location? </div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">Yes, every custom change to notifier configuration should be done by creating a file inside </div> <div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">/etc/ovirt-engine/notifier/<wbr>notifier.conf.d/ <br>Also it's a convention that automatically generated files have number < 50 and user provided files have number > 50, so I'd personally rename your file into 99-mailsetup.conf (but it's just a convention :-)<br><br></div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">The same practise is also used for engine: you should not change /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.conf but create a new file under /etc/ovirt-engine/engine.conf.d<br></div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default"><br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>It was not so clear reading this page when configuring it....</div><div><a href="http://www.ovirt.org/documentation/admin-guide/chap-Event_Notifications/" target="_blank">http://www.ovirt.org/<wbr>documentation/admin-guide/<wbr>chap-Event_Notifications/</a><br></div><div><br></div><div>Thanks,</div><div>Gianluca</div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>