Solved

SENDMAIL ON OTHER HOSTS IN MY LOCAL NETWORK

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

Industry Leaders: 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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.:
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.

726 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