Bug 1562144
| Summary: | nmh 1.7.1-3.el7 switches default sendmail port to 587 from 25, breaking applications | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Bryan Wright <bkw1a> |
| Component: | nmh | Assignee: | David Levine <par.packager> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | josh, levinedl, par.packager, ralston |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | nmh-1.7.1-4.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-21 02:56:48 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
Bryan Wright
2018-03-29 15:48:23 UTC
I'm not sure what we should do about this, suggestions welcome.
The easy workaround is for each user to add to their ~/.mh_profile:
send: -port smtp
If they already have a send component in their profile, they should add that -port switch to it, of course.
The change is noted in the nmh NEWS file:
The following are new features for the 1.7 release of nmh:
...
- post now defaults to port 587 on 'smtp' message submission.
The best solution would be a patch that reverts the default port back to 25, since that was always the default in the past. Such a patch would need to change a line in uip/post.c from: static char *port="submission"; /* Name of server port for SMTP submission */ to static char *port="smtp"; /* Name of server port for SMTP submission */ I've put such a patch here: https://pastebin.com/raw/G76h9vyL and a modified spec file that uses it here: https://pastebin.com/raw/nDrFksY7 nmh-1.7.1-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-704273cf29 nmh-1.7.1-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-674f79819e nmh-1.7.1-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-f29771f4e1 nmh-1.7.1-4.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-45b32fa01c Patch appied. Thank you, Bryan. Karma for each of the four builds above would help speed things along. nmh-1.7.1-2.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-2018-674f79819e nmh-1.7.1-4.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2018-f29771f4e1 nmh-1.7.1-4.el6 has been pushed to the Fedora EPEL 6 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-EPEL-2018-45b32fa01c nmh-1.7.1-2.fc28 has been pushed to the Fedora 28 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-2018-704273cf29 Thanks! I've updated to the new package from epel 7 testing and it seems to work fine. nmh-1.7.1-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. nmh-1.7.1-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. nmh-1.7.1-5.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-0e03bcdc5c nmh-1.7.1-5.el6 has been pushed to the Fedora EPEL 6 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-EPEL-2018-0e03bcdc5c nmh-1.7.1-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. nmh-1.7.1-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |