LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using the MAIL command (https://www.linuxquestions.org/questions/linux-newbie-8/using-the-mail-command-338413/)

iatemyfingers 06-29-2005 11:19 AM

Using the MAIL command
 
I've been playing around with the mail command, and it strangly amazes me that I don't have to log in to a server, such as hotmail, to send email. I can just send it from my own computer. However, I'm wondering how I could RECIEVE mail at my own comp, w/o having to log in to anyone's server to get the email?

stefan_nicolau 06-29-2005 11:56 AM

A) The mail you send is sent using a smtp server running on your own computer. Be aware that many mail servers do not like getting mail from computers that have no MX record, as this is usually spam.
B) You will only be able to read the mail recieved on your own smtp server. I.E. you can't use the mail command to get your Hotmail mail. Mail is read from /var/spool/mail/<you>. To recieve mail, the mail must be sent to you@your.computer.name


All times are GMT -5. The time now is 10:37 AM.