LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-27-2015, 10:39 AM   #1
cheddarcheese
Member
 
Registered: Aug 2011
Location: Massachusetts, USA
Distribution: Fedora; Centos; Puppy
Posts: 116

Rep: Reputation: 7
Cron Messages


Hi,

I'm running a Fedora 15 machine, and I rebooted it a couple of days back for the first time in two years.

However, after I'd rebooted, my Gmail account was flooded with cron messages (cron had been set up with MAILTO my Gmail account). I guess I'd never really noticed that I'd not received these cron messages before, since most of them are junk anyway.

Anyway, I removed the MAILTO line, so that at least new messages are not sent to my Gmail account (Google gets annoyed and limits one's account if it exceeds so many sends or receives in a given period), but I still have a problem with the older messages.

My problem is that I can't even find where these old cron messages are being stored; I figured that they would either be visible with $ mail -u root, or $mail -u username, or simply $mail. I did discover a bunch of messages, and so I deleted all of those, but they still kept arriving in my Gmail account. I can see from the dates on the messages received that some go all the way back to 2013.

Well, so that Gmail didn't limit my account again, I reluctantly disconnected the machine from the network, while I tried to figure it out, making sure that every message I could find in any mail account was deleted. I then reconnected the machine again this morning, but within a few minutes my Gmail account starts to get flooded with old cron messages again. So, I've again disconnected the machine for the moment.

I simply can't figure out where these cron messages are stored; all I basically want to do is to nuke the entire lot of them ... wherever they are!

Any assistance appreciated!

Thanks!
 
Old 02-27-2015, 12:40 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,338

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You could change MAILTO to send the messages to a non-existant email address.

----------------------
Steve Stites
 
Old 02-27-2015, 12:46 PM   #3
cheddarcheese
Member
 
Registered: Aug 2011
Location: Massachusetts, USA
Distribution: Fedora; Centos; Puppy
Posts: 116

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by jailbait View Post
You could change MAILTO to send the messages to a non-existant email address.

----------------------
Steve Stites
Of course, but that doesn't take care of the tens of thousands of messages which already exist ... somewhere ... and which I cannot locate.

As I said, I figured I'd be able to find them in the relevant mail accounts, but they're not there.

Only three accounts exist in /var/mail, which are root, rpc, and my username, and all of which are empty, yet these ancient cron messages are still flooding into my Gmail account.

Last edited by cheddarcheese; 02-27-2015 at 12:51 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wired cron messages shankarLe Linux - Security 3 10-08-2007 03:15 PM
Cron messages gabsik Linux - Software 4 07-12-2006 05:03 AM
Odd Cron log messages medmedia Linux - Software 2 12-05-2005 03:22 AM
redirecting cron messages jomy General 1 12-29-2004 02:35 AM
cron daily error messages lhoff Linux - Software 3 03-30-2002 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration