Forward all unprocess/error e-mails to an e-mail address

We have a service in jira to create issues from emails using JEMH, the ForwardEmail is added in the service and I was expecting unprocess/error e-mails all go to this e-mail address, but instead the sender got the error message e-mails, e.g. JEMH has rejected your email, n problem(s) were found, etc.

How can I forward all unprocess/error e-mails to an e-mail address? Thanks

1 answer

1 accepted

Accepted Answer
0 votes

There is an override in the configuration file that redirects all hintogram traffic to a specific unlucky person, in 0.9.x see the entry in the example-emh.properties file in the JAR:

overrideHintOgramEmailAddress=someaddress@someco.com

Andy,

I did check there is the following property in the file, but I tried today and the external user (sender from hotmail ) still got error message. I put my e-mail address in the configuration file and I didn't get any message. Did I miss anything? Thanks

overrideHintOgramEmailAddress=myaddress@myco.com

error e-mail received by sender:

From:Exchange Server <Jira-Admin@myco.com.au>

Date: 28 May 2012 12:45:36 PM AEST

To:<sender@hotmail.com>

Subject: [JIRA] hint.reject.email.subject

text.hint.hello

text.hint.reject.fieldcount.summary

text.hint

---------

text.hint.message : No project could be assocaited with the email

text.hint.detail : com.javahollic.jira.emh.engine.IssueCreationHelper.configureProject():297

text.hint

---------

text.hint.message : The configured default project could not be found

text.hint.detail : com.javahollic.jira.emh.engine.IssueCreationHelper.configureProject():316

text.hint.caused.rejection

text.hint

---------

text.hint.message : Insufficient valid information was found, no issue was created.

text.hint.email.orginal.email

-----------------------------

text.hint.email.subject

-----------------------

Testing with change in subject

text.hint.email.sent.date

-------------------------

2012-05-28 12:45:09,000

text.hint.email.received.date

-----------------------------

2012-05-28 12:45:10,000

text.hint.email.from

--------------------

text.hint.email.from.detail.format

- text.hint.email.address sender@hotmail.com / text.hint.email.personal sender / text.hint.email.mapped.jira.user text.hint.email.mapped.jira.user.unknown

text.hint.email.to

------------------

text.hint.email.to.detail.format

- text.hint.email.address Jiradatafeed.Support@myco.com.au / text.hint.email.personal Jira Datafeed Support

text.hint.email.headers

-----------------------

Andy,

Just found in the log file -

No override Recipient for hintOgrams found, using default From: for recipient

But I did put my email address in the config properties file with overrideHintOgramEmailAddress=(my-email-address)

Can you help? Thanks

That should work, suggest opening a JIRA, providing more details, versions etc.

Andy,

I have attached the log and emh properties in the following:

https://studio.plugins.atlassian.com/browse/JEMH-752

Can you help? Thanks

I think you need to secure that issue between Reporter and Developer, not Reporter and Atlassian. Im not employed by Atlassian :)

Thanks for that, issue updated.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

138 views 6 8
View post

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