Hi,
First of all, thank you all for taking the time to read this post.
I am having a very hard time trying to set up moderated public folders using PowerShell on a server running Windows SBS 2011 With MsExchange 2010.
Here's what i exactly did :
First of all i used the Exchange Management Console to set up a new Public Folder, named "moderated_folder".
Then I mail enabled this folder.
I then enabled the moderation using this command :
[PS] C:\Windows\system32>Set-MailPublicFolder "\moderated_folder" -ModerationEnabled $True -ModeratedBy jeremy.lempereur -SendModerationNotifications Always -ArbitrationMailbox "SystemMailbox{1f05a927-2a51-4206-9997-9e36e5d29e5f}"
While the SystemMailbox is the "Microsoft Exchange Approval Assistant" mailbox, as you can see here :
[PS] C:\Windows\system32>Get-Mailbox -Arbitration | fl identity,DisplayName Identity : carpediem.local/Users/SystemMailbox{1f05a927-2a51-4206-9997-9e36e5d29e5f} DisplayName : Assistant Approbation de Microsoft Exchange Identity : carpediem.local/Users/SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} DisplayName : Microsoft Exchange Identity : carpediem.local/Users/FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 DisplayName : Microsoft Exchange Federation Mailbox
(We are french users, so feel free to ask for translation ^^)
Now the problem is :
When I try to put a file into this moderated_folder, I don't receive any mail asking for an approval... And the file lands in the folder without even asking for permission...
I tried looking into the "Exchange Mail Flow Troubleshooter" (I guess it's called so in English...) and I don't see any mail sent from / received by the moderated folder's address ( moderated_folder@<oudomainname.com>)
Does anyone have any idea about what could be wrong?
Here is the full list of my mailpublicfolder properties :
RunspaceId : ae841eef-fcc4-4f34-9903-368db75d5891 Contacts : {} DeliverToMailboxAndForward : False ExternalEmailAddress : expf:312B35F40B37524FA99F0DF5BB12515E-00000E0FB8C6 ForwardingAddress : PublicFolderType : Mapi PhoneticDisplayName : RootUrl : AcceptMessagesOnlyFrom : {} AcceptMessagesOnlyFromDLMembers : {} AcceptMessagesOnlyFromSendersOrMembers : {} AddressListMembership : {\All Recipients(VLV), \Liste d'adresses globale par défaut, \Dossiers publics } Alias : moderated_folder ArbitrationMailbox : {( I removed the domain name, but it's the right one)/Users/SystemMailbox{1f05a927-2a51-4206-9997-9e36e5d29e5f} BypassModerationFromSendersOrMembers : {} OrganizationalUnit : {( I removed the domain name, but it's the right one)/Microsoft Exchange System Objects CustomAttribute1 : CustomAttribute10 : CustomAttribute11 : CustomAttribute12 : CustomAttribute13 : CustomAttribute14 : CustomAttribute15 : CustomAttribute2 : CustomAttribute3 : CustomAttribute4 : CustomAttribute5 : CustomAttribute6 : CustomAttribute7 : CustomAttribute8 : CustomAttribute9 : ExtensionCustomAttribute1 : {} ExtensionCustomAttribute2 : {} ExtensionCustomAttribute3 : {} ExtensionCustomAttribute4 : {} ExtensionCustomAttribute5 : {} DisplayName : moderated_folder EmailAddresses : {SMTP:moderated_folder@<oudomainname.com>} GrantSendOnBehalfTo : {} ExternalDirectoryObjectId : HiddenFromAddressListsEnabled : False LastExchangeChangedTime : LegacyExchangeDN : /O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RE CIPIENTS/CN=312B35F40B37524FA99F0DF5BB12515E-00000E0FB8C6 MaxSendSize : unlimited MaxReceiveSize : unlimited ModeratedBy : {( I removed the domain name, but it's the right one)/MyBusiness/Users/SBSUsers/Jeremy LEMPEREUR} ModerationEnabled : True PoliciesIncluded : {119c7aab-645e-44e9-8ecd-5306c63259ed, {26491cfc-9e50-4857-861b-0cb8df22b5d7}} PoliciesExcluded : {} EmailAddressPolicyEnabled : True PrimarySmtpAddress : moderated_folder@<oudomainname.com> RecipientType : PublicFolder RecipientTypeDetails : PublicFolder RejectMessagesFrom : {} RejectMessagesFromDLMembers : {} RejectMessagesFromSendersOrMembers : {} RequireSenderAuthenticationEnabled : False SimpleDisplayName : SendModerationNotifications : Always UMDtmfMap : {} WindowsEmailAddress : moderated_folder@<oudomainname.com>
MailTip : MailTipTranslations : {} PartnerObjectId : 00000000-0000-0000-0000-000000000000 IsValid : True ExchangeVersion : 0.10 (14.0.100.0) Name : moderated_folder DistinguishedName : CN=moderated_folder,CN=Microsoft Exchange System Objects,DC=<manually removed>/,DC=<manually removed>/
Identity : <manually removed>//Microsoft Exchange System Objects/moderated_folder Guid : 2cd8e0aa-ccbe-4898-906f-3293ed16d456 ObjectCategory : <manually removed>/Configuration/Schema/ms-Exch-Public-Folder ObjectClass : {top, publicFolder} WhenChanged : 25/01/2013 16:08:43 WhenCreated : 25/01/2013 15:46:05 WhenChangedUTC : 25/01/2013 15:08:43 WhenCreatedUTC : 25/01/2013 14:46:05 OrganizationId : OriginatingServer : (I Just removed it but it's the right one ^^)
Thanks a lot for your time, and feel free to ask me questions, I will test everything you recommend me as soon as possible !
Jeremy Lempereur