> I can't get to disable email notification with bash.
> You know the message that says "You have new mail in /var/mail/user".
> I tried, as bash manual says, to add variable MAILPATH to profile but
> doesn't
> do the job. There's no biff in ps command output, anyway i tried also with
> "biff n"..... no way.
> Can anybody help me?
> Thanks a lot
> Hect
>

Are you sure the shell you're using is BASH and not KSH?

echo $SHELL

If it is BASH then are you exporting the variable such as...

export MAILPATH='/var/mail/bfox?"You  have mail":~/shell-mail?"$_
has mail!"'

Also, be aware that you need a ? separating the files to search and the
message.

HTH

Reply via email to