LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-08-2013, 08:09 AM   #1
skoda
Member
 
Registered: Jun 2013
Posts: 111

Rep: Reputation: Disabled
Cleaning Mail Box


Hello,

in our vps running webhosting service have a client whos account had affected by spam in the past so much. now the spamming is under controlled. but his mailbox is taking 1.8gb while the hosting quota is 2.gb. now i am in need of clearning his mailbox by deleting spam messages.

now i am in var/spool/mail folder and i can see his mail box file myclient

but if i enter #cat myclient it does not show anything.

so how do i clean this mail box?


Thank you.
 
Old 09-08-2013, 08:17 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by skoda View Post
Hello,

in our vps running webhosting service have a client whos account had affected by spam in the past so much. now the spamming is under controlled. but his mailbox is taking 1.8gb while the hosting quota is 2.gb. now i am in need of clearning his mailbox by deleting spam messages.

now i am in var/spool/mail folder and i can see his mail box file myclient

but if i enter #cat myclient it does not show anything.

so how do i clean this mail box?


Thank you.
It depends on how the user is processing mail. It is entirely possible that the file is empty - and the mail messages are stored by the users mail handler in the users account.
 
Old 09-08-2013, 08:24 AM   #3
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jpollard View Post
It depends on how the user is processing mail. It is entirely possible that the file is empty - and the mail messages are stored by the users mail handler in the users account.
hai jp,

then you must be true

#du -m myclient > shows 0

edited :

then ill look for users mail dir, thank you for the good information.

Last edited by skoda; 09-08-2013 at 08:26 AM.
 
  


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
split mail received in local mail box into different files golden_boy615 Linux - General 1 10-30-2010 11:13 AM
Build a mail box for internal and external mail Corsari Linux - Server 9 11-12-2007 05:50 AM
Cleaning up files on my Slackware box? JockVSJock Slackware 3 06-29-2005 08:29 AM
Cleaning Mail Queues in Qmail macnut Linux - Software 4 10-24-2004 03:55 PM
Access others mail box thprince Linux - Security 3 09-06-2003 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 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