jemhAddresseeRegexps required ?

While configuring JEMH, we encountered the following problem:

We have an Inbound Mail Account *.*.*@gmail.com.

This throws the following error/exception:

Capture.PNG

Capture.PNG

When we use the same E-Mail as a test case, there is no error.

What's wrong?

Do I have to fill in the jemhAddresseeRegexps field and handle the "*.*.*@gmail.com*? 

1 answer

The expression you have is a broken regexp.  In Regexp, dot '.' means any character, star '*' means any number of the preceding character.  to match anything use (without quotes) .*@gmail.com

Supplying a catchemail address (specific) and/or a regular expressions helps JEMH identify the 'inbox' mail addresses, so they can be filtered from storage and related notifications.  Without this, JEMH will start notifying your mailbox by considering at an email only user...

I changed the expression in the jemhAddresseeRegexps field:

E-Mail.PNG

But the error / exception is thrown. 

Initially, we only had a Catch Email Address defined. That's when the exception was thrown the first time. Then I added the regexps...

Chris Fuller Atlassian Team Jul 30, 2015

He might actually want to ensure that there are at least two dots in it, in which case ".*\..*\..*@gmail.com" would get you there. But the basic idea of this answer, that the field takes a formal regular expression as opposed to simple filename-style wildcard globbing looks correct to me.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

818 views 2 19
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