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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,777 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot