Description of problem: Event notification not sent when using the USER_MAIL & MAIL_SERVER=localhost\ smtp.corp.redhat.com. port used = 25 (default). SSL also didn't work. - Need to ensure both secure and non secure work OK. - It might be that for the smtp server, it is required to define the gateway, in notifier.conf maybe or else (as I understand from rliber each floor has it's own gateway)
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