Sender Policy Framework(SPF)

Sender Policy Framework is basically used to over come spoofing of the emails. E-mail spoofing is a term used to describe fraudulent e-mail activity in which the sender address and other parts of the e-mail header are altered to appear as though the e-mail originated from a different source

Adding SPF record in the DNS will help to define from which IP address outgoing mail will be sent for the particular domain.  Any receiving domain will check all the receiving mails if it’s coming from the valid registered sender IP address.  If sender IP address is not registered or if spoofed by different machine then mail can be directly blocked as spam.

 For more information  www.openspf.org

Unable to Download Mails in Entourage which has “+” in the subject

Unable to Download Mails in Entourage which has “+” in the subject line. Eg. Test + Mail

This happens on both Entourage 2004 and 2008 when you are running Exchange 2007  Sp1 on Windows 2008 Machine which has IIS 7.

To fix this, log into Exchange 2007 Mailbox servers and Client Access server and Mailbox Server and enter the below line in the command prompt. No need for restarting of machine is required.

%windir%\system32\inetsrv\appcmd set config “http://localhost/Exchange” -section:system.webServer/security/requestfiltering -allowDoubleEscaping:true /commit:apphost

You will see the following response after running the above command in the same window.

Applied configuration changes to section “system.webServer/security/requestFiltering” for “MACHINE/WEBROOT/APPHOST/Default Web Site/Exchange” at configuration commit path “MACHINE/WEBROOT/APPHOST”

SOURCE :

http://blogs.technet.com/amir/archive/2008/08/06/e-mail-download-issue-in-entourage-with-exchange-2007-on-windows-2008.aspx

Powershell to Set Exchange 2007 Mailbox Quota limit to UNLIMITED

Some times there may be a necessary that you may have to set mailbox quota prohibitsendandreceive to unlimited. Some users may be very important person and you need to set UNLIMITED to atleast receive emails.

$username = <username>

Set-Mailbox $username -UseDatabaseQuotaDefaults:$False -issuewarningQuota 90MB -ProhibitSendQuota 100MB -ProhibitSendReceive “UNLIMITED”

This is to set explicity for a user, if you want to send similar setting to multiple people then you have have to loop it and apply the same or

get-content “C:\names.txt” | Set-Mailbox  -UseDatabaseQuotaDefaults:$False -issuewarningQuota 90MB -ProhibitSendQuota 100MB -ProhibitSendReceive “UNLIMITED”

get-content “C:\names.txt” | Set-Mailbox  -UseDatabaseQuotaDefaults:$False -issuewarningQuota “UNLIMITED” -ProhibitSendQuota “UNLIMITED” -ProhibitSendReceive “UNLIMITED”

Powershell Command to Export User mailbox Propertes

Below Powershell command can be used to export the list of mailboxes properties like DisplayName, totalItems,ItemCount for the list of users given in a text file to a export to a csv file

Get-Content “C:\name.txt” | Get-Mailbox | Get-MailboxStatistics | Select DisplayName,TotalItemSize,ItemCount| Export-Csv c:\MailboxStatistics.csv
Get-Content “C:\name.txt” | Get-Mailbox | Get-MailboxStatistics | Select DisplayName,{$_.TotalItemSize.Value.ToMB()},ItemCount| Export-Csv c:\MailboxStatistics.csv
Get-Content “C:\name.txt” | Get-Mailbox | Get-MailboxStatistics | Select DisplayName,{$_.TotalItemSize/1.0MB},ItemCount| Export-Csv c:\MailboxStatistics.csv
Get-Content “C:\name.txt” | Get-Mailbox | Get-MailboxStatistics | Select DisplayName,{$_.TotalItemSize.Value.ToGB()},ItemCount| Export-Csv c:\MailboxStatistics.csv

Converting Exchange 2007 Mailbox

You can convert mailbox from one type to other type in two ways

1. Throught Powershell command

     Set-Mailbox <mailboxname> – Type <type>

     Type can be Regular, Room, Equipment, Shared

2.  Second option is throught Editing Value of msExchRecipientTypeDetails  from ADSIEDIT.

      Access user properties throught ADSIEDIT and find the attribute msExchRecipientTypeDetails change values. Values for Different mailboxes is given below

     User Mailbox : 1
     Linked Mailbox : 2
     Shared Mailbox :4
     Legacy Mailbox :8
     Room Mailbox   : 16
     Equipment Mailbox :13

OWA is not working for a User after migrating to Exchange 2007

When users Logs into OWA 2007, he gets below exception error

Exception

Exception type: Microsoft.Exchange.Data.Storage.StoragePermanentException

Exception message: There was a problem accessing Active Directory.

Solution

  1.  Open user properties in Active Directory Users and computer -> Click on Security Tab -> Advanced Button -> make sure that “Allow Inheritance.. ” Is checked

      2.  Check the user properties in Exchange management console , if Recipient Type Details is showing as legacy mailbox then run the following command in the exchange powersehll Set-Mailbox–ApplyMandatoryProperties –Identity <username>