Solved

SENDMAIL ON OTHER HOSTS IN MY LOCAL NETWORK

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sudo logging 5 93
cron job says it ran, no results 25 118
Image not there 4 53
How to make a Bash alias that takes parameters 5 55
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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…

777 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