Search Posts

Day: August 17, 2019

cannot update mailbox /var/mail/root for user root. error writing message: File too large

If you see the above error in /var/log/maillog, you have probably reached your mailbox limit. Clear your mailbox or increase your limit. However, if you raise the upper limit easily, it will lead to disk pressure, so consider revising your operations first so that your mailbox does not fill up.

To empty the mailbox, do the following: