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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

921 views 3 12
Read article

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