On 04/20/2017 11:59 PM, M. Fioretti wrote:
> Greetings,
> 
> a few minutes ago, I realized that, on a Fedora 25 box I have...
> 
> - my /var/log/messages was almost 15 MILLIONS lines long.
> - 99% of those lines (~20/second) are like this:
> 
>   crond: No configuration file found at /home/marco/.esmtprc or
> /etc/esmtprc
> 
> but the only line in my own crontab is a shell script that runs every
> minute. When I run that script manually, from the command line, it yelds
> no error or warning. From what I can see, this flood of crond warnings
> started about a week ago, but I've used
> that computer almost nothing in the last two weeks.
> 
> I should install a local MDA on this box, I guess, but before that I
> should really figure out what is making crond try 20 times a second to
> send an email, and make it
> stop. Any ideas?

That's odd as cron only checks its tables once a minute. It's almost as
if there's a script in a loop with a "sleep 20" or something akin to it
inside the loop or a program doing the same. In those cases I'd expect
the error message to contain the program's name--not "crond".

Digging around, the /etc/esmtprc file is provided by the
esmtp-local-delivery RPM while the functionality is provided by the
esmtp RPM (a
relay-only MTA). I have neither of those RPMs installed on my machines
as I don't need a relay-only MTA (or an MTA of any kind) so I don't see
this. If you don't need an MTA on your machine, I'd uninstall esmtp. If
you do, I'd install esmtp-local-delivery to provide the /etc/esmtprc
file (or create one yourself) to stop the messages.

It's interesting that they split this into two RPMs. One would think a
single esmtp RPM should provide all the stuff needed--or at least make
esmtp dependent on esmtp-local-delivery so this condition can't happen.
Having never used this, I don't know...perhaps there is a good reason
why its done this way.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-      Batteries not included.  Offer not valid in some states.      -
-           Your mileage may vary.  Void where prohibited.           -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to