Configure default virtual SMTP server on IIS
Posted by Helpdesk Admin on 20 April 2010 06:10 PM
|
|
Configuring IIS for sending emails from your website Ensure SMTP service is running:
Configure Relay Restrictions:
Configure Connection Restrictions (to prevent other computers connecting). In Programs->Administrative Tools->IIS Manager right-click on "Default virtual SMTP server" and select "Properties" Click on Access Tab, then Click "Connection". Ensure "Only the list below" is selected. Include 127.0.0.1 and the VPS IP address in the allowed relay list. You can test that the connection restrictions are set correctly using telnet: On the VPS, go Start->Run and execute the command "telnet <vpsip> 25" (using the actual VPS IP Address of course). You should see the window open and a greeting message displayed from the server like "220 VPS-XXX ESMTP ..." Repeat this command from another machine (like your own PC) - you should not see the greeting. | |
|