Generated IMAP retrieval not working
Question asked by Server Intellect - January 10, 2016 at 9:20 PM
Unanswered
I've been working on a script to mass generate IMAP retrieval accounts for the purposes of migrating from one Smartermail instance to another.  However, after inserting the chunk of <ImapRetrieval> information into the userconfig.xml and starting the Smartermail service, Smartermail recognizes the IMAP retrieval account correctly (Test Connection comes back fine) but refuses to actually retrieve anything, and clicking Retrieve doesn't work either. 
 
So far the only way I've found to get it to work is by modifying the IMAP retrieval account through the web interface or adding another, but this defeats the point since my goal is to do this en-masse, on servers with potentially hundreds/thousands of users.  I've tried a bunch of other things to "kick" Smartermail into starting the retrieval like modifying the userconfig.xml and imap_folders.xml while Smartermail is running, or adding a folder with the GUID  as the name to the IMAP or disabling and re-enabling IMAP Retrieval as a feature for the domain, but no luck.  Any ideas?

Reply to Thread