[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] How to delete mail from raq3



> When I login via telnet, the server tells me I have mail,
> I type in mail, and am shown the following:
> "/var/spool/mail/admin": 1223 messages 1223 new
> 
> So, now I'd like to know how to delete all these messages??
> 
> Can someone tell me how to delete them in one big swoop?

If you're already in the mail program, the command

d1-1223

will delete them all. Then use

q

to quit.

Outside of mail, you can

rm /var/spool/mail/admin
touch /var/spool/mail/admin

or for even greater simplicity,

cat /dev/null > /var/spool/mail/admin

-- 
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx <mailto:rpaiz@xxxxxxxxxxxxxx>