[comp.unix.questions] 4.3bsd vacation program

stanonik@nprdc.arpa (Ron Stanonik) (11/19/88)

One of our users recently used the vacation program.
Mail to him from folks on the same machine was properly
replied to by vacation.  Mail from folks on other machines
generated
	to="|vacation csl", stat=unknown mailer error 1
From our sendmail.cf file, we're using /bin/sh as the
prog mailer, and it appears that local mail inherits
the sender's path (including /usr/ucb where vacation lives),
whereas remote mail uses the default /bin/sh path of
:/bin:/usr/bin (ie, no /usr/ucb, so vacation is unknown).

Well, we could fix this several ways, add /usr/ucb to
/bin/sh's default path, ln -s vacation to /usr/bin,
switch the prog mailer to /bin/csh (which includes
/usr/ucb in it's default path), etc.

Folks here have only recently discovered the vacation
program (problem).  I suspect this problem was hashed
out long ago by other systems, so the question is,
"How did you deal with it?".

Thanks,

Ron Stanonik
stanonik@nprdc.arpa

andy@acorn.co.uk (Andy Ingle) (11/21/88)

I too have spent time tracking down this problem. I told everyone to put
/usr/ucb/vacation in the .forward file. You could update your man entry too.

--Andy Ingle