Bug 1592879

Summary: Sendmail functionality not working on satellite
Product: Red Hat Satellite Reporter: Sanket Jagtap <sjagtap>
Component: BrandingAssignee: Ondřej Pražák <oprazak>
Status: CLOSED ERRATA QA Contact: Omkar Khatavkar <okhatavk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4CC: apatel, cwelton, ehelms, inecas, mhulan, okhatavk, oprazak, pcreech, sshtein
Target Milestone: 6.4.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman_openscap-0.10.2,tfm-rubygem-foreman_theme_satellite-2.0.1.6-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 18:58:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1463962    
Attachments:
Description Flags
Traceback for sending test mail via sendmail none

Description Sanket Jagtap 2018-06-19 13:59:44 UTC
Created attachment 1452951 [details]
Traceback for sending test mail via sendmail

Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.4.0 snap8

How reproducible:
Always

Steps to Reproduce:
1. Create a user
2. Try to send the test mail on the user address
3.

Actual results:
Error on UI "Unable to send email, check server logs for more information"

Expected results:
Test mail should be sent

Additional info:
PFA for production log trace

Comment 3 Marek Hulan 2018-07-18 06:37:13 UTC
It seems it has been introduced by BZ 1324517, Ondrej, could you take a look when you have a chance?

Comment 4 Ondřej Pražák 2018-07-18 12:14:22 UTC
Created redmine issue http://projects.theforeman.org/issues/24286 from this bug

Comment 5 Ondřej Pražák 2018-07-18 12:24:50 UTC
Reproducible only when there is a second mailer enabled (audit summary did it for me). I created fixes for branding plugin and openscap, both are needed for this to be resolved.

Comment 6 Satellite Program 2018-07-18 14:19:09 UTC
Upstream bug assigned to oprazak

Comment 7 Satellite Program 2018-07-18 14:19:13 UTC
Upstream bug assigned to oprazak

Comment 8 Satellite Program 2018-07-19 06:19:36 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/24286 has been resolved.

Comment 11 Omkar Khatavkar 2018-08-02 10:30:44 UTC
Comment:
Verified this bug in Satellite 6.4.14 snap with 'sendemail' package and configuring SMTP. 

Steps Performed:
1. Configured SMTP setting in Setting->Email
2. Create User and subscribed him for emails.
3. Verified test email and email generated using promoting content-view.

Test Status:
PASSED

Comment 12 Bryan Kearney 2018-10-16 18:58:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2927