changing mail directory

Dave Levenson dave at westmark.UUCP
Mon Oct 3 11:00:11 AEST 1988


In article <286 at mccc.UUCP>, pjh at mccc.UUCP (Pete Holsberg) writes:

> SysV puts incoming mail in /usr/mail/<login>.  Is there a way to change
> that (without patching source code)?  I thought that the MAIL
> environmental variable controlled the destination, but someone suggested
> that since it is uucp that is "logging in" and is using uucici as its
> shell, it doesn't look at MAIL.

The problem is that your MAIL environment variable is your own.  You
can change it when you log in, but it doesn't change the value used
by everyone else on your machine, especially rmail -- the process
spawned by the uux rmail command that is received and processed by
uucico when mail is received on your machine.

You will probably need to re-compile rmail to accomplish what you
want.

-- 
Dave Levenson
Westmark, Inc.		The Man in the Mooney
Warren, NJ USA
{rutgers | att}!westmark!dave



More information about the Comp.unix.questions mailing list