Creating comments via e-mail / Filter bounce messages

Aloha,

we've setup JIRA to fetch mails from an imap account (Exchange) and create comments to the respective issues. This is already working fine, however, the imap folder also contains bounce e-mails that I'd like to filter.

Our log is full with these messages:

2013-01-15 14:53:06,633 QuartzWorker-0 WARN ServiceRunner    Create Issue/Comment Service for KOTR [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'multipart/mixed; 
	boundary=_003_7811e41e06444abdab2e1fcc89c81c91NTOVCASHUB01adexamplede_
2013-01-15 14:53:06,774 QuartzWorker-0 WARN ServiceRunner    Create Issue/Comment Service for KOTR [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'message/rfc822
2013-01-15 14:53:06,817 QuartzWorker-0 WARN ServiceRunner    Create Issue/Comment Service for KOTR [mail.incoming.CreateOrCommentHandler.1] The mail 'FROM' does not match a valid user
2013-01-15 14:53:06,817 QuartzWorker-0 WARN ServiceRunner    Create Issue/Comment Service for KOTR [mail.incoming.CreateOrCommentHandler.1] This user is not in jira so can not add a comment: Microsoft Outlook <MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@example.com>

How do we tell JIRA to ignore bounce e-mails. Is there some kind of filter for subject or from?

1 answer

1 accepted

This widget could not be displayed.

Hi Nabil,

We have actually documented this, (to an extent at least), and basically the solution is to use a specific tool, such as procmail, to pre-process the emails before they hit the mailbox and are processed by JIRA as described in this document: https://confluence.atlassian.com/display/JIRA/Creating+Issues+and+Comments+from+Email#CreatingIssuesandCommentsfromEmail-Bestpractices%28pre-processingJIRAemailmessages%29

Hope that helps,
John

Thank you for the fast reply. Unfortunately I have to use Exchange, so I can't use procmail.

But from your answer I derive that there doesn't exist any built-in mechanism to filter mails, right?

I've added Exchange rules now. Although it's not the best solution - e.g. if there was another system expecting the mails in Inbox - it solves my problem for now.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

78 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you