Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2109421 - Sendmail package not present on RHEL8 and needs manual configuration
Summary: Sendmail package not present on RHEL8 and needs manual configuration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.12.0
Assignee: Evgeni Golov
QA Contact: Shweta Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-21 07:50 UTC by Shweta Singh
Modified: 2022-11-16 13:35 UTC (History)
7 users (show)

Fixed In Version: foreman-3.3.0.7-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2126167 (view as bug list)
Environment:
Last Closed: 2022-11-16 13:34:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35461 0 Normal Closed Sendmail package not present on RHEL8 and needs manual configuration 2022-09-09 13:14:27 UTC
Red Hat Bugzilla 2080324 0 unspecified CLOSED Satellite incorrectly reports email test success 2022-11-16 13:34:04 UTC
Red Hat Issue Tracker SAT-12525 0 None None None 2022-08-26 12:59:50 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:35:05 UTC

Description Shweta Singh 2022-07-21 07:50:31 UTC
Description of problem:
Sendmail package is not part of RHEL8 Satellite and needs to be configured manually. 
Same works fine on EL7.

Version-Release number of selected component (if applicable):
6.11

How reproducible:
Always

Steps to Reproduce:
1. Configure Satellite 6.11 EL8
2. Sendmail binary is not present in EL8
3.

Actual results:
Sendmail binary is not present in EL8

Expected results:
Sendmail binary should be part of EL8 Satellite and shouldn't need explicit configuration.

Additional info:

Comment 1 Evgeni Golov 2022-07-21 07:59:47 UTC
Bit of context:
Foreman (and thus Satellite) defaults to using sendmail as the mail delivery method (alternative, it could use SMTP).
As Sendmail is not installed by default on EL8, this delivery method fails.

I've asked Shweta to post this BZ against the Installer, but am not 100% sure it is the correct place (but a good one to start!):
- we could also make packaging depend on Sendmail (or Postfix, or /usr/sbin/sendmail)
- in theory, it's not a hard dependency, as the user *can* chose to use SMTP
- we can use any /usr/sbin/sendmail, which can be also provided by Postfix and others (created by some 3rd party package)

Comment 2 Evgeni Golov 2022-08-31 05:22:39 UTC
Created redmine issue https://projects.theforeman.org/issues/35461 from this bug

Comment 3 Bryan Kearney 2022-08-31 12:05:02 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35461 has been resolved.

Comment 12 Shweta Singh 2022-10-03 10:45:41 UTC
Thanks Eric and Evgeni for actively working on this issue. 

Verified the fix on Satellite 6.12 Snap 13
Verification Steps:
1. Check if postfix service is enabled on satellite using command "systemctl status postfix" and enable the service if it is not. 
1. Update users email address to satellite fqdn to receive emails(Navigate to Adminiter --> Users)
2. Navigate to Administer --> Settings in UI 
3. Move to Email Tab and set the fields "Email reply address" to satellite hostname and "Send welcome email" to yes.
4. Verify "Email sent successfully" message on clicking "Test Email"
5. Verify the email received on email address configured in users email address(in /var/mail/root).

Note: Postfix service should be enabled and included as a part of email configuration in the documentation.

Comment 16 errata-xmlrpc 2022-11-16 13:34:44 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 (Important: Satellite 6.12 Release), 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-2022:8506


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