Solved

SENDMAIL ON OTHER HOSTS IN MY LOCAL NETWORK

Posted on 1997-10-31
2
235 Views
Last Modified: 2013-12-16
I am using a NetraJ running Solaris 2.5.1 that is my mail server: there are some other unix machine connected on my local network
I would like to send my mail to the mail server, and this one should be able to recognize if the mail is directed to other machine of my local network.
On the manual it is written to create /usr/lib/mailhosts (doesn't explain which is the format), and make some minor change in sendmail.cf.

When I did these change, and I sent some mail to hosts on local network, the mail server tries to send them out of my
local network !!!!!

help me !!

lba@geodata.it
0
Comment
Question by:lba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
df020797 earned 50 total points
ID: 1812745
In a heterogenous network with many sendmial hosts its easiest to choose one machine as mailhub. This machine is configured to handle all mail in and out for the domain. All other machines get the simple client.cf as sendmail.cf with information added to send all mail via the hub. The hub itself should be configured as a normal sendmail server with the FEATURE(allmasquerade) and FEATURE(alwaysaddomain)

The client.cf can be found either in O'Reillys  sendmail manual or in the sendmail distribution (ftp.sendmail.org)
The hub shoudl be configured also via the m4 tools in the sendmail distribution

There is no way to achieve this only using the netscape configure tool for the netra Solaris dist. You must hackon shell level.

0
 

Author Comment

by:lba
ID: 1812746
I don't know what you mean by mailhub
and m4 tools !!

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question