Confirm that the ovirt-engine-notifier service is running.  By default it is set disabled/off.

ovirt-engine-notifier 0:off 1:off 2:off 3:off 4:off 5:off 6:off

On Tue, Feb 17, 2015 at 11:50 AM, RASTELLI Alessandro <alessandro.rastelli@skytv.it> wrote:

Hi,

I can’t send event-related emails from oVirt.

I configured /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf as follows and restarted ovirt-engine:

 

#--------------#

# Event Filter #

#--------------#

 

# Filter logic.

#

# First match algorithm for include/exclude messages.

# Entry is message|*(subscriber|*)

# * = 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="include:VDC_START(smtp:mail@example.com) ${FILTER}"

# FILTER="exclude:VDC_START include:*(smtp:mail1@gmail.com) ${FILTER}"

#

# The final filter list contains FILTER  as well as 'event_subscriber' table records.

# database record are considered first.

#FILTER="exclude:*"

FILTER="include:*(smtp:xxx.xxx@skytv.it)"

 

#---------------------#

# EMAIL Notifications #

#---------------------#

 

# The SMTP mail server address. Required.

MAIL_SERVER=192.168.xxx.xxx

 

# 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=

 

# 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=false

 

# Specifies 'from' address on sent mail in RFC822 format, if supported by mail server.

MAIL_FROM=alarm.ovirt@int.sky.it

 

# Specifies 'reply-to' address on sent mail in RFC822 format.

MAIL_REPLY_TO=

 

# Interval to send smtp messages per # of IDLE_INTERVAL

MAIL_SEND_INTERVAL=1

 

# Amount of times to attempt sending an email before failing.

MAIL_RETRIES=4

 

Do I need to make something else?

Thank you

Alessandro


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