LinuxQuestions.org
Visit Jeremy's Blog.
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 04-15-2004, 10:20 AM   #1
rubbersoul
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
Sendmail


I just installed Linux 8 on a box at work. I have sendmail on it. I haven't made any changes after the install. I want to have this box send all outgoing messages to our other mail server for delivery (i.e. mail.super.com). Right now I'm just trying to test and see if sendmail is even working. I have been using mail rod@super.com on the CLI and all the mail goes into the root account under /var/spool/mail/root. Why isn't this mail being sent to my actually address? What configuration parameters do I need to alter? Thanks.
 
Old 04-15-2004, 11:50 AM   #2
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
I think it might be the usage of your mail command.....when I try to mail from the command line I create a text file (we will call it mail_message), then do this
$ cat mail_message | mail -s "<my subject>" ryan@blahblah.blah
or if you dont want to make the text file, you just leave off the cat mail_message | part and press enter after the email address. It will look like it does nothing, but you need to type in your message and press ctrl+d on a line by itself when you are done. I hope this answers your question
 
Old 04-15-2004, 01:48 PM   #3
rubbersoul
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I can send a message.....but it dosen't end at it's destination. I did as you said before and guess where it ended up. In the root box........Why won't it mail out?
 
Old 04-15-2004, 01:50 PM   #4
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
Check out any logs in /var/log/ that might give you a tip as to what happens. I am by far no sendmail expert, as I have never really set it up before. Mine works this way "out of the box" on my system.
 
  


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
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 07:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM


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