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
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 14m ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

3 views 0 2
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