Oct
28
2010

Configuring SmarterMail on VPC for SharePoint (POP3 + SMTP)

When developing for MS SharePoint, especially on a development VPC, you might want to configure SharePoint to send emails, and you might want to configure your VPC environment so that it can Receive (POP3) the emails. This is a guide how to configure your environment with the free edition from SmarterMail.

Environment / Prerequisites

  • Operating system VPC: Microsoft Windows Server 2008 Enterprise (32-bit)
  • SmarterMail version 7.2.3925 : latest version can be downloaded here.
  • MOSS 2007 (but can be used for SPS 2010 also)

Installation

Step 1/8: Installation of SmarterMail
1) Launch the Setup file after downloading the latest version of SmarterMail (free edition).

2) Perform a default installation, don’t fill in a licence key. When you get the screen asking for the system information. Fill in the right information:

In the next screen, leave the DNS details blank, finish the wizard by not activating SPAM checking functionality. Automatically you will receive the configuration screen of SmarterMail.

Step 2/8: Configuration of SmarterMail
1) Skip Activation of SmarterMail. This is not necessary.
2) Add a domain. With the free version of SmarterMail, you can only add one domain. I choose to use [.com] as a domain name. I add “.com” intentionally, because MS Outlook will only allow to send emails which are normally formatted (name@domain.extension)…
So add a domain by clicking the Manage icon, in the navigation pane, click New > New Domain:

Fill in the necessary details. Make sure you select 127.0.0.1 as ip-address for the domain:

3) Adding necessary POP3 users: Select the domain you have just created, and click on “manage”. A new screen will open. In the left navigation of this popup, browse to “Users”. Add a user:

Repeat adding users for all POP3 accounts you want to create.

Step 3/7: Creating Domain in Hosts file
As explained in step 2, I have created a domain with name .com. Now we will have to perform a small changes in the VPC Host file so that this domain can be found.
On the VPC, navigate (Start > Run) to the %systemroot%/system32/drivers/etc/ directory. Open the hosts file with notepad and add the entry of
.com. It will point to 127.0.0.1, which is the localhost.

Save the file and exit Notepad.

Step 4/7: Configuring MS Outlook
With these steps performed, it should be able now to test our configuration in MS Outlook (if installed on the VPC off course).
Add the necessary POP3 account, for example:

Test the account by pressing “Test Account Settings …”, you should have green “ok” marks :-)

Step 5/7: Configuring IIS
1) Make sure the SMTP service is installed on your VPC Server. If not, you can add it as a feature. (Start > Settings > Control Panel > Programs and Features > Turn Windows Features On / off > Features > Add Features):

2) Configure the relay correctly: Open the IIS 6.0 Manager (Start > Settings > Control Panel > Administrative Tools > Internet Information Services (IIS) 6.0 Manager). Right-click the SMTP Virtual Server in the left navigation (start it if necessary) and select “Properties”.
Navigate to the “Access” tab and click on the Relay button. Make sure the settings are set correctly:

Step 6/7: Configuring SharePoint
In SharePoint Central Administration, navigate to the “Operations” Tab, and click on “Outgoing e-mail settings”. Fill in the correct details, for example:

Step 7/7: Testing!
You now should be up & running.
Note: make sure your SharePoint profiles contain the correct e-mail addresses. (You can set this manually also by navigating to the SharePoint Central Administration Shared Service provider > User profiles and properties)
For testing, you can also download the Test Sharepoint Send e-mail configuration from Rodney Viana. More information can be found here.

Good Luck!!!

Written by Cassy in: Business,ICT |

No Comments »

RSS feed for comments on this post.

Leave a comment

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes