by Phoummala Schmitt
Exchange administrators have a love hate relationship with public folders. Most Exchange administrators are working towards moving off of public folders for their Exchange environment, but there are some enterprises that still use them. A common feature of Public Folders that is used quite often is mail-enabling the public folder to receive emails.
Mail-enabling a public folder is an easy step to complete that allows users to post email items simply by using an email address to send an email to the folder. Some organizations use mail-enabled Public folders as a common place to receive faxes, or external email messages similar to a Shared Mailbox. Once the public folder is mail-enabled you can modify mail settings such as Alias, email addresses and even configure Send as permissions.
[wp_ad_camp_1]
Often times when mail-enabled public folders are used for receiving requests for a department or group. Once the public folder is setup a common request that I have seen is “Can we set an auto-response for each message that it receives?” After cringing for a bit, I usually respond with a cautious “yes, but…”
I am cautious because configuring an autoreply for a mail enabled public folder is a fairly easy process using the folder assistant settings within your Outlook client, but this feature can cause email loops. There are Alternatives to the autoreply using the Folder assistant, such as using a Hub Transport rule, or setting an Out-of-Office on the mailbox that is the moderator for the public folder. Sometimes the alternatives are not ideal, and your only option is to use the Folder Assistant. To configure an autoreply using the Folder Assistant that does not cause mail loops involves a few extra steps, but it is doable. If you choose to down the path of using the Folder Assistant I would proceed caution and document your steps. Here is how autoreply on public folders can be configured successfully.
1. Ensure that your public folder is mail-enabled through one of the following methods
Using Exchange Management Shell:
- Open Exchange Management Shell and run the following cmdlet
- Enable-MailPublicFolder –Identity “\path of your public folder”
Using the Exchange Management Console:
- Expand the public folder tree and locate the folder you want to mail-enable.
- Select Mail enable by right clicking menu
2. To allow the Public folder to be able to receive emails from outside your network you will need to modify the permissions of the Public Folder.
- Open Exchange Management Shell and use the following cmdlet
- Add-PublicFolderClientPermission “\SurveyFeedback” -AccessRights CreateItems -User Anonymous
3. Once you have verified that Public Folder can receive emails and has the correct permissions you can configure the autoreply using your Outlook client.
- Open Outlook and locate the public folder that you want to configure an autoreply
- Click on Folder Assistant
- Click on Add Rule
- Choose Select
- Check the “Reply” with Template box and click on the Template box.
- You are now presented with template to draft your autoreply. Fill in the Subject and Body fields. You do not need to fill the To: field. When you are completed with the template click Save & Close.
4. When the autoreply is configured the folder assistant box will show a message reply rule listed
5. Test your autoreply by sending an email to the email enabled public folder
Voila! Your public folder is configured to receive email and generate an autoreply.
Hi, thanks for the information on Out Of Office and Public Folders. You mentioned that loops can happen. In your directions, if followed steps 1-5, should loops not happen? Thanks!
Correct
An email loop can always happen when the sender address is spoofed or unavailable. PF sends an auto reply back to the sender but the sender does not exist. Then, a NDR will be sent back to the PF which sends another auto reply back to the none existent sender. I have had this with a user mailbox filling up with 1000s of those messages until the mailbox was full.
The email loop needs to be addressed on an email security system. This is a standard feature of the professional ones. Websense for example.
I am trying to set up an autoreply to an email enable subfolder (the main folder is also email enabled) but when I set up the rule through folder assistant it won’t send an autoreply. It will only send it if I sent the email to the main email enabled folder. How do I make it so I can basically have two autoreplies one for the main folder and one for the subfolder?
As long as the subfolder is mail enabled the rule should work. If mail-enabled then there could be an issue with the rule on that user profile.
So basically i did the things you summed up, and it worked.
But the problem i am having at this point is that the auto-reply is send to an email which has an auto-reply enabled as well, causing the problem to loop each other, and creating an auto-reply-storm.
I am having problems finding a solution for this problem, is it known to you? and do you know a way to exclude the loop?
This is for a Exchange 2016 environment.
We have mail enabled PF that can send and receive to internal and external address.
Setup Folder Assistant Template. Auto-Reply works for internal address but not for external addresses.
I’ve tested the Send As function for the PF; and it sends messages to external addresses.
Cannot figure out why it only works internally.
I currently do not have an Exchange 2016 environment to look at but, this thread and step 10 are likely what you need if everything else is already in place. To get the auto-reply for the external email addresses on your PF’s. https://www.experts-exchange.com/questions/28731139/Auto-reply-to-the-emails-sent-to-a-public-folder.html
Here is what this person mentions in step 10 of their entry.
10. To enable automatic replies for users outside your organization you will need to check the “Allow Automatic Replies” on Remote Domains “Message Format” tab for the Hub Transport role under Organization Configuration in Exchange Management Console
Good luck!