LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-27-2008, 04:32 AM   #1
eliassal
Member
 
Registered: Jan 2008
Posts: 83

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 192.168.1.11, I have changed the following 2 lines in sendmail.cf

Cwlinux

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


when I try to send a mail as follows in a terminal :
mail salam@mydomain.fr
Subject: test
fdfdfdfdf
.
cc:

I get a mail in the root file :

--m0PKhP30026207.1201293929/linux
Content-Type: message/rfc822

Return-Path: <root@localhost.localdomain>
Received: from localhost.localdomain (linux [127.0.0.1] (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>
To: salam@altern.org
Subject: testing email
Cc: salam.elias@free.fr

This is from red hat

--m0PKhP30026207.1201293929/linux--

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 salamlinux@mydomain.fr
Thanks
 
Old 02-03-2008, 08:55 AM   #2
carltm
Member
 
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.
 
  


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 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


All times are GMT -5. The time now is 07:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration