Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-27-2008, 04:32 AM   #1
Registered: Jan 2008
Posts: 98

Rep: Reputation: 0
Sendmail setup

Hi, can somebody point me or explain steps needed to run sendmail.
I have a small network at home with 1 windows 2003 server, 2 laptops and 1 linux FC 4. I come form windows world, setting SMTP service in IIS is visually done. I read some articles on the web but they are all a little bit complicated and does't make me upand go.
I have no internal DNS, no domain (only work group). I want my linux machine be able to send me emails to my work mail (alerts).
My linux machine is called "Linux",its IP is, I have changed the following 2 lines in


# O DaemonPortOptions=Port=smtp,Addr=, Name=MTA O DaemonPortOptions=Port=smtp,Addr=, Name=MTA

when I try to send a mail as follows in a terminal :
Subject: test

I get a mail in the root file :

Content-Type: message/rfc822

Return-Path: <root@localhost.localdomain>
Received: from localhost.localdomain (linux [] (may be forged))
by localhost.localdomain (8.13.7/8.13.7) with ESMTP id m0PFr0MV023339;
Fri, 25 Jan 2008 16:53:01 +0100
Received: (from root@localhost)
by localhost.localdomain (8.13.7/8.13.7/Submit) id m0PFqxsY023338;
Fri, 25 Jan 2008 16:52:59 +0100
Date: Fri, 25 Jan 2008 16:52:59 +0100
From: root <root@localhost.localdomain>
Message-Id: <200801251552.m0PFqxsY023338@localhost.localdomain>
Subject: testing email

This is from red hat


I think maybe it is necause "root@localhost" and it should be changed to a valid mail. If yes, how can I change it that my mails apear as if it were from
Old 02-03-2008, 08:55 AM   #2
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 97
Normally you don't need to do anything special to get sendmail to
deliver email from that system. However, you do need to make sure
all the details of the network are right.

Which version of Red Hat are you using? They have great documentation
online. If you look up the administration document, verify your network
settings including your hostname and domainname, then undo your changes
to sendmail and try again.


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 setup shadowc Linux - Newbie 4 10-03-2007 03:51 PM
Sendmail 8.12.10 setup brooky9999 Linux - Server 2 09-29-2006 04:01 AM
How to setup sendmail? alexr186 Linux - Software 4 12-19-2003 05:01 PM
Sendmail Setup /etc/opiekeys? micxz Linux - Software 1 10-03-2003 08:24 PM
sendmail setup Finlay Linux - Networking 16 03-18-2003 02:00 PM > Forums > Linux Forums > Linux - Networking

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