Raymond-- To clear root's mailbox from the command line and preserve the box (all messages will be deleted that are not sorted into another folder): cat /dev/null > /var/spool/mail/root To prevent annoying Cron mail: * * * * 5 /root/blah/blah > /dev/null & /dev/null is your friend! Regards, Mark Mark J. Kroska Director Web Services KDV Technology and Consulting Services, Inc. Direct 320-258-6412 Main 320-252-7060 Fax 320-252-9627 mkroska at kdv.com "NOTICE: This E-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution or copying of this communication is strictly prohibited, Please reply to the sender that you have received the message in error, then delete it. Thank you." ----- Original Message ----- From: "Raymond Norton" <admin at lctn.org> To: <tclug-list at mn-linux.org> Sent: Saturday, May 08, 2004 5:59 AM Subject: [TCLUG] clean up > How can I delete all root email from the command line and still preserve the > mailbox? > > > I would also like to stop mrtg from sending a notice to root every 5 minutes > > > Raymond Norton > LCTN > admin at lctn.org > > > To Infinity and beyond! > > --Buzz Lightyear > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.real-time.com/mailman/listinfo/tclug-list _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list