Relay from ASP Web Application...
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Relay from ASP Web Application...

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Clients
Author Message
James Rennard
Guest





Posted: Tue Nov 29, 2005 5:58 pm    Post subject: Relay from ASP Web Application... Reply with quote

Hello!

We have a web application that send mail when the form is submitted. We are
getting...

The server rejected one or more recipient addresses. The server response
was: 550 5.7.1 Unable to relay for name@domain.com.

This is mainly for AOL and Yahoo domains among others I'm assuming. If I go
into my virtual SMTP server and set relay to allow all except the list below
(empty) it will work fine.

Are there security/spam issues with doing it this way? If so, what is a
better way? I've tried setting yahoo.com as a domain name that is allowed to
relay, but that hasn't worked.

I look forward to your replies. Thanks!

Back to top
Lanwench [MVP - Exchange]
Guest





Posted: Tue Nov 29, 2005 5:58 pm    Post subject: Re: Relay from ASP Web Application... Reply with quote

In news:EA973503-1F8D-4097-A837-8A003DFB7333@microsoft.com,
James Rennard <JamesRennard@discussions.microsoft.com> typed:
Quote:
Hello!

We have a web application that send mail when the form is submitted.
We are getting...

The server rejected one or more recipient addresses. The server
response was: 550 5.7.1 Unable to relay for name@domain.com.

This is mainly for AOL and Yahoo domains among others I'm assuming.
If I go into my virtual SMTP server and set relay to allow all except
the list below (empty) it will work fine.

Are there security/spam issues with doing it this way?

Yes. You're allowing anyone to relay through your server, and it will come
back to bite you in the ***.

Quote:
If so, what
is a better way?

Add the IP address(es) you wish to the 'allowed to relay' settings - you're
already near the right place.

Quote:
I've tried setting yahoo.com as a domain name that
is allowed to relay, but that hasn't worked.

That wouldn't be it, no.
Quote:

I look forward to your replies. Thanks!
Back to top
James Rennard
Guest





Posted: Tue Nov 29, 2005 5:58 pm    Post subject: Re: Relay from ASP Web Application... Reply with quote

Hello,

After rethinking everything, the problem may lay in the code. I think that
the application is sending the mail from the e-mail address that is inputed
by the user. Can't we just have the code send the mail from an account on
our domain using our domain server? Wouldn't that make more sense?

If not, then I'd have to add IP addresses for everything from yahoo.com,
aol.com, msn.com, plus anything else that people use.

Let me know what you think. Thanks

"Lanwench [MVP - Exchange]" wrote:

Quote:


In news:EA973503-1F8D-4097-A837-8A003DFB7333@microsoft.com,
James Rennard <JamesRennard@discussions.microsoft.com> typed:
Hello!

We have a web application that send mail when the form is submitted.
We are getting...

The server rejected one or more recipient addresses. The server
response was: 550 5.7.1 Unable to relay for name@domain.com.

This is mainly for AOL and Yahoo domains among others I'm assuming.
If I go into my virtual SMTP server and set relay to allow all except
the list below (empty) it will work fine.

Are there security/spam issues with doing it this way?

Yes. You're allowing anyone to relay through your server, and it will come
back to bite you in the ***.

If so, what
is a better way?

Add the IP address(es) you wish to the 'allowed to relay' settings - you're
already near the right place.

I've tried setting yahoo.com as a domain name that
is allowed to relay, but that hasn't worked.

That wouldn't be it, no.

I look forward to your replies. Thanks!




Back to top
Lanwench [MVP - Exchange]
Guest





Posted: Wed Nov 30, 2005 12:14 am    Post subject: Re: Relay from ASP Web Application... Reply with quote

In news:EF3CC468-D336-47E1-BB35-AF81E8DF22A5@microsoft.com,
James Rennard <JamesRennard@discussions.microsoft.com> typed:
Quote:
Hello,

After rethinking everything, the problem may lay in the code. I
think that the application is sending the mail from the e-mail
address that is inputed by the user. Can't we just have the code
send the mail from an account on our domain using our domain server?
Wouldn't that make more sense?

Not necessary. If this is a webserver hosted on your own network, add its IP
to the allowed to relay list. I don't know what's in your script - I presume
this is a form on your own webserver, hosted internally, right?

Quote:

If not, then I'd have to add IP addresses for everything from
yahoo.com, aol.com, msn.com, plus anything else that people use.

No.
Quote:

Let me know what you think. Thanks

"Lanwench [MVP - Exchange]" wrote:



In news:EA973503-1F8D-4097-A837-8A003DFB7333@microsoft.com,
James Rennard <JamesRennard@discussions.microsoft.com> typed:
Hello!

We have a web application that send mail when the form is submitted.
We are getting...

The server rejected one or more recipient addresses. The server
response was: 550 5.7.1 Unable to relay for name@domain.com.

This is mainly for AOL and Yahoo domains among others I'm assuming.
If I go into my virtual SMTP server and set relay to allow all
except the list below (empty) it will work fine.

