LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-29-2003, 03:26 PM   #1
paperdiesel
Member
 
Registered: Oct 2003
Location: southern cali
Distribution: fedora core 4
Posts: 79

Rep: Reputation: 15
simple sendmail help!


I'm new to all things sendmail. How do I get my rh9 linux box to be able to send emails using the sendmail or mail command? I don't need anything tricky, I just need to know how to get sendmail to send a message, that's it. I don't even care about receiving.

Do I need to somehow configure something to work with my ISP's smtp server? What do I do? This task seems simple enough, but I can't find a straight answer anywhere.
 
Old 11-04-2003, 04:40 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
How do I get my rh9 linux box to be able to send emails using the sendmail or mail command?
In short "mail -s <subject> <address> <cc address>". If you don't use a mail user agent like Pine, Mutt, Elm or any of the X Windows mail clients, the "mail" command from the "mailx" package provides basic access to email functions. It's easy to use in scripts.


I don't even care about receiving.
Make sure you don't run sendmail: as root, run "chkconfig --list". If sendmail is installed, check it's listed as "off". If you don't need to run sendmail to receive mail , that is, your box is not a mail host, then deinstall sendmail.
 
Old 11-07-2003, 03:01 PM   #3
paperdiesel
Member
 
Registered: Oct 2003
Location: southern cali
Distribution: fedora core 4
Posts: 79

Original Poster
Rep: Reputation: 15
That's interesting. Why not use sendmail? And why go so far as to uninstall it? That box is behind a router and all ports in to it are closed, so it seems relatively secure.

And does "mail" have all the same functionality? Can I specify the to, from, subject, cc, and bcc fields?
 
  


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
(Probably) Simple sendmail question 46&2 Slackware 13 08-01-2005 01:20 AM
simple sendmail question Avatar Linux - Software 1 07-13-2004 08:20 AM
simple sendmail admin bananaman Linux - Software 1 05-19-2003 08:12 AM
sendmail over simple network clk777 Linux - Networking 1 07-08-2002 11:26 AM
Sendmail (setting up for a simple network) matthew_carson Linux - General 2 01-19-2002 04:50 AM

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

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

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