SUMMARY mail.

From: Murat Balci <balci_at_baum01.ege.edu.tr>
Date: Sun, 10 Sep 1995 17:03:24 +0400 (EET DST)

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_at_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_at_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_at_keokuk.unh.edu>

 Paul A Sand <pas_at_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_at_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_at_baum01.ege.edu.tr Phone :+(90)(232)3881080-253
Received on Sun Sep 10 1995 - 16:24:11 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT