We are in the process of updating our JIRA installation to 5.2.5 and would like to use the incoming mail feature.
So far we have configured the incoming IMAP mail server, and the test completes successfully. Next, we configure a mail handler to pick up mail from a specific IMAP folder. This also works, it picks up the mail, and it creates an issue as expected.
This is where the real problem comes in. JIRA says that it is deleting the processed mail, but it still shows after the issue has been created. During the next run, the issue will be created for a second time, 3rd and 4th and so on until the mail is manually deleted. We are using Google Apps, so our mail is hosted by Google. The problem does not occur when using POP, but we need IMAP for folder support.
So far I have tried various IMAP settings in Google to see if it makes a difference, but it does not. If we point an ordinary mail client to the mail account, deletions work 100%.
Any ideas?