Create a sub-domain under your company's primary domain, e.g. mg.yourdomain.com. Please consult your IT administrator or web host provider to accomplish this.
This will route all aACE-related email traffic through a sub-domain of your choosing. Setting up Mailgun to use your primary domain may interfere with your employees' incoming and outgoing emails.
Mailgun does NOT need or store any mail server credentials and does NOT interact at all with mail servers.
aACE will NOT have access to the web server, including the DNS server, mail server, etc.
aACE will ONLY access the sub-domain via Mailgun.
In your Mailgun account, navigate to Domains and "Add New Domain" and enter the sub-domain created in step 1 above.
Please use Mailgun's help documentation, as well as your IT administrator or web host provider, to complete this step. DNS records will need to be created for your sub-domain.
DNS records must be created for outgoing and incoming email. (Within the Mailgun interface it reads that incoming DNS is optional, but for aACE's email integration it is required.) DNS records for tracking is not required. Information on configuring the DNS can be found in the section called "Domain Verification and DNS". Once DNS records are configured, the status icons should show as green.
Note the Domain (e.g. mg.yourdomain.com) and the API Key. These will be entered into aACE.
In your Mailgun account, navigate to Routes and Create New Route.
Enter the following information:
Filter Expression: catch_all()
Description: Store all incoming emails, for retrieval from aACE
We also recommend that you configure an optional forward() action to forward all emails to an external email account that you manage (e.g. firstname.lastname@example.org). This email account will function as a backup. Mailgun only stores 3 days worth of emails; if the automatic process stops for a period of time, emails may be lost without a backup.
This establishes that emails sent to "email@example.com" will be stored and available to aACE for retrieval.
Public API Key
In the main Mailgun screen, note the Public API Key. This will be entered into aACE and is used for email address validation.