I am new to servers. I am running a network with Windows Server 2003 SE. I
have a very simple form created with Dreamweaver, and I want the information
from it to be sent to my e-mail. I am using a PHP script to handle the
'action' of the form (nvform.php). Thanks to these discussion groups I was
able to set PHP-ISAPI. Now, when I try to submit the info from the form, it
shows the following message:

Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
myemail@domain.com in C:\Inetpub\...\phpform\nvform.php on line 197

I suppose there is something wrong with the SMTP server. Any idea what to do?

Re: SMTP server response: 550 5.7.1 Unable to relay... by Sparky

Sparky
Fri Feb 04 12:45:08 CST 2005

Did you tell the SMTP server that it should take mail from 127.0.0.1?

It won't unless you tell it to do that.

"Simon Swift" <SimonSwift@discussions.microsoft.com> wrote in message
news:B029322C-4E20-4CCA-949B-28A5A4E95E6B@microsoft.com...
>I am new to servers. I am running a network with Windows Server 2003 SE. I
> have a very simple form created with Dreamweaver, and I want the
> information
> from it to be sent to my e-mail. I am using a PHP script to handle the
> 'action' of the form (nvform.php). Thanks to these discussion groups I was
> able to set PHP-ISAPI. Now, when I try to submit the info from the form,
> it
> shows the following message:
>
> Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
> myemail@domain.com in C:\Inetpub\...\phpform\nvform.php on line 197
>
> I suppose there is something wrong with the SMTP server. Any idea what to
> do?



Re: SMTP server response: 550 5.7.1 Unable to relay... by SimonSwift

SimonSwift
Fri Feb 04 13:41:03 CST 2005

Do you set this on the server?

Re: SMTP server response: 550 5.7.1 Unable to relay... by Kristofer

Kristofer
Sat Feb 05 03:04:17 CST 2005

Hi,

Well, nothing is wrong, but you are not allowed to relay (send the email).
By default, the SMTP server in windows Server 2003 will not allow anyone
to relay. So you have to allow the local server to relay.

