On Solaris, the environment variable MAIL gets set to
/var/mail//user, (with double // before user name),which breaks
some MUAs, e.g. emacs' Rmail. The problem lies in the fact that
/usr/include/maillock.h has:
#define MAILDIR "/var/mail/"
while session.c adds another /
snprintf(buf, sizeof buf, "%.200s/%.50s",
_PATH_MAILDIR, pw->pw_name);
This only occurs on systems with maillock.h (i.e. not on linux)
--
Luc Dierckx
Systems Manager
Laboratory for Computational Intelligence
University of British Columbia