<div dir="ltr">Confirm that the ovirt-engine-notifier service is running. By default it is set disabled/off.<br><br>ovirt-engine-notifier<span class="" style="white-space:pre">        </span>0:off<span class="" style="white-space:pre">        </span>1:off<span class="" style="white-space:pre">        </span>2:off<span class="" style="white-space:pre">        </span>3:off<span class="" style="white-space:pre">        </span>4:off<span class="" style="white-space:pre">        </span>5:off<span class="" style="white-space:pre">        </span>6:off<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 11:50 AM, RASTELLI Alessandro <span dir="ltr"><<a href="mailto:alessandro.rastelli@skytv.it" target="_blank">alessandro.rastelli@skytv.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="IT" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">I can’t send event-related emails from oVirt.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">I configured /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf as follows and restarted
ovirt-engine:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">#--------------#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Event Filter #<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">#--------------#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Filter logic.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># First match algorithm for include/exclude messages.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Entry is message|*(subscriber|*)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># * = all messages/all subscribers.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># * as a subscriber should be used only for exclude.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Message constants can be found at:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># /usr/share/doc/ovirt-engine/AuditLogMessages.properties<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># examples:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># FILTER="include:VDC_START(<a href="mailto:smtp%3Amail@example.com" target="_blank">smtp:mail@example.com</a>) ${FILTER}"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># FILTER="exclude:VDC_START include:*(<a href="mailto:smtp%3Amail1@gmail.com" target="_blank">smtp:mail1@gmail.com</a>) ${FILTER}"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># The final filter list contains FILTER as well as 'event_subscriber' table records.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># database record are considered first.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">#FILTER="exclude:*"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">FILTER="include:*(<a href="mailto:smtp%3Axxx.xxx@skytv.it" target="_blank">smtp:xxx.xxx@skytv.it</a>)"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">#---------------------#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># EMAIL Notifications #<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">#---------------------#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># The SMTP mail server address. Required.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">MAIL_SERVER=192.168.xxx.xxx<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># The SMTP port (usually 25 for plain SMTP, 465 for SMTP with SSL, 587 for SMTP with TLS)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">MAIL_PORT=25<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Required if SSL or TLS enabled to authenticate the user. Used also to specify 'from' user address if mail server<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># supports, when MAIL_FROM is not set. Address is in RFC822 format<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">MAIL_USER=<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Required to authenticate the user if mail server requires authentication or if SSL or TLS is enabled<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">SENSITIVE_KEYS="${SENSITIVE_KEYS},MAIL_PASSWORD"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">MAIL_PASSWORD=<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Indicates type of encryption (none, ssl or tls) should be used to communicate with mail server.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">MAIL_SMTP_ENCRYPTION=none<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># If set to true, sends a message in HTML format.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">HTML_MESSAGE_FORMAT=false<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Specifies 'from' address on sent mail in RFC822 format, if supported by mail server.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">MAIL_FROM=<a href="mailto:alarm.ovirt@int.sky.it" target="_blank">alarm.ovirt@int.sky.it</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Specifies 'reply-to' address on sent mail in RFC822 format.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">MAIL_REPLY_TO=<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Interval to send smtp messages per # of IDLE_INTERVAL<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">MAIL_SEND_INTERVAL=1<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext"># Amount of times to attempt sending an email before failing.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Courier New";color:windowtext">MAIL_RETRIES=4<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">Do I need to make something else?<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">Thank you<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></b></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">Alessandro<u></u><u></u></span></p>
</font></span></div>
</div>
<br>_______________________________________________<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" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>