Open IIS Manager, and right click the virtual server (ie "Default SMTP
Virtual Server") and click Properties. Click on the Access tab, and click
the Relay button. Add the IP of the webserver to the list of machines
allowed to relay.

This setting will allow your webserver to relay thru the SMTP server.

--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com


Simon Swift wrote:

> I am new to servers. I am running a network with Windows Server 2003 SE.
I
> have a very simple form created with Dreamweaver, and I want the
information
> from it to be sent to my e-mail. I am using a PHP script to handle the
> 'action' of the form (nvform.php). Thanks to these discussion groups I
was
> able to set PHP-ISAPI. Now, when I try to submit the info from the
form, it
> shows the following message:
>
> Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
> myemail@domain.com in C:\Inetpub\...\phpform\nvform.php on line 197
>
> I suppose there is something wrong with the SMTP server. Any idea what
to do?

Re: SMTP server response: 550 5.7.1 Unable to relay... by Aaron

Aaron
Tue Apr 12 11:51:02 CDT 2005

Has anyone run into this problem even after you have set the smtp server to
allow the webserver to relay? I am pretty sure I have all the basice relay
permissions set correctly and I still get the 550 5.7.1 Unable to relay error.

I have actually tried this 2 different ways. 1 using the smtp server on teh
web server and the other, trying to send it to our exchange server and I
still get rejected (and I am pretty sure they are both set to allow it.



"Kristofer Gafvert" wrote:

> Hi,
>
> Well, nothing is wrong, but you are not allowed to relay (send the email).
> By default, the SMTP server in windows Server 2003 will not allow anyone
> to relay. So you have to allow the local server to relay.
>
> Open IIS Manager, and right click the virtual server (ie "Default SMTP
> Virtual Server") and click Properties. Click on the Access tab, and click
> the Relay button. Add the IP of the webserver to the list of machines
> allowed to relay.
>
> This setting will allow your webserver to relay thru the SMTP server.
>
> --
> Regards,
> Kristofer Gafvert
> www.gafvert.info - My Articles and help
> www.ilopia.com
>
>
> Simon Swift wrote:
>
> > I am new to servers. I am running a network with Windows Server 2003 SE.
> I
> > have a very simple form created with Dreamweaver, and I want the
> information
> > from it to be sent to my e-mail. I am using a PHP script to handle the
> > 'action' of the form (nvform.php). Thanks to these discussion groups I
> was
> > able to set PHP-ISAPI. Now, when I try to submit the info from the
> form, it
> > shows the following message:
> >
> > Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
> > myemail@domain.com in C:\Inetpub\...\phpform\nvform.php on line 197
> >
> > I suppose there is something wrong with the SMTP server. Any idea what
> to do?
>

Re: SMTP server response: 550 5.7.1 Unable to relay... by Kristofer

Kristofer
Tue Apr 12 12:24:13 CDT 2005

"Pretty sure" is not enough. You need to be completely sure that it is
configured correctly.

I have never seen this error message appear if the SMTP server (and
whatever is communicating with the SMTP server) is configured properly.

--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com


Aaron wrote:

> Has anyone run into this problem even after you have set the smtp server
to
> allow the webserver to relay? I am pretty sure I have all the basice
relay
> permissions set correctly and I still get the 550 5.7.1 Unable to relay
error.
>
> I have actually tried this 2 different ways. 1 using the smtp server on
teh
> web server and the other, trying to send it to our exchange server and I
> still get rejected (and I am pretty sure they are both set to allow it.
>
>
>
> "Kristofer Gafvert" wrote:
>
> > Hi,
> >
> > Well, nothing is wrong, but you are not allowed to relay (send the
email).
> > By default, the SMTP server in windows Server 2003 will not allow
anyone
> > to relay. So you have to allow the local server to relay.
> >
> > Open IIS Manager, and right click the virtual server (ie "Default SMTP
> > Virtual Server") and click Properties. Click on the Access tab, and
click
> > the Relay button. Add the IP of the webserver to the list of machines
> > allowed to relay.
> >
> > This setting will allow your webserver to relay thru the SMTP server.
> >
> > --
> > Regards,
> > Kristofer Gafvert
> > www.gafvert.info - My Articles and help
> > www.ilopia.com
> >
> >
> > Simon Swift wrote:
> >
> > > I am new to servers. I am running a network with Windows Server 2003
SE.
> > I
> > > have a very simple form created with Dreamweaver, and I want the
> > information
> > > from it to be sent to my e-mail. I am using a PHP script to handle
the
> > > 'action' of the form (nvform.php). Thanks to these discussion groups
I
> > was
> > > able to set PHP-ISAPI. Now, when I try to submit the info from the
> > form, it
> > > shows the following message:
> > >
> > > Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
> > > myemail@domain.com in C:\Inetpub\...\phpform\nvform.php on line 197
> > >
> > > I suppose there is something wrong with the SMTP server. Any idea
what
> > to do?
> >

Re: SMTP server response: 550 5.7.1 Unable to relay... by Aaron

Aaron
Tue Apr 12 13:02:17 CDT 2005

I was wondering if this might not be the cause

http://support.microsoft.com/?kbid=895857


"Kristofer Gafvert" wrote:

> "Pretty sure" is not enough. You need to be completely sure that it is
> configured correctly.
>
> I have never seen this error message appear if the SMTP server (and
> whatever is communicating with the SMTP server) is configured properly.
>
> --
> Regards,
> Kristofer Gafvert
> www.gafvert.info - My Articles and help
> www.ilopia.com
>
>
> Aaron wrote:
>
> > Has anyone run into this problem even after you have set the smtp server
> to
> > allow the webserver to relay? I am pretty sure I have all the basice
> relay
> > permissions set correctly and I still get the 550 5.7.1 Unable to relay
> error.
> >
> > I have actually tried this 2 different ways. 1 using the smtp server on
> teh
> > web server and the other, trying to send it to our exchange server and I
> > still get rejected (and I am pretty sure they are both set to allow it.
> >
> >
> >
> > "Kristofer Gafvert" wrote:
> >
> > > Hi,
> > >
> > > Well, nothing is wrong, but you are not allowed to relay (send the
> email).
> > > By default, the SMTP server in windows Server 2003 will not allow
> anyone
> > > to relay. So you have to allow the local server to relay.
> > >
> > > Open IIS Manager, and right click the virtual server (ie "Default SMTP
> > > Virtual Server") and click Properties. Click on the Access tab, and
> click
> > > the Relay button. Add the IP of the webserver to the list of machines
> > > allowed to relay.
> > >
> > > This setting will allow your webserver to relay thru the SMTP server.
> > >
> > > --
> > > Regards,
> > > Kristofer Gafvert
> > > www.gafvert.info - My Articles and help
> > > www.ilopia.com
> > >
> > >
> > > Simon Swift wrote:
> > >
> > > > I am new to servers. I am running a network with Windows Server 2003
> SE.
> > > I
> > > > have a very simple form created with Dreamweaver, and I want the
> > > information
> > > > from it to be sent to my e-mail. I am using a PHP script to handle
> the
> > > > 'action' of the form (nvform.php). Thanks to these discussion groups
> I
> > > was
> > > > able to set PHP-ISAPI. Now, when I try to submit the info from the
> > > form, it
> > > > shows the following message:
> > > >
> > > > Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
> > > > myemail@domain.com in C:\Inetpub\...\phpform\nvform.php on line 197
> > > >
> > > > I suppose there is something wrong with the SMTP server. Any idea
> what
> > > to do?
> > >
>