Thursday, June 16, 2011

How To Configure IIS SMTP Server To Forward Emails Using A Gmail Account (Smart Host)

This is very useful when you want to test your outgoing email for SharePoint but not have access to an SMTP server.
  1. Create and setup a Gmail account to use POP3
  2. Install the mail server role (POP3 and SMTP) 
  3. Configure the IIS Server to forward messages using that account:
    • IIS SMTP Virtual server -> Properties ->
      • Access Tab
      • Relay Button
    • You can specify only the servers that you want to be able to send email here by selecting Only the list below and adding your servers IP addresses.
      • Delivery Tab
      • Outbound Security Button
      • Select Basic Authentication and specify your Gmail account  and password. Check the TLS encryption. (If you use other SMTP server, it may not support TLS and cause error)
      • Outbound connections button
      • Set TCP port to 587 (This is Gmail port, default port should be 25)
      • Advanced Button
      • specify the smart host as smtp.gmail.com
    • Now configure the Outbound email in SharePoint to send email to the server where you have installed this SMTP server.

Wednesday, June 15, 2011

How to solve Missing Server Side Dependencies – 8d6034c4-a416-e535-281a-6b714894e1aa Error?

After installing SharePoint 2010, you may encounter “Missing Server Side Dependencies – 8d6034c4-a416-e535-281a-6b714894e1aa” error in SharePoint Cental Administration. It is a very weird error and there is no logical reason behind it. Until then here is the solution:
  • Navigate to SharePoint Central Administration Page
  • Click General Application Settings on left hand side Quick Launch bar
  • Under Search, click Farm Search Administration to open farm wide search administration page.

  • Now, under Search Service Application click Search Service Application

  • Now restart the server by executing iisreset -noforce command on command prompt. (or maybe try Reanalyze Now from Monitoring -> Review Problems and solutions first if it solved)
  • Thats it! You have solved the issue 
If you want to know the background of this issue then please read this post



Tuesday, June 14, 2011

SMTP Diagnostics

For testing SMTP server functionality, we have to follow some steps to identify that whether SMTP configured or not. Below are the steps we need to follow to check SMTP server functionality. We are using the command prompt telnet to test the server.

1. open command prompt and type :
telnet <servername> 25
Note: 25 is the port used by SMTP and <servername> is the SMTP server name.
After you hit enter you will get some output like
220 <servername> Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at
Tue, 22 Jan 2008 09:10:27 -0600
It means you got response from the SMTP server and it's the clue that SMTP is setup on the server.

2. For testing response say helo to it.
Type :
helo <servername>
output:
250 <servername> Hello [IP Adress]

3. Now we need to enter the From address of the mail.
Type :
mail from: admin@domain.com
output:
250 2.1.0 admin@domain.com….Sender OK

4. It's time to enter the recepient email address.
Type : rcpt to: someID@domain.com
output:
250 2.1.5 someID@domain.com

5. Now we are left with the data of the email. i.e. subject and body.
Type : data
output:
354 Start mail input; end with <CRLF>.<CRLF>

6. Type:
subject: this is a test mail
Hi
This is test mail body
I am testing SMTP server.

7. Hit Enter, then . and then Enter.
output:
250 2.6.0 <<servername>C8wSA00000006@<servername>> Queued mail for delivery
8. Type: quit
output:
221 2.0.0 <servername> Service closing transmission channel

If you did everything as explained, you will get a mail soon.

Thursday, June 2, 2011

Install FAST Search Server 2010 for SharePoint

Install FAST Search Server 2010 for SharePoint (TechNet)
http://technet.microsoft.com/en-us/library/ff381243.aspx

Installation And Configuration Of FAST Search Server for SharePoint 2010
http://blogs.msdn.com/b/spses/archive/2010/04/09/installation-and-configuration-of-fast-search-server-for-sharepoint-2010.aspx

Create and set up the Content Search Service Application (FAST Search Server 2010 for SharePoint) (TechNet)
http://technet.microsoft.com/en-us/library/ff381261.aspx

[Lync Server 2010] Prerequisite installation failed: msspeech_sr_en-us_tele



During 'Lync Server 2010 Deployment Wizard' - 'Setup or Remove Lync Server Components'


Problem:
Prerequisite installation failed: msspeech_sr_en-us_tele

Solution:
Just uninstall that particular language pack from programs and features(they are all listed in there), then re-run setup