Bug 1466245
Summary: | Wrong sendmail requires | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Anton Guda <atu> |
Component: | BackupPC | Assignee: | Richard Shaw <hobbes1069> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | hobbes1069, kevin |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | BackupPC-4.1.3-2.fc26 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-13 14:50:53 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
Anton Guda
2017-06-29 10:38:08 UTC
I like the server(smtp) idea, unfortunately the procmail package doesn't provide that capability. # rpm -q --provides procmail procmail = 3.22-39.fc24 procmail(x86-64) = 3.22-39.fc24 Ok, I haven't researched this before so learning a bit... postfix provides a sendmail compatible interface though the alternatives method. Since BackupPC seems to really only understand how to send mail using the sendmail command I think it best to require postfix instead as it is the default smtp agent. Requires: server(smtp) should be what you want here... that should allow any of the MTAs that provide a sendmail like interface to satisfy the requires. :) procmail doesn't provide that, but thats right, it needs something like postfix, exim, sendmail to pipe the email to it, it doesn't handle things before that. What about just requiring /usr/sbin/sendmail? It's possible that another MTA could be packaged that doesn't provide a sendmail compatible binary. BackupPC is specifically looking for sendmail (or equivalent). Sure, that should work too... I guess 'server(smtp)' is the smtp server interface, so yeah, /usr/sbin/sendmail should work for the calling the binary. Well crap... I tried using mock to install "/usr/sbin/sendmail" and it installed postfix but when I tried installing my package with that requirement esmtp was installed instead. I can add a Recommend or Suggest for Fedora, but that won't work for EPEL... esmtp may be sufficient for some cases. In real servers, mail daemon will be installed before backup programs. Yes, thats expected. in the vast majority of cases the admin would have already installed {sendmail|postfix|exim|esmtp...} and then when they install BackupPC the dep would already be satisifed and nothing new would be installed. it allows the admin to choose which one they want, and if they didn't install any at all, they get whatever yum happens to think is 'best'. If they don't like it they can remove that and install the one they want. :) BackupPC-4.1.3-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3e89e74f15 BackupPC-4.1.3-2 seems to work for me. BackupPC-4.1.3-2.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-3e89e74f15 BackupPC-4.1.3-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |