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
Solved

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

Posted on 1997-02-26
1
318 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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

838 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