|
|||||
|
If you found any of the tools on this page helpful, any donations would be appreciated. |
SMTP SmartHostingOr How To Deal With Network Hosts Who Think SPAM Blocking Allows Them To Not Play Nice In The Internet Neighborhood(updated on 9/2/2003) I'm an ATT Business Class DSL user. I pay extra for static IP addresses, a great technical support group, and performance and connection uptimes that are much better then what you would get with normal residential DSL service. However, my understanding is that ATT assigns static and dynamic IP address in the same range. You can see this by doing a Reverse DNS lookup on my Web Server's IP address:
Which comes back with 105.mumc.chcg.chcgil24.dsl.att.net. The key here is the "dsl.att.net". When an SMTP conversation starts, the client issues a HELO or EHLO command. I believe that RR.Com and others are basically rejecting I've recently had issues with Road Runner and the University of Oregon regarding my use of my own SMTP server and not ATT's. Here's the error message I get from Road Runner:
and the error message I get from University of Oregon:
A quick look at http://security.rr.com/dynamic.htm reveals:
In other words, Road Runner has decided to ignore the fact that I am an upstanding network citizen who obeys all the rules and regulations regarding being a network administrator on the Internet and block my IP range from sending SMTP messages just because I'm in the same IP range as some known network scofflaws. This is the equivalent of sending some one to prison just because they live on the same block as known law-breakers. Anyway, all ranting aside, there is a relatively simple way to get around this issue. SMTP has supported forwarding from day one ( RFC 821 Section 3.2) via something called a SmartHost. In the old days of slow connections, mail clients could spend lots of time doing DNS resolution for MX records over relatively slow connections. By uploading outgoing email to a machine with a faster connection and possibly better DNS service, the mail client could give the SmartHost all its email, and let the SmartHost deal with further delivery. With SPAM and open relay issues, most SMTP servers and services don't support forwarding without Authentication. Enter RFC 2554,which created an SMTP extension to allow for Authentication to the SMTP server before transferring mail. Configuring Exchange 2000 To Use a SmartHost with AuthenticationUsing the Exchange System Manager, drill down to your outgoing server's SMTP Protocol. Right Click on the Default SMTP Virtual Server and select Properties. Select the Delivery Tab and click the Outbound Security button. Select the Basic Authentication radio button and enter your ATT mail's user and password. Note you must enter your user name in the form USER@attglobal.net. Click OK Back on the Delivery tab, click on Advanced Delivery, and enter your outgoing SMTP server for your ATT mail account. In my case, this was asmtp.attglobal.net. Click OK. Then click OK in the Default SMTP Virtual Server dialog. ImplicationsOK, you're wondering what this will do? Well, basically, in your SMTP conversation, you'll see something like this (Server commands start with S:, client C:)
So what happens is that when Exchange gets an outgoing email, it sends it to the ATT SMTP server, authenticates, and then starts a normal SMTP transfer. ATT's server realizes its an outgoing mail, and forwards it to the appropriate SMTP server. Now you may ask, what's the harm? Well there are a couple of issues I can see right away:
Well, personally, the only one that I feel is an issue is the first point. But hopefully, the SMTP server's are powerful enough to handle everything. Questions and CommentsPlease feel free to contact me if you have any questions. Update:If you've got Exchange clients (i.e. full blown Outlook, not Outlook Express) then you also need to set up smart hosting with the Exchange SMTP Connector. I'll have more details on this when I get the chance. 10/22/2003OK, I'm finally getting around to updating this for Outlook and Exchange. If you are running an internal Exchange server with Outlook clients, you not only have to SmartHost your Virtual Servers, but also your Exchange Internet Mail Service Connector. Find your Internet Mail Service Connector here: Bring up the properties, and enter your SMTP Smart Host in the "Forward all mail through this connector to the following smart hosts" text box. On the Advanced Tab, select Outbound Security, and enter your SMTP Smart Host User name and password in the Basic Authentication section. That's about it. I think what's happening is that Exchange uses its own format for internal mail, and when it communicates an externally routed SMTP email, it uses the Internet Mail Service Connector rather then the Virtual SMTP server. For normal POP3 email clients like Outlook Express, I don't think you need to do this, since they are connecting to the Virtual SMTP server directly. NOTE: This is continued in Part 2. Thanks, Chris Lewis |
||||
Send mail to
Webmaster
with questions or comments about this web site.
|
|||||
![]() |
![]() |
|