Solved

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

Posted on 1997-02-26
1
319 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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.

679 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