The Mail Check Mx Microservice is responsible for polling MX records for a domain. Polled records are then evaluated and saved. You should have a database connection established with the Mx DB when running any project which contains a DAO folder.
In general, when running any project within MailCheck.Mx you should have the following environment variables set up:
Variable | Value |
---|---|
SnsTopicArn | arn of topic to publish messages |
MicroserviceOutputSnsTopicArn | arn of topic for api to publish messages |
ConnectionString | database connection string |
DevMode | boolean to toggle CORS and run on localhost |
NameServer | NameServer used in the Poller |
AWS_REGION | aws datacentre region |
AWS_ACCESS_KEY_ID | aws access key |
AWS_SECRET_ACCESS_KEY | aws secret access key |