[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] How to delete messages that have been download incase timedout or aborted in qpopper
- Subject: RE: [cobalt-users] How to delete messages that have been download incase timedout or aborted in qpopper
- From: "RaQ Manager" <cobalt@xxxxxxxxxxxxxxxxx>
- Date: Fri Jan 3 09:06:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> Has anyone managed to figure out how to delete messages that have been
> download incase timedout or aborted in qpopper?
This is how I do it:
Put the following code in an executable file in your /usr/local/bin (I call
the file 'editmail'). Then you just type 'editmail joe' from the command
line (you'll have to be logged in as the user or as root).
This will show you the headers of each email and allow you to selectively
delete individual emails. When a user has a corrupted mail drop or has
received a huge file that they don't want to download we use editmail to
perform and email-ectomy.
There is a built-in help function that will show you all the available
commands.
#!/bin/csh -f
# editmail - Allows you to edit/DELETE Messages from a user's mailbox
# usage: editmail {username}
mail -f /home/spool/mail/$1
echo " "
--
When it's time to get away with your family...
Visit http://www.ThingsToDo.com