IIS and SMTP - Forcing a different SMTP server for mail delivery to an external domain

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > May 2006 > Forcing a different SMTP server for mail delivery to an external domain





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Forcing a different SMTP server for mail delivery to an external domain
autovelox@gmail.com

2006-05-22, 7:15 am

Hello,
is there a way to force IIS SMTP service to use a particular SMTP
server for an external domain that isn't the one listed as MX record?
For example, let's say that I need to send a mail to a recipient at
'domain.com', that has 'mail.domain.com' (1.2.3.4) listed as MX record:
is there a way to force IIS SMTP to use something different, like
'mail2.domain.com' (1.2.3.5)? I have tried to associate
'mail.domain.com' with the second SMTP server's IP in the hosts file,
but at no avail.

Thanks in advance.

pblse2

2006-05-22, 7:15 am


You will probably need to setup a local dns service and then enter that
domains mx records properly in the dns, use your local dns server as the
primary dns server and then setup your dns server to forward all other
requests to the normal dns servers.

Unfortunately I'm not a dns expert so I cannot provide any details on the
setup for this.

PL.



<autovelox@gmail.com> skrev i meddelandet
news:1148289734.708287.44150@i39g2000cwa.googlegroups.com...
> Hello,
> is there a way to force IIS SMTP service to use a particular SMTP
> server for an external domain that isn't the one listed as MX record?
> For example, let's say that I need to send a mail to a recipient at
> 'domain.com', that has 'mail.domain.com' (1.2.3.4) listed as MX record:
> is there a way to force IIS SMTP to use something different, like
> 'mail2.domain.com' (1.2.3.5)? I have tried to associate
> 'mail.domain.com' with the second SMTP server's IP in the hosts file,
> but at no avail.
>
> Thanks in advance.
>



Jeff Cochran

2006-05-22, 7:15 am

On 22 May 2006 02:22:14 -0700, autovelox@gmail.com wrote:

>is there a way to force IIS SMTP service to use a particular SMTP
>server for an external domain that isn't the one listed as MX record?
>For example, let's say that I need to send a mail to a recipient at
>'domain.com', that has 'mail.domain.com' (1.2.3.4) listed as MX record:
>is there a way to force IIS SMTP to use something different, like
>'mail2.domain.com' (1.2.3.5)? I have tried to associate
>'mail.domain.com' with the second SMTP server's IP in the hosts file,
>but at no avail.


Setting it as the smarthost for the SMTP may work, depending on what
you really need, but otherwise, the answer is no. SMTP is supposed to
find the destination server buy the priority of the MX record, so you
need to be able to resolve the destination correctly. Forcing
resolution through a unique DNS zone might be possible, again
depending on what you really need to accomplish.

Jeff
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com