Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1598085

Summary: ovirt-host depends on postfix when it just wants a MTA
Product: [oVirt] ovirt-distribution Reporter: Fabrice Bacchella <fabrice.bacchella>
Component: ovirt-hostAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.3CC: didi, lsvaty, mperina, sradco
Target Milestone: ovirt-4.3.0Flags: rule-engine: ovirt-4.3+
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-host-4.3.0-0.1.beta Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-13 07:46:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabrice Bacchella 2018-07-04 10:10:59 UTC
ovirt-host installed postfix on my hosts, but I uses another MTA.

So postfix is not configured, not monitored, it's useless for me.

Explicit requirement of postfix is not the best way anyway in RPM world, for example:

rpm -q --provides postfix
MTA
config(postfix) = 2:2.10.1-6.el7
postfix = 2:2.10.1-6.el7
postfix(x86-64) = 2:2.10.1-6.el7
server(smtp)
smtpd
smtpdaemon

And for example:
yum whatprovides 'server(smtp)'
returns:
exim-4.90.1-3.el7.x86_64 : The exim mail transfer agent
opensmtpd-6.0.3p1-1.el7.x86_64 : Free implementation of the server-side SMTP protocol as defined by RFC 5321
2:postfix-2.10.1-6.el7.x86_64 : Postfix Mail Transport Agent
sendmail-8.14.7-5.el7.x86_64 : A widely used Mail Transport Agent (MTA)
ssmtp-2.64-14.el7.x86_64 : Extremely simple MTA to get mail off the system to a Mailhub

So any one can choose that fits it's need best.

As didi found in https://fedoraproject.org/wiki/Features/ServerProvides, it looks like server(smtp) is the standard way to do that.

Comment 1 Pavol Brilla 2018-08-27 08:19:44 UTC
# yum deplist ovirt-host | grep server\(smtp\) ; yum list ovirt-host 

  dependency: server(smtp)
  dependency: server(smtp)

Installed Packages
ovirt-host.x86_64             4.3.0-0.0.master.20180705071013.git7d4f97d.fc28             @ovirt-master

Comment 2 Sandro Bonazzola 2018-11-02 14:29:44 UTC
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE.

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

Comment 3 Sandro Bonazzola 2018-11-02 15:05:12 UTC
Closed by mistake, moving back to qa -> verified

Comment 4 Sandro Bonazzola 2019-02-13 07:46:37 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE.

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