Archive for the ‘MS Exchange server’ Category

Outlook 2007 with Exchange 2007 on SBS 2008 username and password (re)prompt

Wednesday, January 13th, 2010

Hi… This days I recieved some questions regarding the problem of Outlook 2007 repromting for username and password when connected to Exchange 2007 (mostly in SBS 2008 environments)…

Saso has an explanation for this phenomenon :)

http://exchange.si/archive/2010/01/12/pow-11-kb973917-and-repeated-login-prompts.aspx

Blacklist providers to trust II

Monday, August 24th, 2009

Almost two years ago I have posted a comment regarding Blacklist providers that I use and I trust… Well I would like to update this post by adding or commenting that now I use only two providers that sucessfuly eliminate or reduce spam that is coming to my mail servers …

I currently use:
zen.spamhaus.org provided by http://www.spamhaus.org
bl.spamcop.net
 provided by http://www.spamcop.net

As you should decide to use or not to use blocklist providers on your mail servers I am adding interesting article from august 2009 to better understand how this providers work: http://www.allspammedup.com/2009/08/understanding-blocklist-providers/

I wish you luck in fighting spam! :)

TestExchangeConnectivity.com is getting ready…

Monday, June 22nd, 2009

For all you with any problems or concerns regarding Microsoft Exchange connectivity… You can test your Exchange server services like ActiveSync, Exchange Web services or Outlook connectivity by using: https://www.testexchangeconnectivity.com/ - fresh and new :)

EHLO team r0x! http://msexchangeteam.com/

0X8004010F weekend – Windows server 2008, Exchange 2007 SP1

Monday, December 15th, 2008

This weekend I was playing crawler… I know almost all internet sites describing the problems around 0X8004010F – damn error regarding Offline address book distribution…

But nowhere I have encountered the problem describing this error code in combination with Windows Server 2008 and Exchange 2007 SP1 with rollup 5.

Well… As I figured out it apparently does not work – if you want OAB to be distributed by Web-based distribution…

You get this error in your Outlook 2007 SP1 clients (on Windows XP and on Windows Vista)

As I can see there is somekind of permission problem becoues OAB virtual directory points to:

C:\Program Files\Microsoft\Exchange Server\ClientAccess\OAB

This directory has NO NTFS permissions for Auhtenticated users… but in IIS there is on this folder a parameter: Pass-through authentication - but as I know it can not work becouse your credentials are not covered in NTFS permissions of that folder.

But it does not work even if you give NTFS permissions to authenticated users… (you are still prompted for username and password in Outlook…)

Maybe I am missing something but weekend is almost over and my users need to use Exchange and RPC over HTTP(s) feature in their Outlooks tomorow… What I did is that I disabled Web-based distribution of Offline address book and I left only Public folder distribution. It took a couple of minutes for autodiscover.xml to update and Outlooks to get new parameters about Offline address book distribution.

Everything works correctly now…

Comments / suggestions appriaciated…

PS.
Hey all you Exchangegurus!
I think you will find this link useful: https://www.testexchangeconnectivity.com/

Windows server 2008 AD with Exchange 2007 SP1

Sunday, December 7th, 2008

Yes! I managed to make it work…
Exchange transport won’t start if you are installing Exchange 2007 SP1 on Windows server 2008 with Active directory on it even if you UNCHECK IPv6 on your network card properties…
The installation won’t complete… :(

You need to do it this way:

1. Uncheck Internet protocol version 6 (TCP/IPv6) in your network card properties

2. Delete localhost value for ipv6 in file called HOSTS in C:\Windows\System32\drivers\etc

::1             localhost

or comment it by using # at the start of line

3. Create/add a 32 bit DWORD with name DisabledComponents and value 0xFFFFFFFF to:
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters

My setup was Windows server 2008 standard as Hyper-V platform, inside Windows server 2008 standard with Active directory in functional level 2008 – everything updated and clean.

When I changed this three parameters exchange setup completed sucessfuly and now my testing Exchange 2007 is working! Wiiiii!!! :)

Mailbox statistics using Powershell in Exchange 2007

Saturday, January 12th, 2008

1. Sorted by Displayname (Display name, Mailbox size (MB), Item count, Last logon time, Last logoff time, Last loggedon user account)

Get-MailboxStatistics -Database “mailbox database” | Sort -Property DisplayName | ft DisplayName,@{expression={$_.totalitemsize.value.ToMB()};label=”Mailbox Size(MB)”}, itemcount, lastlogontime,lastlogofftime,lastloggedonuseraccount

2. Sorted by Last logon time
Get-MailboxStatistics -Database “mailbox database” | Sort -Property lastlogontime | ft DisplayName,@{expression={$_.totalitemsize.value.ToMB()};label=”Mailbox Size(MB)”}, itemcount, lastlogontime, lastlogofftime

Remove disconnected mailboxes from the database using Powershell in Exchange 2007

Saturday, January 12th, 2008

Get-MailboxStatistics -database “SERVER\Mailbox Database” | where {$_.disconnectdate -ne $null} | foreach {Remove-mailbox -database $_.database -storemailboxidentity $_.mailboxguid}

Create mail-enabled public folder using Powershell in Exchange 2007

Saturday, January 12th, 2008

New-PublicFolder -Name “test@test.com” -Path \TEST

Enable-MailPublicFolder -Identity “\TEST\test@test.com”

Set-MailPublicFolder -Identity “\TEST\test@test.com” -EmailAddressPolicyEnabled $false

Set-MailPublicFolder -Identity “\TEST\test@test.com” -EmailAddresses “test@test.com”, “test@test.net”, “test@test.org”

Set-MailPublicFolder -Identity “\TEST\test@test.com” -PrimarySmtpAddress test@test.comAdd-PublicFolderClientPermission -Identity “\TEST\test@test.com” -User Username -AccessRights EditorGet-PublicFolderClientPermission -Identity “\TEST\test@test.com” | fl

New certificate in Exchange 2007 step-by-step

Saturday, January 12th, 2008

1. step
New-ExchangeCertificate -generaterequest:1 -domainname domain.com,mail.domain.com,smtp.domain.com,pop3.domain.com -privatekeyexportable:1 -path c:\cert.txt -force:1

2. step
Import certificate request using web access to your Certification authority - logon as administrator! (WEB SERVER!!!)

3. step
Export certificate to a location on the disk… c:\certnew.crt

4. step
Import-ExchangeCertificate -path c:\certnew.cer

5. step
Enable-ExchangeCertificate -thumbprint 5ACC9A5D90E2CFDBAD6E25CD02362B8954506810 -Services “IIS,POP,SMTP,IMAP”

To remove old certificates:
Remove-ExchangeCertificate -Thumbprint …………

Create new autodiscover virtual directory

Saturday, January 12th, 2008

New-AutoDiscoverVirtualDirectory -websitename “SITE-NAME” -WindowsAuthentication $true -DigestAuthentication $false -BasicAuthenticvation $true