LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2012, 04:36 PM   #1
osmy
Member
 
Registered: Mar 2011
Posts: 58

Rep: Reputation: 0
Unhappy Emptying the Default Email Account


Hello,

I am using centos 5 server with WHM/CPANEL installed. I am receiving lot's of cronjob command reports on default mail adress. I need a cronjob for Emptying the Default Email Account every 30 day.

I found this:

echo > /home/user/mail/domain.com/me/inbox

I tried it but it did not work. I need a command to clear default mail.

Your help appreciated!!!
 
Old 03-06-2012, 05:08 PM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi osmy

How are your emails defined ?
Is it Sendmail's Inbox or Postfix Maildir or something else ? (where are your email messages stored)

Where do you keep the settings for emails,
this
Quote:
I am receiving lot's of cronjob command reports on default mail adress....
doesn't really help to find a solution.

What is your default email address (mask your real address if you post it)?
Root , like "admin@example.com" ?
or is it domain default (like: "postmaster@example2.com" ) if you're serving multiple domains ?

Last edited by lithos; 03-06-2012 at 05:09 PM.
 
Old 03-10-2012, 12:35 PM   #3
osmy
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
It's called defaul e-mail adress on cpanel
 
Old 03-10-2012, 08:35 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,690
Blog Entries: 12

Rep: Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904
What is generating the mails, the cron job or cpanel? If it's cron, you could point your jobs' output to /dev/null once you are certain they are working correctly, unless you must monitor the emails. This link has more: http://www.adminschoice.com/crontab-quick-reference

If it's cpanel, let us know; I have some contacts who know it in and out and I'm sure there are folks here who know cpanel very well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Evolution email: How to remove an email account PaddyJoe Linux - Software 3 08-28-2011 10:15 PM
Postfix: forward all account email within domain to another email account? 18Googol2 Linux - Software 3 03-04-2011 02:10 PM
cyrus email account linux account nobu Linux - Enterprise 0 10-31-2005 04:16 AM
using multiple email programs for one email account kshaffer Linux - Software 1 01-07-2005 06:00 PM
Creating A Second Email Address For Email Account On Sendmail treedstang Linux - Software 1 04-27-2004 11:31 PM


All times are GMT -5. The time now is 08:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration