LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-07-2011, 02:11 AM   #1
mandla_nib
LQ Newbie
 
Registered: Sep 2011
Location: India
Distribution: RHEL5.4
Posts: 2

Rep: Reputation: Disabled
Deleting mail from sendmail server as an administrator


We are using sendmail RHEL4 server for our organisation.
In our server we have not defined quota system for our users. Now files such as INBOX.Trash, INBOX.Sent, INBOX..... of different users become very big sizes.
Can I delete these mails from sendmail server directly as an administrator without logging as an indivisual user for each user.
Pls help


thanks with regards
 
Old 10-07-2011, 03:31 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
You can access their INBOX from command line

Just go to their home folder where you can find all the mails of that user

like for mine it is in
Code:
#vim /home/user1/mail/INBOX.Sent
(and delete the mails)

Last edited by deep27ak; 10-07-2011 at 04:05 AM.
 
1 members found this post helpful.
  


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
where do mail go if user not exist on mail server(sendmail) Terry56 Linux - Server 1 01-22-2010 06:09 AM
Help me guide to setup mail server as a mail-gateway use spamassasin (use sendmail) adcom99 Linux - Newbie 1 11-03-2007 04:47 PM
Mail Server Issues; Can't Send E-mail (using sendmail) Vegetarian Smoker Linux - Software 1 06-18-2006 03:16 PM
Deleting mail on the server joji_in_changwon Programming 3 06-15-2005 08:00 PM
Evolution not deleting POP3 server mail when Getting mail. dummy.1 Linux - Newbie 3 07-13-2004 08:50 AM


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