WindowsInstallSMTP

From Sit

Jump to: navigation, search

Configuring the SMTP server on Windows

This step is not necessary if you setup php.ini to send mails to your ISP's SMTP server

The installation of SMTP Server is quite easy, and I'll not go into much details on doing this, but you'll finde it in Add/Remove programs & Windows Components. If you have Exchange server installed in your domain, you can use this server as your SMTP server, this guide should be the same.

First you need to open "Internet Informations Services (IIS) Manager", you do that from within Administrative Tools from the start menu.

Now locate the SMTP server, it should be named "Default SMTP Virtual Server"

Right-click on the "Default SMTP Virtual Server" and select Properties

Fig. 1 - Properties

We need to setup that the SiT server can send emails through this SMTP server

  • Click on the Access pane, and click on the Relay...
Fig. 2 - Access/Relay

On the Relay Restrictions page make sure

  • Only the list below is checked

Click the Add.. button

Fig. 3 - Relay

Now you have a choice if you want to add a single computer or a whole network.

  • Single computer would be my prefered choice
    • You need to add the IP address of the computer running SiT, and click OK to finish
Fig. 4 - Add Relay computer

This is an example of a whole network, this is NOT prefered unless you know what you are doing, and why

Fig. 5 - Add Relay network

Now, depending on your choice you should now have added an IP address (My example shows the network). Click OK to accept the changes.

Fig. 6 - Relay

For a delivery to your ISP's SMTP server using smarthost do the following, otherwise you can just close all windows and exit the IIS manager if you don't need it anymore.

  • Go to the Delivery pane and click on the Advanced Button
Fig. 7 - Delivery

In the Smart host field type in the hostname of your ISP's SMTP server, this hostname is the same as you would have configured your email client to. Click OK to accept the changes. You can now close the IIS manager if you don't need it

Fig. 8 - Smart host

(Don't forget to configure your php.ini file, edit the Windows SMTP settings and put in the IP address or hostname of this new SMTP server)

Personal tools
project