Solved

SENDMAIL ON OTHER HOSTS IN MY LOCAL NETWORK

Posted on 1997-10-31
2
231 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virtualizing TAPE on dual VIOS 3 101
Skill Development 15 183
unix in java example 9 70
How can i set a Environment Variable in my Unix script ? 3 77
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.

856 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