Ask Your Question
0

Fedora 22 noisy journalctl or cron trying to email

asked 2015-06-08 21:12:34 -0500

phoenixdigital gravatar image

While trying to identify an issue with Gnome crashing I noticed my journalctl logs were full of these every few seconds. Which is annoying because it makes it hard to find relevant entries amongst all this junk.

Jun 09 11:30:06 **** crond[1062]: No configuration file found at (null) or /etc/esmtprc
Jun 09 11:30:06 **** crond[1062]: No configuration file found at (null) or /etc/esmtprc
Jun 09 11:30:06 **** crond[1062]: No configuration file found at (null) or /etc/esmtprc
Jun 09 11:30:06 **** crond[1062]: No configuration file found at (null) or /etc/esmtprc
Jun 09 11:30:06 **** crond[1062]: No configuration file found at (null) or /etc/esmtprc
Jun 09 11:30:06 **** crond[1062]: No configuration file found at (null) or /etc/esmtprc

So I am guessing this is cron trying to send emails.... so I made an empty /etc/esmtprc and starting getting these

Jun 09 12:08:52 **** crond[1035]: Local delivery not possible without a MDA
Jun 09 12:08:54 **** crond[1035]: Local delivery not possible without a MDA
Jun 09 12:08:54 **** crond[1035]: Local delivery not possible without a MDA
Jun 09 12:08:55 **** crond[1035]: Local delivery not possible without a MDA
Jun 09 12:08:56 **** crond[1035]: Local delivery not possible without a MDA
Jun 09 12:08:56 **** crond[1035]: Local delivery not possible without a MDA
Jun 09 12:08:57 **** crond[1035]: Local delivery not possible without a MDA

I tried adding

MAILTO=""

to the top of crontab -e

Still getting them..

Anyone know how to get rid of the noise?

This is just a work laptop and I don't want to bother with having internal logs emailed to me. Local delivery is ok to an internal account but I don't want it sending stuff out.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-06-09 01:02:14 -0500

geforce gravatar image

updated 2015-06-09 01:05:53 -0500

You could remove sendmail

dnf remove sendmail

or disable it

systemctl disable sendmail.service
edit flag offensive delete link more

Comments

sendmail was not installed.

After the next reboot it seemed that

MAILTO=""

worked

phoenixdigital gravatar imagephoenixdigital ( 2015-06-09 18:03:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-06-08 21:12:34 -0500

Seen: 2,158 times

Last updated: Jun 09 '15