zsh-users
 help / color / mirror / code / Atom feed
* How to get rid of "The mail in ____ has been read." ?
@ 1999-01-25  3:14 Russell Hoover
  1999-01-25 16:02 ` Sweth Chandramouli
  0 siblings, 1 reply; 5+ messages in thread
From: Russell Hoover @ 1999-01-25  3:14 UTC (permalink / raw)
  To: zsh-users

On a new unix account I have, if I set the MAILCHECK environment variable (in
~/.zshrc -- set there instead of ~/.zshenv to override the MAILCHECK setting
in /etc/zshrc), I get the following message when I exit my mailer (mutt):

"The mail in /home/2/r/rj/.mail has been read."  

(In fact I get it even if I don't set MAILCHECK, since MAILCHECK is set in
/etc/zshrc, the system's startup file -- I just get it less fequently then).

Since I'm using the maildir mailbox format in mutt, where each mail-message is
its own file, the message actually looks like this:

The mail in /home/2/r/rj/.mail//cur/916798766.10989_0.shell3:2,S has been read.
The mail in /home/2/r/rj/.mail//cur/916798766.10989_1.shell3:2,S has been read.
The mail in /home/2/r/rj/.mail//cur/916798766.10989_2.shell3:2,S has been read.
The mail in /home/2/r/rj/.mail//cur/916798766.10989_3.shell3:2,S has been read.
The mail in /home/2/r/rj/.mail//cur/916798766.10989_4.shell3:2,RS has been read.
The mail in /home/2/r/rj/.mail//cur/916842288.1278.shell3:2,RS has been read.

for however many messages are in my inbox.

Of course MAILCHECK also gives me the "You have new mail." message.

My question is, how can I get rid of "The mail in ___ has been read"
without getting rid of "You have new mail" ?

[shell3:~] uname -a
SunOS shell3 5.5.1 Generic_103640-23 sun4u sparc SUNW,Ultra-2
[shell3:~] echo $ZSH_VERSION
3.0.5

(I have a similar setup on 2 other machines and don't get this message.)

-- 
                              // rusty@panix.com //


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: How to get rid of "The mail in ____ has been read." ?
@ 1999-01-25 16:15 Peter Stephenson
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Stephenson @ 1999-01-25 16:15 UTC (permalink / raw)
  To: zsh-users

Bruce Stephens wrote:
> Sweth Chandramouli <sweth@astaroth.nit.gwu.edu> writes:
> 
> > On Sun, Jan 24, 1999 at 10:14:28PM -0500, Russell Hoover wrote:
> > [snip]
> > > My question is, how can I get rid of "The mail in ___ has been read"
> > > without getting rid of "You have new mail" ?
> 
> > from scanning the manpages, it looks like setopt nomailwarning might
> > be what you are looking for
> 
> Yes, I think that's right.  I don't think this affects the ordinary
> "You have new mail" message at all.  I think the mail_warning option
> is a special option for the paranoid; you get the ordinary message
> just by setting mailpath, or MAIL.

I just confirmed this with the sources.  Something else I never knew.

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: How to get rid of "The mail in ____ has been read." ?
@ 1999-01-25 16:49 Bruce Stephens
  0 siblings, 0 replies; 5+ messages in thread
From: Bruce Stephens @ 1999-01-25 16:49 UTC (permalink / raw)
  To: zsh-users

Peter Stephenson <pws@ibmth.df.unipi.it> writes:

> > Yes, I think that's right.  I don't think this affects the ordinary
> > "You have new mail" message at all.  I think the mail_warning option
> > is a special option for the paranoid; you get the ordinary message
> > just by setting mailpath, or MAIL.
> 
> I just confirmed this with the sources.  Something else I never knew.

I vaguely remember it being added.  And yes, it was as much for a joke
as anything.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-01-25 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-25  3:14 How to get rid of "The mail in ____ has been read." ? Russell Hoover
1999-01-25 16:02 ` Sweth Chandramouli
1999-01-25 16:13   ` Bruce Stephens
1999-01-25 16:15 Peter Stephenson
1999-01-25 16:49 Bruce Stephens

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).