"unable to relay" error when domain.com is not on this server
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS and SMTP > "unable to relay" error when domain.com is not on this server




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    "unable to relay" error when domain.com is not on this server  
AFN


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-23-04 07:49 AM

I'm using ASP.NET to send emails from mydomain.com.   It works fine on a W2K
server where mydomain.com has a website and a DNS record on the server.  But
now, I put the same code on a second/new W2K server and I get the "unable to
relay for whatever@mydomain.com" error!

I am not trying to send off another server.  I'm trying to just send
directly from this SMTP server on the new machine.  I have my smtp relay
restrictions set to "allow only from 127.0.0.1", which I thought would be
fine.

It seems that it doesn't like that "mydomain.com" is nowhere on this
machine.  I guess its checking internal machine config info, or its DNS.
So how do I get around that?   All I want to do is send from mydomain.com
where this domain is not on this server.

a) if your answer is use authentication in asp.net, can you tell me what I
need to do with the user account on the server?  what rights must it have?

b) if your answer is to add "mydomain" in the "domains" node of the SMTP
server, I've never done this before and can't find any good info.  would I
add it as an alias?  what else do I do?







[ Post a follow-up to this message ]



    Re: "unable to relay" error when domain.com is not on this server  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-26-04 01:54 AM

Hi,

Allowing 127.0.0.1 in the "Allowed to relay" page should have been enough.
You might want to add the actual IP address of the server as well. That
should be all that is required for the SMTP server to relay mail.

Cheers
Ken


"AFN" <DELETEnewsgroupCAPSaccount@yahoo.com> wrote in message
news:vW%Lc.52623$ju5.19239@twister.socal.rr.com...
> I'm using ASP.NET to send emails from mydomain.com.   It works fine on a
W2K
> server where mydomain.com has a website and a DNS record on the server.
But
> now, I put the same code on a second/new W2K server and I get the "unable
to
> relay for whatever@mydomain.com" error!
>
> I am not trying to send off another server.  I'm trying to just send
> directly from this SMTP server on the new machine.  I have my smtp relay
> restrictions set to "allow only from 127.0.0.1", which I thought would be
> fine.
>
> It seems that it doesn't like that "mydomain.com" is nowhere on this
> machine.  I guess its checking internal machine config info, or its DNS.
> So how do I get around that?   All I want to do is send from mydomain.com
> where this domain is not on this server.
>
> a) if your answer is use authentication in asp.net, can you tell me what I
> need to do with the user account on the server?  what rights must it have?
>
> b) if your answer is to add "mydomain" in the "domains" node of the SMTP
> server, I've never done this before and can't find any good info.  would I
> add it as an alias?  what else do I do?







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:14 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register