[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stop "You have mail in /var/mail/mike"



On Sun, Aug 10, 2025 at 21:48:53 -0500, Mike McClain wrote:
> BTW, MAILCHECK="" sets it at 0.

That is *extremely* odd.  The only way that could happen is if you've
turned on the "-i" attribute for the MAILCHECK variable.  This is not
the default.

hobbit:~$ bash
hobbit:~$ declare -p MAILCHECK
bash: declare: MAILCHECK: not found
hobbit:~$ MAILCHECK=""
hobbit:~$ declare -p MAILCHECK
declare -- MAILCHECK=""
hobbit:~$ declare -i MAILCHECK
hobbit:~$ MAILCHECK=""
hobbit:~$ declare -p MAILCHECK
declare -i MAILCHECK="0"

If this is something you've done, I advise you to undo it.


Reply to: