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 ]
|