« Previous Next »

Thread: Changing the Outgoing IP Address in SMTP

Last post 03-23-2007 5:11 PM by steve schofield. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 03-19-2007, 10:13 AM

    Changing the Outgoing IP Address in SMTP

    Using Win2K server - apparently for outbound email the SMTP service is
    using the default IP address on the NIC card as the IP seen by the receiving
    mail server.  How can I change this?

    For example my server has multiple IPs defined.  The default NIC is
    x.x.x.10.  So when email servers receive email sent by my server it shows
    this:
      Received: from outgoing.mydomain.com ([x.x.x.10])However, I want it to
    show a different IP defined on that server, like this:  Received: from
    outgoing.mydomain.com ([x.x.x.25])I have the IP for the virtual smtp service
    set to use .25 but it doesn't matter - the headers when seen by incoming
    mail servers show x.x.x.10.This creates a problem because of spam checks and
    RDNS.  For instance x.x.x.10 resolves to www.mydomain.com.  So when mail
    servers look up RDNS for x.x.x.10 they get www.mydomain.com insetad of
    outgoing.mydomain.com.  This can cause spam checks to fail.I configured the
    SMTP service to use outgoing.mydomain.com as the outbound mail server name,
    which is being transmitted properly.  Its just that I want it to use the .25
    IP instead of .10.

    How can this be configured? Does the MS SMTP service provide this flexibility?

    Thanks,
    Chris

  • 03-22-2007, 11:52 PM In reply to

    Re: Changing the Outgoing IP Address in SMTP

    The SMTP service is pretty basic and uses the default NIC most of the time.  By default the SMTP service binds to all ips.  You can turn this off. http://support.microsoft.com/kb/281760  If you turn this off, you might be able to bind to the .25 address.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 03-23-2007, 12:28 PM In reply to

    Re: Changing the Outgoing IP Address in SMTP

    Thanks Steve, I'll let you know how it turns out.
  • 03-23-2007, 1:29 PM In reply to

    Re: Changing the Outgoing IP Address in SMTP

    Ok I tried the metabase edit and I didn't change anything, I think that helps when you have binding problem with multiple SMTP servers.  I don't have a binding problem with the servers, I can send through any of the IP's but they always only come from one of the IP's.
  • 03-23-2007, 5:11 PM In reply to

    Re: Changing the Outgoing IP Address in SMTP

    Hi,

    I'm not sure then.  All IIS SMTP mail servers I run and have experience use a single IP and are used for outbound.  You might want to check at http://www.msexchange.org to see if there is a workaround.  This a good resource for Exchange and related things. 

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (5 items)
Microsoft Communities