Bug 1491721

Summary: fix for 1404768 causes breakage for MX only names
Product: [Fedora] Fedora Reporter: Brian J. Murrell <brian.murrell>
Component: esmtpAssignee: Ondřej Lysoněk <olysonek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 25CC: brad.t.peters, itamar, jskarvad, olysonek, pertusus, pragyansri.pathi, smparrish, tgummels
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: esmtp-1.2-9.fc26 esmtp-1.2-9.fc25 esmtp-1.2-9.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-07 22:17:08 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:

Description Brian J. Murrell 2017-09-14 13:32:00 UTC
Description of problem:
The patch in https://src.fedoraproject.org/cgit/rpms/esmtp.git/tree/esmtp-1.2-localhost.patch?h=f25 is having unintended consequences.

If I try to send mail to <user>@access.ironport.com I get:

DNS lookup failed: Name or service not known

Version-Release number of selected component (if applicable):
esmtp-1.2-5.fc25.x86_64

How reproducible:
100%

Steps to Reproduce:
1. On an F25 machine configured to use esmtp, try to send mail to example.com

Actual results:
DNS lookup failed: Name or service not known

Expected results:
Should send the mail, like esmtp 1.2 does without the aforementioned patch.

Additional info:
$ dig access.ironport.com. any

; <<>> DiG 9.10.4-P8-RedHat-9.10.4-5.P8.fc25 <<>> access.ironport.com. any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35234
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 8, ADDITIONAL: 15

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;access.ironport.com.		IN	ANY

;; ANSWER SECTION:
access.ironport.com.	300	IN	MX	10 vmx.sco.cisco.com.

Notice that access.ironport.com ONLY has an MX record.

Comment 1 Fedora Update System 2017-10-27 11:45:25 UTC
esmtp-1.2-9.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ff19a14389

Comment 2 Fedora Update System 2017-10-27 11:54:03 UTC
esmtp-1.2-9.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f69b57c03d

Comment 3 Fedora Update System 2017-10-27 11:59:41 UTC
esmtp-1.2-9.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-899a3e06f5

Comment 4 Fedora Update System 2017-10-27 15:39:06 UTC
esmtp-1.2-9.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-899a3e06f5

Comment 5 Fedora Update System 2017-10-27 15:39:40 UTC
esmtp-1.2-9.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f69b57c03d

Comment 6 Fedora Update System 2017-10-27 18:50:04 UTC
esmtp-1.2-9.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ff19a14389

Comment 7 Fedora Update System 2017-11-07 22:17:08 UTC
esmtp-1.2-9.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2017-11-07 23:40:19 UTC
esmtp-1.2-9.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2017-11-11 03:07:30 UTC
esmtp-1.2-9.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.