Solved

How to setup sendmail V8 can send out to Internet Multidomain in one machine

Posted on 1997-02-26
1
312 Views
Last Modified: 2013-12-16
I setup mail server can receive multidomain is "domain1.com" and "domain2.com" but I need , who are sent email to "user1@domain1.com" then user1 can reply mail to them by subject of Sender is "user1@domain1.com". If who are sent email to "user1@domain2.com" then user1 can reply mail to them by subject of Sender is "user1@domain2.com"
If you have any question sent about it to me.

Email : sophon.k@cdg.co.th

Best Regrads
Sophon.k
0
Comment
Question by:sophon
1 Comment
 
LVL 1

Accepted Solution

by:
rfedane earned 200 total points
ID: 1811905
As you probably know by now that sendmail configuration is exteremely complex and there is a hundred ways of doing a
single thing. So, what I reccommend is that you download the
latest version of sendmail source. In the directory tree, you
will find a directory with sendmail.cf examples and a
macro utility that generates sendmail.cf files for you.
Use this to generate a cf file using the macro for "mail relay".
The utility will ask you questions about your setup. One of the
questions is if you want the outgoing mail rewritten to be from
a certain host - you answer yes and change that to domain1.com.
Send test messages and see if it doing what you want. I have
had to manually edit the sendmail.cf file to get exactly
what I wanted, but that part is easy. It is easy to figure
out the section where the headers are rewritten in the sendmail.cf file.

The utility I talked about above is well documented.

0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

746 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

9 Experts available now in Live!

Get 1:1 Help Now