LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2005, 12:19 PM   #1
iatemyfingers
LQ Newbie
 
Registered: Jan 2005
Distribution: KNOPPIX
Posts: 24

Rep: Reputation: 15
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?
 
Old 06-29-2005, 12:56 PM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mail command juanb Linux - General 1 11-13-2005 05:43 AM
Cannot send mail with mail() command in PHP 4.3.4, Apache 2.0.48, Mandrake Linux 10 arcanum Linux - General 3 06-27-2004 07:06 PM
mail is not delivered thru the mail command aadilkhan Linux - General 1 11-18-2003 06:37 PM
cannot receive mail -- mail command andy18 Linux - General 1 09-09-2003 04:13 PM
Using the 'mail' command to mail a file Crashed_Again Linux - Software 2 08-08-2003 06:19 AM


All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration