— You have a third-party website on the second-level domain mysite.ru and you do not plan to abandon it.
In this case, the account can be connected to a third-level domain, for example, online.mysite.ru. The website will remain available, and the GetCourse account will be opened by the name of the subdomain online.mysite.ru.
After redirecting the subdomain to CNAME, you cannot configure mailing on behalf of this subdomain.
You will need to use a second-level domain for mailing. For example, firstname.lastname@example.org.
2. If you do not plan to link the account to this domain (the account is linked to another domain/subdomain or not linked at all), but you want to configure sending mail on behalf of this domain only, you need to register GetCourse TXT-records on the host side.
Please note: in this case, you do not need to register a CNAME-record for this domain.
Add the domain to the domain list of your account.
Specify the option to host the domain «On your own NS server». Save changes.
Go to the «Mail» section and move the selector opposite the domain mailbox.
In the DNS zone of the domain (at the host), enter the SPF-record, where:
@ - record name (if the host does not allow entering @ as the name, specify the domain name with a dot at the end of the entry or leave the field empty)
TXT — record type
v = spf1 mx a include: getcourse.ru — record value.
Please note that there must be one SPF only.
If a third-party SPF-record is already present for the domain, it must either be deleted or combined with the GetCourse record (if you want to keep the ability to send mailings from another service).
* So, for the mail.ru service, the combined SPF-record will look like:
v=spf1 mx a include:getcourse.ru include:_spf.mail.ru ~all
If IP-addresses were specified in your SPF, then the SPF record may look like:
v=spf1 mx a include:getcourse.ru ip4:220.127.116.11/22 ~all
In the DNS zone of the domain (at the host side), enter the DKIM-signature, where:
getcourse._domainkey.domain.ru. — record name
TXT — record type
v=DKIM1; k=rsa; p=MIG... — value of the record.
There may be several DKIM signatures. For example, if you plan to send letters not only from GetCourse, but also from the domain mail service, then you need to register an additional DKIM signature from your service.
If all the settings are entered correctly, then after a while both indicators in the «Account settings» — «Mail» section will turn green.
* In Safari browser, these mail setup indicators and DKIM signature are not displayed. When configuring the settings, it is advisable to use a different browser, for example, Google Chrome, Mozilla Firefox, etc.