How can I debug how incoming emails are processed?
Usually mails send to the monitored email address appear right away in JIRA but there are some emails that apparently not processed.
I have configured the email handler to assign a default creator to a issue if the sender cannot be found, accept bulk mail (it's an internal server) and have no limit configured but still some mail sit in the inbox without showing up in JIRA.
The whole email processing seems to be faulty.
We use the ldap integration to pull the users from our ADS. Only 2 of those useres are JIRA admins, but the rest should be able to create tickets via email.
It strangly works most of the time, but the emails are not deleted in the mailbox.
If I send an email from an email account that is not configured in the ADS (and so not known to JIRA) the mail is processed and deleted as normal.
Stefan, unsure if the issue captured below is the cause of your troubles but I would advise that you have a look, as it was for me. If after reviewing you feel this is your issue then please post an update/accept answer.
With that said, your post is a bit confusing as you mention creating a default creator in the mail handler but the question is raised agains JSD not JIRA SW and JSD doesn't have the same email handler methodology and no default creator. I am assuming here that, in fact you are using both JIRA SW and JSD? Regardless, there are a good number of Atlassian product issues reported that are similar to what you raise here so you may want to do a search there if the one provided doesn't hit the mark.
Actually that was only half of the problem.
Yes, I had 2 mail handlers active, one for JSD and one for JIRA Core. This also explained why I sometimes got two issues out of one mail.
I changed that now but there are still mails that are NOT processed.
Now I found the error: " Error while serializing message"
with the Java error:
at com.sun.mail.imap.IMAPInputStream.forceCheckExpunged(IMAPInputStream.java:107) [jira-email-processor-plugin-2.2.5_1472010792000.jar:1.5.6]
When you say they are not processed does that mean if you actually log into the email w/ an email client you see those that are "not processed" as being unread? Or are emails from certain individuals not being processed? In my case those not being processed were from users that had JIRA core accounts but not JIRA SW and not a JSD customer. In other words....
JSD customer accounts - can successfully create a ticket against a project in JIRA SW via email
JIRA core accounts w/ access to Confluence but NOT JIRA SW - could not create a ticket against a project in JIRA SW via email
hope that is clear
I see them as beeing unread and I do get an error.
It seems to have to da something with encoding / attachments / content-type I just have not figured out what exactly.
A mail from user a will be process except if it contains an attachment in which case I will get the above mentiones error in the log file.
A mail from user b will be process without error and an attachment will be placed inside JIRA.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG