> > Hi! > > When loging in, my users sometimes get the message 'You have > mail', when in fact they have new mail. > > Also, in redhat whenever they received new mail and they where in > the bash shell, they'd get the 'You have new mail' after any command. In > debian they don't. >
I think in /etc/profile, you have to include export MAILPATH=/usr/spool/mail/$USER (untested) See man bash and look for MAILPATH. HTH, Eric Meijer -- E.L. Meijer ([EMAIL PROTECTED]) | tel. office +31 40 2472189 Eindhoven Univ. of Technology | tel. lab. +31 40 2475032 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null