What is the difference between Catchmails and JemhAddresseeRegexp?
@Since 1.3
The two fields, Catch Email Address and JEMH Addressee Regexps are very similar and serve related purposes.
Catchmails
With a Catchmail set, JEMH will only process mail sent to that address. Other mail will be automatically forwarded to the 'forward' user so as to not block the mail queue. Multiple addresses can be specified using a comma separator, eg:
inbox@jira.myco.net,support@jira.myco.net
Whilst the examples here are static addresses, it is possible to use regular expressions too, however, ideally the JemhAddresseeRegexps should be used for that.
Catchmail addresses also serve to tell JEMH which addresses are incoming addresses, so that (for example) during user creation activities, JEMH doesn't create an account for the inbox (which would cause a circularity). This also allows other addresses within the same domain to benefit from auto-creation.
JemhAddresseeRegexps
This field is similar to Catchmails, it is a CSV list of email addresses and/or regular expressions for incoming addresses. It is possible to NOT provide a catchmail and use a regular expression instead. You could therefore have a regular expression as below, to match all fields in the support.myco.net domain, this could be in addition to a catchmail XYZ@place.com. The reason this is done is that a single profile could potentially be used by more than one JIRA Inbound mail handler (thereby be associated and used with more than one actual mailbox).
.*@support\.myco\.net