Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 1997-02-26
1
Medium Priority
?
330 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 400 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

876 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