Red Hat Bugzilla – Bug 235601
fcron requires SMTP daemon?
Last modified: 2007-11-30 17:12:01 EST
Does fcron require an SMTP daemon? A quick look at the source gives me a
feeling that a simple sendmail command line app/MTA would suffice, so one could
use lighter alternatives to sendmail/exim/postfix, like ssmtp or esmtp.
If that's correct, Requires/BuildRequires smtpdaemon should be replaced with
Requires/BuildRequires /usr/sbin/sendmail (or "MTA" later when sendmail and
esmtp have been fixed to provide it)
During the review, /usr/sbin/sendmail was the first Requires/BuildRequires.
The reviewer, Patrice, told me that smtp daemon was better
than /usr/sbin/sendmail to allow other MTA like exim/postfix, because it was
possible that the system don't have sendmail install.
You tell that if a system don't have sendmail install, a /usr/sbin/sendmail
Requires/BuildRequires would work?
Could that be applied for FC5 and FC6?
Yes. smtpdaemon is actually a worse choice because not all packages which I
think would suffice for fcron provide it (and it is being debated whether even
less packages should actually provide smtpdaemon than nowadays). See recent
discussion on fedora-devel-list.
$ repoquery --whatprovides /usr/sbin/sendmail
(Oh, and please disregard the last parenthesized "MTA" sentence of the initial
comment at least for now.)
(In reply to comment #1)
> During the review, /usr/sbin/sendmail was the first Requires/BuildRequires.
> The reviewer, Patrice, told me that smtp daemon was better
Not quite. The first Requires/BuildRequires was sendmail. So
smtpdaemon was better but still safe. But it may be that fcron
Fixed, but unable to build because cannot connected to the build server.
/usr/bin/plague-client build fcron fcron-3_0_2-2_fc7 devel
Error connecting to build server: '(111, 'Connection refused')'
make: *** [build] Erreur 1
Server or client problem?
Probably a server one, just try again later.
I tried several times, but always failed to connect.
I'll do next week on the computer where I used to contrib on Fedora.