[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Delete Server Mail Cache
- Subject: RE: [cobalt-users] Delete Server Mail Cache
- From: "Jolley, Carl" <Carl.Jolley@xxxxxxx>
- Date: Wed Sep 4 11:26:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----Original Message-----
From: John Hardin [mailto:jhardin@xxxxxxxxxxx]
Sent: Wednesday, September 04, 2002 1:48 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Delete Server Mail Cache
Hi,
Last week there was discussion about deleting stored
mail on the server. I have a Raq4i. Someone mentioned
% cp /dev/null/home/spool/mail/root.
I found a huge 6,407,000 bytes mail file stored at
/var/spool/mail/admin
Can someone instruct me how to empty it. I'm not that
good at Telnet yet. I can login and then type ru and login
to root. Do I then type this:
% cp /dev/null/home/spool/mail/root
and hit return? I've had very little experience using telnet.
Or delete the file somehow to clear out this server mail cache
from time to time? Will this not only save space, but get rid of
any emails that may have viruses that could mess things up?
-------------------------
You are missing the space after /dev/null, e.g. the command
should be:
cp /dev/null /home/spool/mail/root
This copies the universal empty file to /home/spool/mail/root.
This will leave the file /home/spool/mail/root existing but it will
contain 0 byres.