Bug 1008975 - [ovirt-engine-notifier] - Mail - Cannot send mails with SSL ("Connection refused")
Summary: [ovirt-engine-notifier] - Mail - Cannot send mails with SSL ("Connection ref...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-notification-service
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.3.0
Assignee: Mooli Tayer
QA Contact: Tareq Alayan
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-17 12:30 UTC by David Botzer
Modified: 2016-02-10 19:14 UTC (History)
9 users (show)

Fixed In Version: is18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
notifier.log (315.32 KB, text/plain)
2013-09-17 12:30 UTC, David Botzer
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 19790 0 None None None Never
oVirt gerrit 19824 0 None None None Never

Description David Botzer 2013-09-17 12:30:20 UTC
Created attachment 798796 [details]
notifier.log

Description of problem:
[ovirt-engine-notifier] - Mail - Cannot SSL event notification (regression)

Version-Release number of selected component (if applicable):
3.3/is14

How reproducible:
always

Steps to Reproduce:
1.Configure ovirt-engine-notifier with SSL and gmail smtp server
2.use the gmail account info
3.create events - maintenance to host or restart engine

Actual results:
Mail is not sent, and error is sent on "Connection refused" 

Expected results:
Should send mail correctly

Additional info:
Tested and works ok on 3.2/sf20.1

Configured in notifier.log
-----------------------------
MAIL_SERVER=smtp.gmail.com
MAIL_USER=...
MAIL_PASSWORD=......
MAIL_ENABLE_SSL=true
MAIL_FROM=dbotzer

Closed & verified, Previously opened bug on 3.2
Bug 885436 - event notification not sent for MAIL_SERVER smtp
https://bugzilla.redhat.com/show_bug.cgi?id=885436

Comment 2 Mooli Tayer 2013-10-02 10:08:30 UTC
reproduces, log Shows MAIL_SERVER is ignored and set to localhost:
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 465;

although MAIL_SERVER=smtp.gmail.com
Inspecting further.

Comment 3 Mooli Tayer 2013-10-02 13:49:42 UTC
Patch proposed on master.

Comment 4 Mooli Tayer 2013-10-03 07:25:51 UTC
Accepted on master, submitted on ovirt-engine-3.3.

Comment 5 Tareq Alayan 2013-10-14 13:22:06 UTC
verified.
tested on: rhevm-3.3.0-0.25.beta1.el6ev.noarch
a mail is sent using ssl=true.

Comment 7 Itamar Heim 2014-01-21 22:24:53 UTC
Closing - RHEV 3.3 Released

Comment 8 Itamar Heim 2014-01-21 22:25:40 UTC
Closing - RHEV 3.3 Released

Comment 9 Itamar Heim 2014-01-21 22:29:12 UTC
Closing - RHEV 3.3 Released


Note You need to log in before you can comment on or make changes to this bug.