Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #391: We already sent around a notice about that.


comp / comp.unix.bsd.freebsd.misc / Vanishing Mail Notification

SubjectAuthor
* Vanishing Mail NotificationLouis Epstein
+- Re: Vanishing Mail NotificationLowell Gilbert
`- Re: Vanishing Mail NotificationWinston

1
Subject: Vanishing Mail Notification
From: Louis Epstein
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: PANIX Public Access Internet and UNIX, NYC
Date: Sun, 24 Mar 2024 16:36 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!panix!.POSTED.main.lekno.ws!not-for-mail
From: le@main.lekno.ws (Louis Epstein)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Vanishing Mail Notification
Date: Sun, 24 Mar 2024 16:36:26 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <utpkqa$ep7$1@reader1.panix.com>
Injection-Date: Sun, 24 Mar 2024 16:36:26 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="main.lekno.ws:12.144.5.2";
logging-data="15143"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.3-20231224 ("Banff") (FreeBSD/13.3-RELEASE (amd64))
View all headers

For some reason my newest install doesn't
precede prompts with "You have new mail in /var/mail/le"
as appropriate.
What turns this on or off?

("You have new mail" still appears on login).

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.

Subject: Re: Vanishing Mail Notification
From: Lowell Gilbert
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Mar 2024 18:32 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lgusenet@be-well.ilk.org (Lowell Gilbert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Vanishing Mail Notification
Date: Sun, 24 Mar 2024 14:32:06 -0400
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <445xxbcwgp.fsf@be-well.ilk.org>
References: <utpkqa$ep7$1@reader1.panix.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="28a4f3ae0b59f80deebf927f85d71eae";
logging-data="560865"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//M58IlbGmbtym7bwgVWA3"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:3AFawgMWavVPR+wFf0HlQQaP6BU=
sha1:e4LrKsgUDcZxJ7Bu3xhA4JD0VpQ=
View all headers

Louis Epstein <le@main.lekno.ws> writes:

> For some reason my newest install doesn't
> precede prompts with "You have new mail in /var/mail/le"
> as appropriate.
> What turns this on or off?

That's a feature of the shell. [I don't recall ever running into any
other way to do it, but I wouldn't be at all surprised if someone,
somewhere, had done it a different way.]

> ("You have new mail" still appears on login).

Oh, right. *That* would be an example of a different way, kind of.
That is driven by login.conf(5), and is not shell functionality. I
don't have the sources mounted, but offhand I'm pretty sure it's
implemented somewhere in the pam libraries or the login program.

So, all flippancy aside: how it's done depends on your shell.
However, the change in behavior may come from changes in environment
variables inherited by the shell, so the shell itself may not be the
thing that changed.

Be well.
--
Lowell Gilbert, embedded/networking software engineer
http://be-well.ilk.org/~lowell/

Subject: Re: Vanishing Mail Notification
From: Winston
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Mon, 25 Mar 2024 06:15 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wbe@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Vanishing Mail Notification
Date: Mon, 25 Mar 2024 02:15:09 -0400
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <ydjzlqhm6q.fsf@UBEblock.psr.com>
References: <utpkqa$ep7$1@reader1.panix.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 25 Mar 2024 07:15:00 +0100
Injection-Info: dont-email.me; posting-host="99675b699b6ade7efd56dd58ef367918";
logging-data="982023"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+chzy8xOqe50Gt6byl2xtH"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:ZTgsOSmKMxg80qlPYcOtl61asbQ=
sha1:V259pygnB7yicK+Vhg9nV1hRc64=
Mail-Copies-To: never
View all headers

Louis Epstein <le@main.lekno.ws> writes:
> For some reason my newest install doesn't
> precede prompts with "You have new mail in /var/mail/le"
> as appropriate.
> What turns this on or off?

> ("You have new mail" still appears on login).

Your shell usually does that, and the answer would depend on which type
of shell you use. man {your shell} and search for mail.

For sh-type shells, I think just setting the environment variable MAIL
is enough to have it check the mailbox.

For csh-type shells, there's setenv mail your-mailbox, but also look at
the special aliases "periodic", "tperiod", "precmd", and "postcmd".
Of the special aliases, check precmd and tperiod first.
-WBE

1

rocksolid light 0.9.8
clearnet tor