Description of problem: nmh-1.7.1-3.el7 switched the default port for connecting to sendmail from 25 to 587. If the local sendmail only listens on port 25, this causes applications using nmh to be unable to send mail. By default, sendmail under CentOS 7 (sendmail-8.14.7-5.el7.x86_64) only listens on port 25. Version-Release number of selected component (if applicable): nmh-1.7.1-3.el7 How reproducible: Steps to Reproduce: 1. upgrade from nmh-1.6-7.el7.x86_64 to nmh-1.7.1-3.el7.x86_64 2. try to send mail with "post" without specifying port number. 3. Actual results: mail fails with: "post: problem initializing server; [BHST] no servers available (use -snoop for details" Expected results: mail should be sent. Additional info: The change of the default port isn't noted in the package's changelog.
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.