LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-30-2007, 10:37 AM   #1
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 598

Rep: Reputation: 30
Thumbs down how to delete mails


whenever i login to my system i get a message , you have a mail.when i type mail, am getting a lot of mails. After reading those how can i delete them.

Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/root": 34 messages 34 new
>N 1 root@localhost.local Sat Mar 24 13:36 29/1134 "SMART error (CurrentPendingSector) det"
N 2 root@localhost.local Sat Mar 24 14:56 29/1134 "SMART error (CurrentPendingSector) det"
N 3 root@localhost.local Sat Mar 24 15:26 29/1134 "SMART error (CurrentPendingSector) det"
N 4 root@localhost.local Sat Mar 24 16:37 29/1134 "SMART error (CurrentPendingSector) det"
N 5 root@localhost.local Sat Mar 24 17:09 29/1134 "SMART error (CurrentPendingSector) det"
N 6 root@localhost.local Sat Mar 24 18:15 29/1134 "SMART error (CurrentPendingSector) det"
N 7 root@localhost.local Sun Mar 25 10:58 29/1134 "SMART error (CurrentPendingSector) det"
 
Old 03-30-2007, 11:27 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
After you view the message press d to delete it, when finished viewing them all, press q to quit. Alternatively, you can press d 1 to delete the first message, and so forth, then press q. If you press x to exit mail the marked deleted mails will remain.

http://www.linuxmanpages.com/man1/mail.1.php
 
  


Reply



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
mutt delete all mails noir911 Linux - Software 5 03-30-2016 11:54 AM
How to delete postmaster mails lenson Linux - Software 1 10-17-2006 01:48 AM
delete mails thru cron job massoo Linux - General 0 01-12-2005 02:19 AM
auto delete old mails in sendmail - Pls Help maharajg Linux - Networking 3 11-10-2004 11:21 AM
Delete mails imsajjadali Red Hat 8 02-16-2004 12:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:36 PM.

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
Open Source Consulting | Domain Registration