K
K
Kirill2021-03-03 12:53:24
linux
Kirill, 2021-03-03 12:53:24

How to remove the message You have new mail in /var/mail/root in Debian?

Often I see this message in the console, how to disable this functionality because this file is already almost a gigabyte

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2021-03-03
@init0ru

https://www.stableit.ru/2011/05/debian-you-have-ne...

R
Ruslan Fedoseev, 2021-03-03
@martin74ua

and read mail
or do echo -n > /var/mail/root ...
Well, then .forward in the root home and send it to the mailbox where it is read)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question