dgswin
asked on
Exchange 2007 - public folder mail-disabled
In Exchange 2007, there are public folders that are "Mail-enabled" and that I removed the "Mail-enabled" function with the following Powershell command:
Get-PublicFolder -Recurse -resultsize unlimited -Identity "\Secteur Opérations Régionales\Région 02\4210" | Disable-MailPublicFolder
After executing the PowerShell we noticed in the Public Folder Management console that the public folder is now "Mail-disabled":
But when I execute the following powershell command:
Get-MailPublicFolder -Filter {EmailAddresses-like '*4210@mern.gouv.qc.ca*'} | Format-List
The public folder has kept these SMTP addresses:
How to completely remove all SMTP addresses from this public folder which is "Mail-disabled"?
See the attach file for picture
PublicFolder.docx
Get-PublicFolder -Recurse -resultsize unlimited -Identity "\Secteur Opérations Régionales\Région 02\4210" | Disable-MailPublicFolder
After executing the PowerShell we noticed in the Public Folder Management console that the public folder is now "Mail-disabled":
But when I execute the following powershell command:
Get-MailPublicFolder -Filter {EmailAddresses-like '*4210@mern.gouv.qc.ca*'} | Format-List
The public folder has kept these SMTP addresses:
How to completely remove all SMTP addresses from this public folder which is "Mail-disabled"?
See the attach file for picture
PublicFolder.docx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
When I write to the SMTP address, the email goes to the public folder.
ASKER
Thanks! Deleting the object in Active directory solves the problem.
You have correctly disable the public folder...only with the command:
Disable-MailPublicFolder -Identity "\name"
https://technet.microsoft.com/en-us/library/bb123781(v=exchg.80).aspx
If you send an email to the mail public folder, do you receive it or do you have NDR?
Cheers