Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-17-2003, 07:35 PM   #1
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247

Rep: Reputation: 30
Sending mail through command prompt

I usually send and receive email through evolution. I also have fetchmail to retreive mail through the command line. However, today I sent a few emails through the command line using the "mail" command. It never reached its target. They were sent to external mail addresses (not local). Is there any configuration I need to do to set up for mail to send mail through the CLI? Such as maybe my SMTP server? If so where

BTW, sendmail is up and running fine.
Old 02-18-2003, 02:27 AM   #2
Registered: Jan 2003
Posts: 167

Rep: Reputation: 30
The 'mail' command uses sendmail to... aah... send the mail

You are going to need to configure sendmail to do what you want it to do.

Have a look at what you have in /etc/mail and check out the various configuration files.

There are complete textbooks on how to configure sendmail, but here's a site that has some sample configurations and doc's.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 07:44 PM
sending mail from command line won't work disorderly Linux - General 2 06-09-2005 11:29 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
Sending an automatic mail using bash + mail Minuteman Linux - Software 4 08-21-2003 12:49 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:00 PM.

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