[thelist] repost: linux and exchange spam solution

Dean Mah dmah at members.evolt.org
Tue Jan 7 09:05:01 CST 2003


On Mon, Jan 06, 2003 at 09:49:53AM -0800, Chris W. Parker wrote:

> 1. i'm not sure what DNS changes need to be made at our isp (earthlink)
> so that i can properly integrate the computer for testing purposes
> and/or production. i'm confused by the whole MX record thing. let me
> explain why i'm confused...
>
> our domain for this example will be domain.com (how original!). that
> makes our webserver at domain.com and www.domain.com, our email server
> (the exchange 2k box) is at mail.domain.com.
>
> when someone sends mail to user at domain.com (somewhere along the line) it
> is found out that mail should be directed to the computer lying at
> mail.domain.com correct?

Using nslookup, you can verify where e-mail will be sent.  Commands
would be:

nslookup
set type=mx
domain.com

You should get back something like:

domain.com    mail exchanger = 10 mail.domain.com
domain.com    mail exchanger = 20 secondarymail.domain.com


> if that is the case (which indeed i believe it is) what would i need
> to change to have the mail be sent to the linux box?

Without changing the DNS records, you would set your Linux box to the
IP address of mail.domain.com and change the IP address of your
Exchange box as you've stated.  Before getting the DNS changed for the
exchange.domain.com you could just put that into the /etc/hosts file
for testing.

Dean



More information about the thelist mailing list