Re: mail doesn't read mail from /var/mail/root

2018-11-08 Thread ivpgbe
Mystery solved! The very first line is missing a space between ‘Nov’ and ‘1’ (should be two spaces). After adding it back, mail can now parse the file. (Also, Nov 1 is Thu, not Sun, but that wouldn’t have prevented mail from parsing the file). I will send a patch to tech@ adding that space back -

Re: mail doesn't read mail from /var/mail/root

2018-11-08 Thread ivpgbe
And regardless, /usr/src/usr.bin/mail/main.c:95 unsets MAIL environment variable when an '-u' flag is present, and the problem I'm reporting persists even when I run mail -u root as root. On Thu, Nov 8, 2018, at 7:29 AM, ivp...@eml.cc wrote: > Yes, and I didn't change any defaults: > > # set

Re: mail doesn't read mail from /var/mail/root

2018-11-08 Thread ivpgbe
Yes, and I didn't change any defaults: # set | grep MAIL MAIL=/var/mail/root MAILCHECK=600 On Thu, Nov 8, 2018, at 7:23 AM, Otto Moerbeek wrote: > On Thu, Nov 08, 2018 at 07:18:57AM -0800, ivp...@eml.cc wrote: > > > I also tested on 6.4-release, and can confirm the same behavior. > > Is you

Re: mail doesn't read mail from /var/mail/root

2018-11-08 Thread Otto Moerbeek
On Thu, Nov 08, 2018 at 07:18:57AM -0800, ivp...@eml.cc wrote: > I also tested on 6.4-release, and can confirm the same behavior. Is you MAIL environment var set? -Otto > > On Thu, Nov 8, 2018, at 7:13 AM, ivp...@eml.cc wrote: > > On Thu, Nov 8, 2018, at 6:03 AM, TronDD wrote: > > >

Re: mail doesn't read mail from /var/mail/root

2018-11-08 Thread ivpgbe
I also tested on 6.4-release, and can confirm the same behavior. On Thu, Nov 8, 2018, at 7:13 AM, ivp...@eml.cc wrote: > On Thu, Nov 8, 2018, at 6:03 AM, TronDD wrote: > > On November 8, 2018 1:39:13 AM CST, ivp...@eml.cc wrote: > > >Hello, > > > > > >I must be missing something obvious, but

Re: mail doesn't read mail from /var/mail/root

2018-11-08 Thread ivpgbe
On Thu, Nov 8, 2018, at 6:03 AM, TronDD wrote: > On November 8, 2018 1:39:13 AM CST, ivp...@eml.cc wrote: > >Hello, > > > >I must be missing something obvious, but since installing 6.4-current > >(on a few versions in a row), I can't get mail to read /var/mail/root. > > > >After logging in, I see:

Re: mail doesn't read mail from /var/mail/root

2018-11-08 Thread TronDD
On November 8, 2018 1:39:13 AM CST, ivp...@eml.cc wrote: >Hello, > >I must be missing something obvious, but since installing 6.4-current >(on a few versions in a row), I can't get mail to read /var/mail/root. > >After logging in, I see: > >>---< >OpenBSD 6.4-current (GENERIC.MP) #425: Sun

mail doesn't read mail from /var/mail/root

2018-11-07 Thread ivpgbe
Hello, I must be missing something obvious, but since installing 6.4-current (on a few versions in a row), I can't get mail to read /var/mail/root. After logging in, I see: >---< OpenBSD 6.4-current (GENERIC.MP) #425: Sun Nov 4 [... skipped ...] You have mail. thor# mail No mail for root