LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2004, 05:05 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
cron mail deferred


This is my crontab

Code:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=email_cron@localhost.localdomain
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
2 0,12 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
But yet mail keeps being sent to the root account, and this screws up because it gets deferred for some reason, then the bounce message also get's deferred etc.... so if I leave this for about a day I end up with a few thousand emails going all over the server.

Is there a way to force it to use this cron tab? it's the only one on the server, so I don't know where it's getting the other info that says to send to root. And by the looks of this cron tab it does not even match what I really have set through webmin. I can somewhat understand these codes and it's all wrong. So where would webmin store this? It's not called crontab that's for sure... (did a locate)
 
Old 09-06-2004, 05:50 PM   #2
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
It seems to only do it to certain cron jobs, since I just started getting some emails for some cron jobs, but not all though. Some are still trying to send to root and getting deferred.
 
Old 09-10-2004, 05:47 PM   #3
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
bump
 
  


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
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 07:44 PM
No More Cron Mail, Cron Error? Xhost Linux - General 3 07-26-2004 04:28 PM
need only cron job mail on my mail id manojthakkar Linux - Newbie 0 12-20-2003 05:41 AM
Cron: E-Mail me only when necessary elconde Linux - General 3 05-31-2002 09:40 AM
SENDMAIL: I can receive mail but timeouts when trying to send. mailq show deferred. adamrau Linux - Software 0 10-01-2001 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:25 AM.

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