Home » Questions » Computers [ Ask a new question ]

How to read email received on a Debian server

How to read email received on a Debian server

I have a VPS (virtual private server) running Debian Linux. When I login using PuTTY the console shows - "You have mail"

Asked by: Guest | Views: 335
Total answers/comments: 2
bert [Entry]

"Just type mail, it is the most basic way to read the mail. It should be installed by default on a Debian system, it comes from the mailutils package. Read the man page or type ? to figure out commands to use.

But there are better ways to read the mail. As noted earlier, mailx is an improved version. Even more user-friendly are mutt, cone and (al)pine. All of these are packaged by Debian and can be installed by apt-get"
bert [Entry]

"/var/mail/user

or

/var/spool/mail/user"