IIS and SMTP - SMTP Help...

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > July 2004 > SMTP Help...





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 SMTP Help...
just1coder@yahoo.ca

2004-07-29, 7:52 am

I am having some trouble sending email on a Win2K Server. When it is
configured to use a smarthost, it works fine. However, when I try and
send messages from the server itself the mail just sites in the queue.

Using NSLOOKUP I can find all MX records for all the domains in the emails.

[example]
Non-authoritative answer:
yahoo.ca MX preference = 1, mail exchanger = mx2.mail.yahoo.com
yahoo.ca MX preference = 5, mail exchanger = mx4.mail.yahoo.com
yahoo.ca MX preference = 1, mail exchanger = mx1.mail.yahoo.com

I can telnet into the server on TCP 25...

The errors in event viewer are:

Message delivery to the remote domain 'yahoo.ca' failed for the
following reason: The remote server did not respond to a connection attempt.

&

Unable to bind to the destination server in DNS. <- that has only
occured once.

Any ideas?
J. Alan Rueckgauer

2004-07-29, 5:54 pm

Since you can send through a smarthost, it's likely the IP address of your
server does not resolve as a registered mail server with its own MX pointer
in the DNS and/or you're using a dynamic IP address from an ISP. Most of
the big services won't accept messages from dynamic IPs or IPs that don't
have MX records. When you use a smarthost, you're authenticating to the
relaying server, and its identification/credentials are used to complete the
transaction.

If you're using a dynamic IP or don't have an MX pointing to your server,
you'll need to take that up with your ISP and webhost/registrar to get a
static IP and the requisite DNS addressing.

Alan


<just1coder@yahoo.ca> wrote in message
news:%23FExIGWdEHA.1048@tk2msftngp13.phx.gbl...
> I am having some trouble sending email on a Win2K Server. When it is
> configured to use a smarthost, it works fine. However, when I try and
> send messages from the server itself the mail just sites in the queue.
>
> Using NSLOOKUP I can find all MX records for all the domains in the

emails.
>
> [example]
> Non-authoritative answer:
> yahoo.ca MX preference = 1, mail exchanger = mx2.mail.yahoo.com
> yahoo.ca MX preference = 5, mail exchanger = mx4.mail.yahoo.com
> yahoo.ca MX preference = 1, mail exchanger = mx1.mail.yahoo.com
>
> I can telnet into the server on TCP 25...
>
> The errors in event viewer are:
>
> Message delivery to the remote domain 'yahoo.ca' failed for the
> following reason: The remote server did not respond to a connection

attempt.
>
> &
>
> Unable to bind to the destination server in DNS. <- that has only
> occured once.
>
> Any ideas?



just1coder@yahoo.ca

2004-07-29, 5:54 pm

Thanks, I figured it was something like that ...

J. Alan Rueckgauer wrote:
> Since you can send through a smarthost, it's likely the IP address of your
> server does not resolve as a registered mail server with its own MX pointer
> in the DNS and/or you're using a dynamic IP address from an ISP. Most of
> the big services won't accept messages from dynamic IPs or IPs that don't
> have MX records. When you use a smarthost, you're authenticating to the
> relaying server, and its identification/credentials are used to complete the
> transaction.
>
> If you're using a dynamic IP or don't have an MX pointing to your server,
> you'll need to take that up with your ISP and webhost/registrar to get a
> static IP and the requisite DNS addressing.
>
> Alan
>
>
> <just1coder@yahoo.ca> wrote in message
> news:%23FExIGWdEHA.1048@tk2msftngp13.phx.gbl...
>
>
> emails.
>
>
> attempt.
>
>
>
>

Kristofer Gafvert

2004-07-29, 5:54 pm

Hello,

I have already responded to you to the other post you made. Here it is
again:

Hello,

Have you checked your SMTP log file?

What kind of server is this? That is, is it set up correctly as an email
server, with reverse DNS and everything? Maybe yahoo does not consider your
server as a real email server, and blocks the connection, because they do
not want more spam?


--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - When you need help!


<just1coder@yahoo.ca> wrote in message
news:%23FExIGWdEHA.1048@tk2msftngp13.phx.gbl...
> I am having some trouble sending email on a Win2K Server. When it is
> configured to use a smarthost, it works fine. However, when I try and
> send messages from the server itself the mail just sites in the queue.
>
> Using NSLOOKUP I can find all MX records for all the domains in the

emails.
>
> [example]
> Non-authoritative answer:
> yahoo.ca MX preference = 1, mail exchanger = mx2.mail.yahoo.com
> yahoo.ca MX preference = 5, mail exchanger = mx4.mail.yahoo.com
> yahoo.ca MX preference = 1, mail exchanger = mx1.mail.yahoo.com
>
> I can telnet into the server on TCP 25...
>
> The errors in event viewer are:
>
> Message delivery to the remote domain 'yahoo.ca' failed for the
> following reason: The remote server did not respond to a connection

attempt.
>
> &
>
> Unable to bind to the destination server in DNS. <- that has only
> occured once.
>
> Any ideas?



just1coder@yahoo.ca

2004-07-30, 5:51 pm

It's a static IP address with a FQDN.

I do not think you need an MX record for SMTP, just a valid host.

J. Alan Rueckgauer wrote:
> Since you can send through a smarthost, it's likely the IP address of your
> server does not resolve as a registered mail server with its own MX pointer
> in the DNS and/or you're using a dynamic IP address from an ISP. Most of
> the big services won't accept messages from dynamic IPs or IPs that don't
> have MX records. When you use a smarthost, you're authenticating to the
> relaying server, and its identification/credentials are used to complete the
> transaction.
>
> If you're using a dynamic IP or don't have an MX pointing to your server,
> you'll need to take that up with your ISP and webhost/registrar to get a
> static IP and the requisite DNS addressing.
>
> Alan
>
>
> <just1coder@yahoo.ca> wrote in message
> news:%23FExIGWdEHA.1048@tk2msftngp13.phx.gbl...
>
>
> emails.
>
>
> attempt.
>
>
>
>

just1coder@yahoo.ca

2004-07-30, 5:51 pm

Sorry, I didn't see your previous post.

Anyhow, it is a Windows 2000 Server using IIS SMTP.

Yahoo is not the only domain I've tried. ALL domains return the same error.

The reverse DNS is setup, it is a static IP, and it has a valid hostname.

Kristofer Gafvert wrote:

> Hello,
>
> I have already responded to you to the other post you made. Here it is
> again:
>
> Hello,
>
> Have you checked your SMTP log file?
>
> What kind of server is this? That is, is it set up correctly as an email
> server, with reverse DNS and everything? Maybe yahoo does not consider your
> server as a real email server, and blocks the connection, because they do
> not want more spam?
>
>

J. Alan Rueckgauer

2004-07-30, 5:51 pm

The RFCs say you don't, but they were written before spam became a
nightmare. Many mailserver antispam measures do require the sending IP have
an MX or they won't connect. You may be able to "make nice" with individual
sites to get your IPs whitelisted, but that's not terribly practical unless
you have a farm, a lot of patience, and a good business justification for
maintaining those relations. That's just the way it is these days.

Alan

<just1coder@yahoo.ca> wrote in message
news:eWPcakkdEHA.592@TK2MSFTNGP11.phx.gbl...
> It's a static IP address with a FQDN.
>
> I do not think you need an MX record for SMTP, just a valid host.

[snip]


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com