LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-06-2009, 02:08 PM   #1
cyclegar
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Rep: Reputation: 1
configuring sendmail for a private network.


Hello ALL,

My goal is to have users(Unix Users like root on host1) use evolution /sendmail to send and receive emails between users( Unix users either from host1 or any other host on n a private network.

The network is a private network with a few servers without any connection to Internet and no DNS.

They resolve one another by /etc/hosts.

with smtp configured am able to send and receive emails on one machine(host1) from unix user abc on host1 to user xyz on host1 and vice versa.

the commad i used to test is
host1@abc #echo "this is a test mail" |mailx zyx@host1

But when i tried sending from user abc on host1 to user xyz on host2 its giving error for DNS unable to resolve hostname.

the commad i used to test is
host1@abc# echo "this is a test mail" |mailx zyx@host2

I am a newbie on sendmail and hence needs help

can someone help me to create a simple sendmail config so that i can send mails between multiple hosts using unix usernames within one network.

I can use one of the server as mail server and rest as clients.

I dont want to configure any other softwares for pop or imap access.

I want to keep it simple and use evolution on the clients to send emails between one another on the private network without internet.

Thanks in advance for the help
M cyclegar
 
Old 07-06-2009, 08:40 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
1. default setup for sendmail is to only listen on 127.0.0.1 ie localhost, so you'll need to fix that first.
see /etc/mail/sendmail.mc DAEMON_OPTIONS.... line
comment out using 'dnl' at each end of the line
restart sendmail

2. add all the hosts to each /etc/hosts file.
 
  


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
FC6 setup sendmail SMARTHOSTS and private CA SSL rvicker Linux - Software 3 10-05-2007 08:01 PM
Configuring two NIC cards in linux , one for internet and the other for private LAN guelzimtr Linux - Networking 5 09-27-2007 06:08 AM
problem with sendmail after configuring network vijeesh_ep Linux - Networking 1 02-19-2005 06:58 AM
problem with sendmail after configuring network vijeesh_ep Linux - Newbie 2 02-19-2005 06:57 AM
Configuring redhat 9 to pass traffic betwen 2 private networks (gateway) menonrr Linux - Networking 2 09-14-2004 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:53 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
Open Source Consulting | Domain Registration