Part of the transition/migration process to Exchange Server 2007 (probably one of the last steps) is to upgrade the default Address Lists, since OPATH filtering syntax replaces the LDAP filtering syntax. Here are the necessary PowerShell commands:
All Users
Set-AddressList "All Users" -IncludedRecipients MailboxUsers
All Groups:
Set-AddressList "All Groups" -IncludedRecipients MailGroups
All Contacts:
Set-AddressList "All Contacts" -IncludedRecipients MailContacts
Public Folders:
Set-AddressList "PublicFolders" -RecipientFilter { RecipientType -eq 'PublicFolder' }
Default Global Address List:
Set-GlobalAddressList "Default Global Address List" -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))}