[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Bulk email purging on AIX

Posted on 2002-07-18
2
Medium Priority
?
313 Views
Last Modified: 2010-04-21
There is a server with almost 20,000 emails for the root account, most of them unread.  The majority of these can be deleted.  I want to know if there is a quick way to delete groups of them based on subject?  A lot of them have the same subject line.

I am just using the standard mail client.  To my knowledge there is no other mail client available, and no possibility of installing one.  The mail file is /var/spool/mail/root.  AIX is version 4.2.1.

Thanks for any ideas.
0
Comment
Question by:barthalamu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
JIEXA earned 1600 total points
ID: 7293821
I do beleive that there is a tool for doing that.
But I do not beleive in any automatic mail tools :-)
I have had such a problem once (about 2,000 messages),
and solved it this way.

Using "pine" mail reader (somewhere near http://www.washington.edu/pine), enter the Inbox,
("FOLDER LIST" --> "INBOX", or "MESSAGE INDEX" in main menu), sort messages by sybject ( "$S" ), and
start moving down pressing "D" from the first message
with the correct subject to delete.

It should take about 10 minutes from you to do this.
But: at the start (when opening mailbox) it may take
a lot of time and memory.

Good luck.
0
 

Author Comment

by:barthalamu
ID: 7432080
I'm sorry, I forgot about this question...I ended up doing exactly this.  Thanks for the help.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question