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 07-07-2002, 02:17 PM   #1
clk777
LQ Newbie
 
Registered: Apr 2002
Location: london (uk)
Distribution: redhat
Posts: 10

Rep: Reputation: 0
Angry sendmail over simple network


Hi

I have two computers set up. one as a linux server the other
as a linux workstation. My problem is with sendmail. when i ping
the computers there is clearly a connection. i edited the
sendmail.mc file on the server machine. i changed entry below

DAEMON OPTIONS (`Port=smtp, Addr=192.168.0.1, Name=MTA)

to

dnl DAEMON OPTIONS (`Port=smtp, Addr=192.168.0.1,
Name=MTA)

then on the command terminal i entered

m4 /etc/mail/sedmail.mc > /etc/sendmail.cf

now i have users A and B on the server. sending mail to each other works fine. but when i try to send mail from user C on the
workstation to user A on the server the email fails to go through
and vice-versa.

Q.1 DO i need to configure sendmail on the workstation.

Q.2. on the server the following files below what information
do they need and will i need to replicate this on the
workstation.

local-host-names
virtusertable
mailertable
domaintable
access

Any suggestions please before i seek help with a sendmail book
any good one please recommend.

rgds.....clk777
 
Old 07-08-2002, 11:26 AM   #2
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
need to setup local-host-names to your domain
need to have your domain resolvable (/etc/hosts or dns)
then check your log files (/var/log/maillog) to see what sendmail is saying about email
It should be quite easy
try putting computer names into your /etc/hosts like
192.168.0.1 rh1
192.168.0.2 rh2
and then you can just mail
a@rh1
or b@rh2 ..
 
  


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 help! paperdiesel Linux - Newbie 2 11-07-2003 03:01 PM
simple sendmail admin bananaman Linux - Software 1 05-19-2003 08:12 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 - Networking

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