Image

Imagenata5 wrote in Imagelinux

CNAMES, MX, and Sendmail...

Okay there is the problem.

Here is a generalized layout of things.

foo.com is the main domain.
crap.com is a cname to foo.com.

The Apache web server separates out the 2 different hosts just fine. However sendmail gets an e-mail say for user@crap.com and delivers it to user as user@foo.com.

I have looked on google and found a little information on how to set this up however there is no explanation or examples of doing what I would like to do.

Pretty much I want every user on the system to be able to receive e-mail from every domain but at the same time have the domain stay what it originally was sent as.