On Thu, Oct 28, 2021 at 03:21:47PM +0200, Hans wrote: > Hi folks, > > I got into an issue with mutt. Problem is, mutt can not delete mails and I > myself can not delete > the file below /var/mail/.
You are not *supposed* to delete your entire inbox file. You're only supposed to modify it, potentially reducing the size of it to 0 bytes. That said, I've been using $HOME/Maildir/ for decades, so I don't know how Debian currently manages the /var/mail/* mbox files that it defaults to. /usr/bin/mutt_dotlock is setgid mail on my system, the same as on yours. /var/mail is writable by group mail (same as yours), so that appears to be OK. Can you give us more details? E.g. describe how you delete a single message from your inbox in mutt, and exactly what mutt does when you try it.