highmarks
asked on
IIS SMTP port
Hi!
Have anyone tried through telnet connecting to localhost port-25 for sending mail.
I have IIS4.0 installed on Win-NT and also port 25 is configured for sending mails.
I can send mail using CDONTS.dll through ASP.
The problem is when I connect through telnet on localhost-25
upto command
mail from:<aa@aa.com>
sender..ok
Now when I give command
rcpt to:<aa@ss.com>
550 Unable to relay for aa@ss.com
This is the error it gives for any email address entered for rcpt to:<> command.
There is no firewall or proxy server in my company.
Now when I connect to any other mail server through telnet it works fine.
You can try to connect on your m/c's localhost-25 and try sending mail.
If someone knows the problem can he please give me the solution.
Thanks.
Have anyone tried through telnet connecting to localhost port-25 for sending mail.
I have IIS4.0 installed on Win-NT and also port 25 is configured for sending mails.
I can send mail using CDONTS.dll through ASP.
The problem is when I connect through telnet on localhost-25
upto command
mail from:<aa@aa.com>
sender..ok
Now when I give command
rcpt to:<aa@ss.com>
550 Unable to relay for aa@ss.com
This is the error it gives for any email address entered for rcpt to:<> command.
There is no firewall or proxy server in my company.
Now when I connect to any other mail server through telnet it works fine.
You can try to connect on your m/c's localhost-25 and try sending mail.
If someone knows the problem can he please give me the solution.
Thanks.
No it is not an Exchange Server it is Only IIS alongwith it SMTP,NNTP,WWW etc.... services are also installed.
And it is not on Net means it does not have an Permanent IP.
And yes how do I enable SMTP relay?
And it is not on Net means it does not have an Permanent IP.
And yes how do I enable SMTP relay?
Under IIS5, if you highlight Default SMTP virtual server and bring up the properties, it's found under the access tab under relay restrictions. By default, it's configured to reject requests to relay mail from any domain, which is good! (most smtp gateways default to 'open')
Anyway, you have a choice of how you would like to enforce the restriction - you can either grant permission on an IP basis, network address basis or domain name (this is the standard).
Anyway, you have a choice of how you would like to enforce the restriction - you can either grant permission on an IP basis, network address basis or domain name (this is the standard).
ASKER
Hi hstiles
Sorry to reject your answer at this stage but I have one more doubt can you please tell me how do I grant permissions ?
Please tell me that and I will accept your comment as answer.
Thanks.
Sorry to reject your answer at this stage but I have one more doubt can you please tell me how do I grant permissions ?
Please tell me that and I will accept your comment as answer.
Thanks.
You won't be able to grant permissions to send via the SMTP server because SMT has no authentication by default. You will have to grant relay permissions by adding in either the DNS or IP Address of the machine you are sending the mail from.
ASKER
Hi!
Where do you go and grant relay
Where do you go and grant relay
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Comment accepted as answer
ASKER
thanks
Why are you called highmarks if you only give out B's ?
:)
:)
Is it an Exchange server ?
In this case, enable relay in IMS properties if you want, but if it's on the Internet, bear in mind ANYONE can log in with telnet and start sending out SPAMs.