LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to delete postmaster mails (https://www.linuxquestions.org/questions/linux-software-2/how-to-delete-postmaster-mails-493070/)

lenson 10-17-2006 01:25 AM

How to delete postmaster mails
 
Hi,

Was wondering how to delete postmaster mails either thru cyrus commands or any other way. The postmaster mailbox is filled with Mailer deamon mails and the size of the mailbox is around 8 GB. we need to delete these mails. Cant seem to login normally to this account. Is there a access limitation to viewing this mailbox (root..?). Any help appreciated.

Am an amateur btw..

Thanks

Omer Fadul 10-17-2006 01:48 AM

usually the postmaster email is root email,
to delete the contenet of this file simply: echo > /var/spool/mail/root


All times are GMT -5. The time now is 01:15 AM.