RE: SMTP 550 5.7.1 Unable to relay

From: royjr (royjr_at_discussions.microsoft.com)
Date: 09/08/04


Date: Wed, 8 Sep 2004 07:33:04 -0700

Does anyone have any ideas for this -- I see other posts but this one seems
to have been ignored. Thanks

"royjr" wrote:

> Hi Everyone,
> OK Here is what I have. I am running Windows 2003 Server using IIS6 and POP3 for my mail server. I am not running a domain it is in a workgroup cleverly called - you guessed it "workgroup". I have configured the server to the specs from this site http://www.ilopia.com. I have a default SMTP (Matches server name) and one for my real domain. I have moved the POP3 mailroot directory to a different local drive for storage room. Tried to move SMTP but it wouldn't move so I gave up the fight with it and moved it back to the c:\inetpub folder where it seemed to be happier. I am using Outlook XP for one PC and Outlook Express for another. I am also using a free webmail client that does not support SPA so I can't use it if I want to use my webmail. Yes all this works if I use SPA but if not using SPA (which I shouldn't have to) it does not. One last note this is for external sending of mail only - incoming mail and internal sending of mail works fine all the time.
>
> OK My PC the one with Outlook XP for that matter I tried at work with Office 2003 same results. If I set it up to use SMTP authentication and tell it to use the same settings as the incoming mail server it will fail I get the SMTP 550 5.7.1 Unable to relay. So I go into my mail account setup in Outlook and check to use SPA - save everything and send another email to my yahoo account outside my domain. NOTE: I am not changing any server settings on the mail server another words not enabling SPA on the POP3 server. So yes this will obviously fail because the server is not configured. But what I do get is a box that has Account Name - Password - Domain much like a domain logon. Now lets make one more side trip here - the pop3 account name for windows 2003 requires username@domainname.com what I have to enter in this box is username ONLY then I put my password for my pop3 account in the password field and tell it the domain is my workgroup. Then the email will go out without any
problem. I then go back into the mail settings and remove the SPA checkbox and save the settings and now I can receive my POP3 email again. Until I close outlook this will work fine. The next time I close outlook I will have to preform these steps again to get it working.
>
> I have made the workgroup of my PC match the workgroup of the server. I have added My IP and the IP of the server into the allow only these IP's to relay. As well as checked the Allow anyone that autenticates to relay checkbox. It seems as if there is some confusion because the POP3 server requires the full email address as the account name and SMTP seems to only want the username only. By forcing the login to the server you get the oppurtunity to correct the user account for SMTP and then it caches it and you are good to go. I have not switch the server to file authentication I have done all this using Windows Authentication.
>
> One last thing I have also tried to force the SMTP to authenticate using a specific username and it does not work I get the relay message. So I told it to use a specific username under the SMTP authentication tab in Outlook and put workgroup\username in the username field. When I go send an email to my yahoo account it does give me the Username \ Password \ Domain window and the filling in the credentials like above will allow the email to go out. However when you go back to the SMTP authentication tab in Outlook now the user is reset to username not workgroup\username so the next time you send an external email it will fail.