In order to support multiple addressees from one mailbox, various strategies can be used (a) gmail supports mailbox Aliases (the Alias address is retained as a Delivered-To header), (b) o365 supports Aliases but sadly doesn"t yet retain it, (c) you may use a mailbox such as Postfix that supports "all" recipients in a subdomain to be retreivable through one account (eg tickets.yourco.net). From JEMH v4.1.12 (Jira9+) the _addressee_ values also act as catch email addresses and do not require duplicates in Profile > Email > Catch Email Address. Since JEMH v4.2.12, Domain rule addressees must not match Forward Users/emails
Summary
This rule checks the sender or recipient addresses of an email for a match against the user-defined value. This value is regular expression capable, meaning that a pattern can be defined instead to allow matches to many different addresses.
Creating a Domain Rule
Go to Profile > (Non-Default) Project Mapping > Domain Rules and press New Domain mapping
This will then open the configuration for the Domain Rule. Here you define the Email Domain Rule and who to match against and then you press save.
Once the configuration is entered and saved you will be able to see the configuration within the Domain Rule summary.
Configuration Options
Email Domain Rules
A CSV list of Regular expressions that is used to match against the Sender or the Addressee (CatchEmail).
Catch email to match (Mailbox/sender)
This allows you to define who you would like to match against. Current options are:
Match against the (mailbox catchemail) addressee - addresses found within the To/Cc header.
Match against the sender of the email - address found within the From header.
Note: Domain rules, which are matched against mailbox catchemail addressee(s), must not match Profile > Notifications > Forward User/email as this causes a mail loop. As of JEMH v4.2.12, entering a match will result in an edit time error: