LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-08-2008, 04:35 AM   #1
yusufs
Member
 
Registered: Oct 2007
Posts: 162

Rep: Reputation: 30
Truncate mailbox


Hai all,

I have 3 users in my production environment who will be getting mails regualrly.. how can I safetly truncate the mail box of the user .. I dont need the old mails..

Guide please


Thanks
Yusuf
 
Old 01-08-2008, 04:36 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
It might depend on the mailbox, but the usual ones I see are just regular files, and if they are missing, the program re-creates the file when needed. So basically you could just remove the mailbox file, if you mean that. A better practise of course is to move it away and see what happens - if it causes trouble, move the file back.
 
  


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
truncate help munna_dude Programming 8 10-18-2007 10:24 PM
how to truncate munna_dude Programming 5 07-26-2007 12:56 AM
how can i truncate this munna_dude Linux - Networking 1 06-16-2007 12:42 AM
how can i truncate this munna_dude Programming 24 04-12-2007 04:44 AM
how to use truncate sureshbabu Linux - Newbie 1 10-29-2003 05:22 AM


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