Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!hal!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery) Newsgroups: comp.mail.misc Subject: Re: Trouble with notify Message-ID: <1989Sep15.003933.1173@NCoast.ORG> Date: 15 Sep 89 00:39:33 GMT References: <8909131437.AA18823@jvncf.csc.org> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery) Followup-To: comp.mail.misc Organization: North Coast Public Access UN*X, Cleveland, OH Lines: 30 As quoted from <8909131437.AA18823@jvncf.csc.org> by saroff@JVNCF.CSC.ORG (Steve Saroff lac00001): +--------------- | I am trouble getting the ordinary notify on an ultrix machine. | I do | | setenv MAIL "20 /usr/spool/mail/$USER" | | and I set notify, but for some reason I don't get any notifications. +--------------- The MAIL environment variable does not use csh format, and can not be set in that way. It must be set to the name of yoru maildrop and nothing else, or most mailers and the much-hated Bourne shell will throw fits. .login: setenv MAIL /usr/spool/mail/$USER set mail=(20 $MAIL) .cshrc: if ( $?MAIL ) set mail=(20 $MAIL) (The double "set mail" is because .cshrc executes *before* .login in a login shell.) ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@NCoast.ORG uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu bsa@telotech.uucp, 161-7070 BALLBERY (MCI), ALLBERY (Delphi), B.ALLBERY (GEnie) Is that enough addresses for you? no? then: allbery@uunet.UU.NET (c.s.misc)