When using the Search Exporter the following error is returned despite running the export as a user with the Security Role that has the "Export Email" Security Action.
"Exception: You don't have enough rights to export emails"
"User is not authenticated"
Additionally the following errors can be found in the SearchExport.exe.log file:
2010-01-01 12:00:00,550 [7] ERROR AfterMail.Log.MailExporter.Utils - [2502166443-3037497682-12-0x0] Failed to get attachment http://archivemanager/defaultinstance/viewattachment.aspx?CheckSum=23e957f1-a804-9176-365b-0f1be751fe34.
System.Net.WebException: Too many automatic redirections were attempted.
2010-01-01 12:00:00,582 [7] ERROR AfterMail.Log.MailExporter.Exporter - [3410880371-3037497682-4-0x0] Failed to retrieve message 6908f8ad-6a46-f528-c469-22f4c7d8edc0.
System.Web.Services.Protocols.SoapException: User is not authenticated
IIS is set to use both Integrated and Anonymous authentication simultaneously.
Open the following dialog: Administrative Tools | IIS Manager | Websites | ArchiveManager | Directory Security | Authentication and Access control | EDIT
Change the Authentication Method for the Archive Manager website to the correct setting. If using Archive Manager with Forms authentication ensure that only "Enable anonymous access" is checked. If using Archive Manager with Windows authentication ensure that only "Integrated Windows authentication" is checked.