--_000_DB3PR03MB09879294A970E0E530B552DA822F0DB3PR03MB0987eurp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I can't send event-related emails from oVirt.
I configured /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-e=
ngine-notifier.conf as follows and restarted ovirt-engine:
#--------------#
# Event Filter #
#--------------#
# Filter logic.
#
# First match algorithm for include/exclude messages.
# Entry is message|*(subscriber|*)
# * =3D all messages/all subscribers.
# * as a subscriber should be used only for exclude.
#
# Message constants can be found at:
# /usr/share/doc/ovirt-engine/AuditLogMessages.properties
#
# examples:
# FILTER=3D"include:VDC_START(smtp:mail@example.com) ${FILTER}"
# FILTER=3D"exclude:VDC_START include:*(smtp:mail1@gmail.com) ${FILTER}"
#
# The final filter list contains FILTER as well as 'event_subscriber' tabl=
e records.
# database record are considered first.
#FILTER=3D"exclude:*"
FILTER=3D"include:*(smtp:xxx.xxx@skytv.it)"
#---------------------#
# EMAIL Notifications #
#---------------------#
# The SMTP mail server address. Required.
MAIL_SERVER=3D192.168.xxx.xxx
# The SMTP port (usually 25 for plain SMTP, 465 for SMTP with SSL, 587 for =
SMTP with TLS)
MAIL_PORT=3D25
# Required if SSL or TLS enabled to authenticate the user. Used also to spe=
cify 'from' user address if mail server
# supports, when MAIL_FROM is not set. Address is in RFC822 format
MAIL_USER=3D
# Required to authenticate the user if mail server requires authentication =
or if SSL or TLS is enabled
SENSITIVE_KEYS=3D"${SENSITIVE_KEYS},MAIL_PASSWORD"
MAIL_PASSWORD=3D
# Indicates type of encryption (none, ssl or tls) should be used to communi=
cate with mail server.
MAIL_SMTP_ENCRYPTION=3Dnone
# If set to true, sends a message in HTML format.
HTML_MESSAGE_FORMAT=3Dfalse
# Specifies 'from' address on sent mail in RFC822 format, if supported by m=
ail server.
MAIL_FROM=3Dalarm.ovirt(a)int.sky.it
# Specifies 'reply-to' address on sent mail in RFC822 format.
MAIL_REPLY_TO=3D
# Interval to send smtp messages per # of IDLE_INTERVAL
MAIL_SEND_INTERVAL=3D1
# Amount of times to attempt sending an email before failing.
MAIL_RETRIES=3D4
Do I need to make something else?
Thank you
Alessandro
--_000_DB3PR03MB09879294A970E0E530B552DA822F0DB3PR03MB0987eurp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word"
=
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"
xmlns=3D"http:=
//www.w3.org/TR/REC-html40"
<head
<meta http-equiv=3D"Content-Type"
content=3D"text/html; charset=3Dus-ascii"=
<meta name=3D"Generator" content=3D"Microsoft
Word 15 (filtered medium)"
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /
</xml><![endif]--><!--[if gte mso
9]><xml
<o:shapelayout
v:ext=3D"edit"
<o:idmap v:ext=3D"edit"
data=3D"1" /
</o:shapelayout></xml><![endif]--
</head
<body bgcolor=3D"white"
lang=3D"IT" link=3D"blue" vlink=3D"purple"
<div class=3D"WordSection1"
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:"Calibri","sans-serif";color:windowtext;mso-fare=
ast-language:EN-US">Hi,<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:"Calibri","sans-serif";color:windowtext;mso-fare=
ast-language:EN-US">I can’t send event-related emails from
oVirt.<o:p=
></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:11.0pt;font-=
family:"Calibri","sans-serif";color:windowtext;mso-fare=
ast-language:EN-US">I configured /usr/share/ovirt-engine/services/ovirt-eng=
ine-notifier/ovirt-engine-notifier.conf as follows and restarted
ovirt-engine:<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:11.0pt;font-=
family:"Calibri","sans-serif";color:windowtext;mso-fare=
ast-language:EN-US"><o:p> </o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#--------------#<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Event Filter #<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#--------------#<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Filter logic.<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# First match algorithm for include/exclude
messages.<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Entry is message|*(subscriber|*)<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# * =3D all messages/all subscribers.<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# * as a subscriber should be used only for
exclude.<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Message constants can be found at:<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#
/usr/share/doc/ovirt-engine/AuditLogMessages.properties<o:p></o:p></span>=
</p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# examples:<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# FILTER=3D"include:VDC_START(smtp:mail@example.com) ${FILTER}"<o=
:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# FILTER=3D"exclude:VDC_START include:*(smtp:mail1@gmail.com) ${FILTER=
}"<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# The final filter list contains FILTER as well as 'event_subscriber'=
table records.<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# database record are considered first.<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#FILTER=3D"exclude:*"<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
FILTER=3D"include:*(smtp:xxx.xxx@skytv.it)"<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#---------------------#<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# EMAIL Notifications #<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
#---------------------#<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# The SMTP mail server address. Required.<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
MAIL_SERVER=3D192.168.xxx.xxx<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# The SMTP port (usually 25 for plain SMTP, 465 for SMTP with SSL, 587 for =
SMTP with TLS)<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
MAIL_PORT=3D25<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Required if SSL or TLS enabled to authenticate the user. Used also to spe=
cify 'from' user address if mail
server<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# supports, when MAIL_FROM is not set. Address is in RFC822 format<o:p></o:=
p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
MAIL_USER=3D<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Required to authenticate the user if mail server requires authentication =
or if SSL or TLS is enabled<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
SENSITIVE_KEYS=3D"${SENSITIVE_KEYS},MAIL_PASSWORD"<o:p></o:p></sp=
an></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
MAIL_PASSWORD=3D<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Indicates type of encryption (none, ssl or tls) should be used to communi=
cate with mail server.<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
MAIL_SMTP_ENCRYPTION=3Dnone<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# If set to true, sends a message in HTML
format.<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
HTML_MESSAGE_FORMAT=3Dfalse<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Specifies 'from' address on sent mail in RFC822 format, if supported by m=
ail server.<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
MAIL_FROM=3Dalarm.ovirt@int.sky.it<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Specifies 'reply-to' address on sent mail in RFC822
format.<o:p></o:p></s=
pan></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
MAIL_REPLY_TO=3D<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Interval to send smtp messages per # of
IDLE_INTERVAL<o:p></o:p></span></=
p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
MAIL_SEND_INTERVAL=3D1<o:p></o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
<o:p> </o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
# Amount of times to attempt sending an email before
failing.<o:p></o:p></s=
pan></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:8.0pt;font-f=
amily:"Courier
New";color:windowtext;mso-fareast-language:EN-US">=
MAIL_RETRIES=3D4<o:p></o:p></span></p
<p
class=3D"MsoNormal"><span lang=3D"EN-US"
style=3D"font-size:11.0pt;font-=
family:"Calibri","sans-serif";color:windowtext;mso-fare=
ast-language:EN-US"><o:p> </o:p></span></p
<p class=3D"MsoNormal"><span
lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:"Calibri","sans-serif";color:windowtext;mso-fare=
ast-language:EN-US">Do I need to make something
else?<o:p></o:p></span></p
<p
class=3D"MsoNormal"
style=3D"margin-bottom:12.0pt"><b><span lang=3D"EN-U=
S"
style=3D"font-size:11.0pt;font-family:"Calibri","sans-ser=
if";color:windowtext">Thank
you<o:p></o:p></span></b></p
<p
class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span
style=3D"font-s=
ize:11.0pt;font-family:"Calibri","sans-serif";color:win=
dowtext">Alessandro<o:p></o:p></span></p
</div
</body
</html
--_000_DB3PR03MB09879294A970E0E530B552DA822F0DB3PR03MB0987eurp_--