LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-01-2008, 05:52 PM   #1
sefaklc
LQ Newbie
 
Registered: Aug 2007
Location: ankara(turkey)
Distribution: ubuntu,red hat
Posts: 28

Rep: Reputation: 15
'mail' command -- can't send mail


hello all

i am trying to send mail from command line

i write sth. like that

Code:
mail sefakilic@gmail.com
but my mail doesn't go.Because my outgoing address is 'sefa@sefa~laptop' (user and computer name)
how can i change outgoing address and other useful setups

Thanks alot!
 
Old 02-01-2008, 06:17 PM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
The answer is that you usually configure these things through the SMTP you are using for outbound mail. If you are using an ISP to get to the internet, you'll want to do a man on mailx and look for how to setup how to attach to your ISP's smtp via options you can set in your .mailrc file.

Alternatively, a local smtp can be configured to do this. But that varies from distribution to distribution. The most popular one (I think) is postfix. But Debian likes to use exim and Red Hat sometimes prefers old fashioned sendmail (ewww!). So... which one do you have?
 
  


Reply



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
Unable to send mail using mail command faruque.ahmed Linux - Software 1 02-03-2007 10:29 AM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM
I cant get postfix to send with mail command roller24 Linux - Newbie 1 11-28-2005 03:21 PM
Command Line Send Mail nutthick Linux - Newbie 10 01-24-2005 07:52 PM
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 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 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
Open Source Consulting | Domain Registration