Bug 885436
Summary: | event notification not sent for MAIL_SERVER smtp. | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilanit Stein <istein> |
Component: | ovirt-engine-notification-service | Assignee: | Noam Slomianko <nslomian> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.1.0 | CC: | bazulay, dfediuck, dyasny, iheim, nslomian, pstehlik, Rhev-m-bugs, sgrinber, ykaul |
Target Milestone: | --- | ||
Target Release: | 3.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | sf9 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 917401 |
Description
Ilanit Stein
2012-12-09 13:53:14 UTC
Ilanit, we need some more info; - Did you check basic connectivity? ie- is it a firewall issue? etc. - Were you able to send an email in the same setup with a different client such as 'mail / mutt'? I succedded to have the notification email sent, only when I defined MAIL_SERVER=localhost, and USER_MAIL parameter was commented. Did using USER_MAIL worked for you in some kind of form? When I used an arbitrary user: USER_MAIL=noam it was not sent, it failed with exception: com.sun.mail.smtp.SMTPSenderFailedException: 553 5.5.4 <noam>... Domain name required for sender address noam When I used a real USER_MAIL=nslomian it was sent as expected. so it isn't a bug as described, but we still may want to add better logging. any input on the subject? Since no response so far, the solution we'll implement is better error handling, which will make sure connectivity issues (including credentials) will be outputted to the log file. Can you please chack using MAIL_SERVER as well? with and without SSL? Is indeed additional info of gateway is required in the conf file? Thank you. After talking to Ilanit today I've checked with and without ssl and it all works out to be OK. Mail server config works fine. The ssl failure stems from the fact that smtp.corp.redhat.com refuses connections over ssl port (465) To test ssl I used gmail dummy mailbox, use these configurations to reproduce: MAIL_SERVER=smtp.gmail.com MAIL_PORT=465 MAIL_USER=lolzmclolzz MAIL_PASSWORD=shimadon MAIL_ENABLE_SSL=true Lets please close this as it's getting dragged on why to long Verified on sf-13. MAIL_SERVER = smtp.corp.redhat.com a. non SSL worked fine b. SSL didn't work Sent email to IT (rliber) to check MAIL_SERVER smtp.corp.redhat.com SSL massages listen problem. used another MAIL_SERVER, smtp.gmail.com, as in comment 6, worked fine. 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released |