tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Murat Balci <balci () baum01 ! ege ! edu ! tr>
To: tru64-unix-managers
Subject: SUMMARY mail.
Date: Sun, 10 Sep 1995 13:03:24 +0000	[thread overview]
Message-ID: <96075323306515.tru64-unix-managers.marc@archive.invalid> (raw)


Hi,
My original question was ;

- o -

Hi,

I want to change the message that appear when users loged in that says 
"You have new mail" with a macro like  

	echo "You have" `from | wc -l` "new mail"

How can I do that ? I wrote the second one to /etc/csh.login but, first 
"You have new mail" appears and than " You have X new mail". Is it 
possible to disable the first one ? 

Thanx in advance.
murat.

- o -

	I had some questions, thanx for all. 
	
	Some of which are as follows ;


Norman Wilson <norman@hprc.utoronto.ca>  

My Alpha (still!) hasn't arrived yet, but I'm pretty sure that the
`You have new mail' message is printed by login; the only way to
disable it is probably to create a `.hushlogin' file in each user's
home directory.  (Maybe OSF/1 login has some configuration table
somewhere where you can do that globally, but I don't know where it
is).

.hushlogin will also turn off the `last login' message normally printed
by login, and will prevent login from displaying /etc/motd.  You can
arrange for /etc/csh.login and /etc/profile to do those things too, of
course.

-
 Liz Stewart <liz@ece.neu.edu>     

There is a daemon that runs that produces that "You have new mail" message, I
believe it is called comsat.  If you disable it, then you will not get the two
message.  Check in the inetd configuration file, I think you'll find it 
there.

-
 Paul A Sand <pas@keokuk.unh.edu>         

 Paul A Sand <pas@keokuk.unh.edu>         
I believe a .hushlogin file in the users' home directories will
shut just about every ``default'' login message off. Unfortunately,
that might be MORE than you want to do.


	But also

"Michael A. Crowley" <mcrowley@mhc.mtholyoke.edu>       said ;

I'd advise against that.  There are too many instances
when checking from lines fails or gives misleading
information.

With a larger mail folder, it adds to login processing.

-
	Yes, this is true ! Unfortunately after adding my script to 
/etc/csh.login  logins became *slow*, and then I removed it.

	Anyway, I thanx all for their answers.

Sincerely.
murat.
---- 
Murat Balci	 UNIX 
sys. Admin	 s-mail : Ege Universitesi B.A.U.M - Bornova, IZMIR, TURKIYE.
e-mail : balci@baum01.ege.edu.tr	Phone :+(90)(232)3881080-253

             reply	other threads:[~1995-09-10 13:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-10 13:03 Murat Balci [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-01-03 14:58 summary :mail Stephane.Branchoux
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox