Not so long ago we switched our sharepoint development environments from windows server 2003 to windows server 2008. Everything is working very smooth until we need to start sending and receiving e-mail.
*Shock* No more POP3 available OOTB in 2008. Microsoft has stopped shipping this product with the 2008 version, so the POP service has only been around for one version of windows server. The reason I believe was that it is not necessary for server environments as there are better options available for processing mail etc.
Now a POP3 server is something I need to be able to keep my VPC lightweight (no exchange needed), but still be able to test mail sending (like alerts) locally. Lucky for us the Hannes Preishuber has made an extension for windows server 2008 that makes this possible for us.
Now how do Install this? There is a small installation procedure available at that blogpost, but for me – being not so experienced in that area – it took a while to get up and running decently.
I will write down the steps I took to get it working here:
A) Installing the SMTP feature that is available (optionally) in win2k8 server
- Open up your “Server Manager” and go to “Features”
- Click on “Add Features”
- Select “SMTP Feature” (Already installed in my next screenshot)
- Click install and follow the steps (this might take a while)
- To manage your SMTP Server you can go to IIS 6.0
- Make sure it is started
If you encounter problems later like “Unable to relay” you can fix this by going to IIS6.0
- Go to the properties of your SMTP Virtual Server
- Go to Access > Relay…
- Select “All except the list below”
B) Installing the POP3 Extender from Visendo
- Install the installer found here: http://weblogs.asp.net/hpreishuber/archive/2008/04/30/visendo-smtp-pop3-extender-for-windows-2008-server.aspx
- note: next steps are copied from the blogpost above, I’ll just add some comments between the lines - Move "visendosmtpextender_sample.config" from "C:\Program Files\ppedv\visendosmtpextender" to "C:\Documents and Settings\All Users\Application Data\ppedv\visendosmtpextender"
- To easily get to this path just copy it and paste it in Start > Run. Otherwise if you go looking for c:\documents and settings (or just type this in) you might get an Access Denied error - Rename to "visendosmtpextender_sample.config" to "visendosmtpextender.config"
- Edit "visendosmtpextender.config"
- To give you an idea, my config looks like this:
This will create a mailbox for administrator@moss.localhost, adjust to your own needs - Start service "Visendo SMTP Extender Service 2008"
C) Configuring outlook
- Go to Tools > Account Settings
- Create a new account
- Select manually configure server settings or additional server types > Next > Internet E-mail > Next
- Fill in the following settings
- Note: I have set my IP to 192.168.1.1 because that’s the way I set it in my VPC - Test your settings by clicking “Test Settings”
Everything should complete correctly
Possible issues:
- Your mails are staying put in c:/inetpub/mailroot/queue
Solution: Define aliases for your hostnames in IIS6.0 SMTP Virtual Server like this:
I hope this helps someone. Leave a message if I missed something or if you think something could be done better.
Have a nice day,
Jeroen
7 opmerkingen:
That helped alot! Thanks!
You're welcome :)
Glad it helped
A couple of things:
1) In Windows Server 2008 there is no C:\Documents and Settings so you have to navigate to C:\Users\All Users\ppedv\visendosmtpextender to store the config file.
2) After you modify the config file you have to restart the Visendo service and then it will create the mailbox directory under the C:\inetpub\mailroot\drop directory.
Rest was helpful and it worked for me.
Thanks.
Hi,
great article!
As you have mentioned Visendo SMTP Extender, it is in fact not necessary to edit the config file manually anymore. That was only in the first couple of releases. You can completely configure it via the admin UI now.
You can download the latest setup here:
http://www.visendo.com/VisendoDownloads.aspx?id=42
Further information on the product page (http://visendo.de/smtpextender.aspx) or in the manual.
Kind Regards
Jeremias Müller
Visendo Software
Thanks for the post. I have been using the product in a virtual development environment on Windows 2008 for a few years now with no problem. However I cannot get it to work on Windows 2012, any ideas?
Hello there, just turned into alert to your blog via Google, and located that it’s really informative. I’m going to watch out for brussels. I’ll appreciate when you continue this in future. Numerous other folks can be benefited out of your writing. Cheers!
I'd like to recommend EVO Mail Server, it is very easy to use and it supports all windows server family OSes.
For novice users here is a step by step tutorial, from beginning to up and running.
http://blog.evomailserver.com/how-to-setup-mail-server-in-windows/
Een reactie posten