Archive for November, 2010

18
Nov
10

Setting up the IIS SMTP Server for Sending Email from SharePoint 2010 on Server 2008 R2

Insure that the IIS role is installed on your server.  Then, make sure that the SMTP Server feature is enabled.

image

The SMTP service should be started.

image

Open the IIS 6.0 Manager so you can manage the SMTP server settings.

image

Right-click to open the properties dialog.

Click the Authentication button.  Ensure that anonymous access is selected (SharePoint requires this).

image

Use the Connection button to Add computer(s) that can connect to this SMTP server.  Since it is anonymous, you want to be very selective.

image

Use the Relay button to add computers that can relay through the virtual server.  Again, necessary for security.

image

Select the Delivery tab.  We’re assuming you have to authenticate to your email provider to forward and send email through them.

image

Click the Outbound Security button.  This shows using basic authentication with TLS encryption (pretty standard from what I’ve seen).

image

Click the Outbound Connections button.  In many cases you’ll have to change the TCP port from the default of 25.  My provider uses 587.

image

Clicked the Advanced button.  In the Advanced Delivery dialog, enter the SMTP server in the Smart host field and a Masquerade domain.  The Masquerade domain name replaces the local domain name listing in Mail From lines in the SMTP protocol (your SMTP server may be in a domain such as mail.yourdomain.com).

image 

Set the Outgoing E-Mail Settings in SharePoint Central Administration.  Notice there are no security settings.

image

03
Nov
10

Limiting the Search Scope using contentclass in a Property Query Scope Rule

If you find yourself needing to limit the scope of a search to only the items in a list (i.e. you don’t want to return any of the view forms and other aspx pages in the search results) you can use the contentclass as part of the search scope definition.  This is a great way to limit the search results to only the content in a list or library.  Use the STS_ListItem_DocumentLibrary string to implement this rule.

There’s a good article on Jose Barreto’s blog that has a list of the contentclass filter strings.  Niels Loup also has good info on this topic.

Basically you are creating a scope rule using a property query and specifying the property restriction of "contentclass" and making it "required."  This scope rule can be combined with others to define what the scope returns.

image

Keywords:

contentclass

Property Query

Scope Rule

SharePoint MOSS 2007 Search

STS_ListItem_DocumentLibrary




Asif Rehmani’s SharePoint Videos

SharePoint-Videos

Click to access a wealth of SharePoint videos

SharePoint Rx

SharePoint Rx Home

Categories

Posts by Date

November 2010
M T W T F S S
« Oct   Dec »
1234567
891011121314
15161718192021
22232425262728
2930  
Support Wikipedia