Are there security/spam issues with doing it this way?

Yes. You're allowing anyone to relay through your server, and it
will come back to bite you in the ***.

If so, what
is a better way?

Add the IP address(es) you wish to the 'allowed to relay' settings -
you're already near the right place.

I've tried setting yahoo.com as a domain name that
is allowed to relay, but that hasn't worked.

That wouldn't be it, no.

I look forward to your replies. Thanks!
Back to top
James Rennard
Guest





Posted: Wed Nov 30, 2005 12:52 am    Post subject: Re: Relay from ASP Web Application... Reply with quote

It is actually some ASP hosted on an external host. A dedicated box at a
co-lo center. So, the website currently is using our internal SMTP virtual
server for relay.

Should we just tell it to use the provided SMTP server from the host?

"Lanwench [MVP - Exchange]" wrote:

Quote:


In news:EF3CC468-D336-47E1-BB35-AF81E8DF22A5@microsoft.com,
James Rennard <JamesRennard@discussions.microsoft.com> typed:
Hello,

After rethinking everything, the problem may lay in the code. I
think that the application is sending the mail from the e-mail
address that is inputed by the user. Can't we just have the code
send the mail from an account on our domain using our domain server?
Wouldn't that make more sense?

Not necessary. If this is a webserver hosted on your own network, add its IP
to the allowed to relay list. I don't know what's in your script - I presume
this is a form on your own webserver, hosted internally, right?


If not, then I'd have to add IP addresses for everything from
yahoo.com, aol.com, msn.com, plus anything else that people use.

No.

Let me know what you think. Thanks

"Lanwench [MVP - Exchange]" wrote:



In news:EA973503-1F8D-4097-A837-8A003DFB7333@microsoft.com,
James Rennard <JamesRennard@discussions.microsoft.com> typed:
Hello!

We have a web application that send mail when the form is submitted.
We are getting...

The server rejected one or more recipient addresses. The server
response was: 550 5.7.1 Unable to relay for name@domain.com.

This is mainly for AOL and Yahoo domains among others I'm assuming.
If I go into my virtual SMTP server and set relay to allow all
except the list below (empty) it will work fine.

Are there security/spam issues with doing it this way?

Yes. You're allowing anyone to relay through your server, and it
will come back to bite you in the ***.

If so, what
is a better way?

Add the IP address(es) you wish to the 'allowed to relay' settings -
you're already near the right place.

I've tried setting yahoo.com as a domain name that
is allowed to relay, but that hasn't worked.

That wouldn't be it, no.

I look forward to your replies. Thanks!


Back to top
Lanwench [MVP - Exchange]
Guest





Posted: Wed Nov 30, 2005 1:58 am    Post subject: Re: Relay from ASP Web Application... Reply with quote

In news:39D6A8F5-4336-4FAE-BEC9-C400428850FB@microsoft.com,
James Rennard <JamesRennard@discussions.microsoft.com> typed:
Quote:
It is actually some ASP hosted on an external host. A dedicated box
at a co-lo center. So, the website currently is using our internal
SMTP virtual server for relay.

Should we just tell it to use the provided SMTP server from the host?

Yes, I would. What value is there in relaying through your server?

Quote:

"Lanwench [MVP - Exchange]" wrote:



In news:EF3CC468-D336-47E1-BB35-AF81E8DF22A5@microsoft.com,
James Rennard <JamesRennard@discussions.microsoft.com> typed:
Hello,

After rethinking everything, the problem may lay in the code. I
think that the application is sending the mail from the e-mail
address that is inputed by the user. Can't we just have the code
send the mail from an account on our domain using our domain server?
Wouldn't that make more sense?

Not necessary. If this is a webserver hosted on your own network,
add its IP to the allowed to relay list. I don't know what's in your
script - I presume this is a form on your own webserver, hosted
internally, right?


If not, then I'd have to add IP addresses for everything from
yahoo.com, aol.com, msn.com, plus anything else that people use.

No.

Let me know what you think. Thanks

"Lanwench [MVP - Exchange]" wrote:



In news:EA973503-1F8D-4097-A837-8A003DFB7333@microsoft.com,
James Rennard <JamesRennard@discussions.microsoft.com> typed:
Hello!

We have a web application that send mail when the form is
submitted. We are getting...

The server rejected one or more recipient addresses. The server
response was: 550 5.7.1 Unable to relay for name@domain.com.

This is mainly for AOL and Yahoo domains among others I'm
assuming. If I go into my virtual SMTP server and set relay to
allow all except the list below (empty) it will work fine.

Are there security/spam issues with doing it this way?

Yes. You're allowing anyone to relay through your server, and it
will come back to bite you in the ***.

If so, what
is a better way?

Add the IP address(es) you wish to the 'allowed to relay' settings
- you're already near the right place.

I've tried setting yahoo.com as a domain name that
is allowed to relay, but that hasn't worked.

That wouldn't be it, no.

I look forward to your replies. Thanks!
Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Clients All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB