On Fri, November 25, 2016 12:36 pm, Walter Alejandro Iglesias wrote: > Hello trondd, > > On Fri, Nov 25, 2016 at 11:03:49AM -0500, trondd wrote: >> On Fri, November 25, 2016 4:17 am, Walter Alejandro Iglesias wrote: >> > Is this on purpose? >> > >> > I've tried adding 'set keep' to /etc/mail.rc and /root/.mailrc >> > but mail(1) still removes empty mailbox files before quiting. >> > >> >> Worked here. How exactly are you reading mail? >> > > Have you tried running mail as root as I said in the subject? > > For example, copy some mbox file to /tmp, then su to root and open the > file: > > # mail -f /tmp/mbox >
This makes a difference. That's not a system mailbox. 'Keep' seems to only apply to a system mailbox and not to a "file". Though, it seems like it should.