LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2006, 02:51 PM   #1
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Rep: Reputation: 19
run mail from terminal


In FC3 I could use the command "mail" in the terminal to send mail, but in gentoo, I can't. What programs do I need installed to do this and/or what different command should I use?
 
Old 04-03-2006, 05:44 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
You could use mutt:

mutt someone@someplace.org
 
Old 04-03-2006, 06:32 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
mail-client/mailx
 
Old 04-03-2006, 09:44 PM   #4
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Original Poster
Rep: Reputation: 19
mailx worked...thx
 
Old 04-03-2006, 09:54 PM   #5
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Original Poster
Rep: Reputation: 19
ok so now i have the mail command, how do i get it to send mail...i run the command, and it just hangs without sending mail...what else do i need?
 
Old 04-04-2006, 12:28 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You need a mailserver (MTA: mail tranport agent) eg sendmail. mailx is a mail client (MUA: mail user agent)
 
Old 04-04-2006, 10:32 AM   #7
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Original Poster
Rep: Reputation: 19
Do I just need to run sendmail as a daemon in order to get this to work, also I see you use Gentoo, could you post your sendmail config file?

THX
 
Old 04-04-2006, 11:07 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Hehee, I do not use sendmail. I used once and I remember I had a look at it's conf file ... it was a very long look. It sure is not postable here. Exim is good and my favorite is postfix.
http://www.gentoo.org/doc/en/virt-ma....xml#doc_chap2
 
  


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
How to run MP3 file thru Terminal in K.D.E or Terminal itz2000 Linux - Newbie 5 08-04-2005 09:49 PM
Why can't I run files in terminal? Stryks Linux - Newbie 3 10-14-2004 08:11 AM
How to e-mail from a terminal vdogvictor Linux - General 5 05-04-2004 03:34 PM
What terminal emulator will run from.... Rikarus Linux - Software 9 05-12-2003 02:58 PM
Mail in terminal TazLinux Linux - General 1 02-23-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:46 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