Solved

SENDMAIL ON OTHER HOSTS IN MY LOCAL NETWORK

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now