Preferred method: send via an Oxford mail service
The best way for a third-party system to send mail from an Oxford address is to use one of following two options:
- Set up a dedicated generic Nexus365 mailbox and configure the third-party system to send through that
- Set up a dedicated SSO-only account and configure the third-party system to use this to send using the message submission service
Fall-back method 1: authorise third-party to send from your domain using DKIM
If the third-party you are using does not support properly-authorised sending via Nexus365 or Oxmail (message submission) but does support DKIM message signing then the following steps will authorise your third-party as a sender of messages from your domain.
- Ensure that you have a good understanding of DKIM and DMARC
- Configure DKIM message signing in your third-party service. This will normally involve enabling DKIM, setting / confirming the DKIM selector and generating / obtaining a DKIM key via the web admin interface
- Create the required DKIM record in DNS for your domain using Hydra IPAM, for example:
saasxmpl._domainkey.unit.ox.ac.uk. TXT v=DKIM1;p=MIImxJCfLeSbBMI4CSmTIQo...
Fall-back method 2: authorise third-party to send from your domain using SPF
Warning: SPF should only be considered where all other options have been investigated and are not possible
SPF should only be considered where all of the following are true:
- Your supplier does not support sending via an Oxford mail service
- Your supplier does not support DKIM
- Your supplier cannot send mail from their own domain, or it is preferable to put Oxford mail delivery at risk over doing this
An error in the third-party configuration may cause failure of some or all mail sent from your domain (not just via the third-party).
In this situation you can configure SPF by:
- Ensure that you have a good understanding of SPF (see SPF Project resources) and DMARC
- Liaise with your local IT team to agree whether this can be setup on an existing mail domain or needs to be setup on a separate subdomain
- Work with your local IT team to setup the agreed domain to receive mail, if required. (If mail is sent with an address like noreply@subdomain.unit.ox.ac.uk then mail reception is not required - this significantly reduces the work required to setup a subdomain for the supplier)
- Work with your supplier to configure your system to send mail from the agreed domain
- Obtain an SPF inclusion clause from your third-party. This should be in the form “include:saas.example.com”
- Ask your local IT team to add the supplier's SPF clause into the SPF DNS record for the agreed domain using Hydra IPAM. For an existing domain this will typically require insertion of the additional clause between v=spf1 and any other specifiers. For example:
unit.ox.ac.uk. TXT v=spf1 include:saas.example.com redirect=_spf.ox.ac.uk
Note 1: SPF, DKIM and DMARC are entirely controlled via your DNS records and third-party system configuration. IT Services does not have access to either of these, so if you need assistance then we recommend consulting the IETF RFCs for each standard, reviewing message headers using the message header analyzer and working with your third-party to review log messages.
Note 2: Some third-party systems simply don't support contemporary methods of sending mail reliably (or at all). We have found some, even large / well-known / expensive, third-party systems that are not able to send mail via Office365 or via SMTP services, and do not support SPF or DKIM. These systems will not be able to send mail from Oxford addresses reliably, and in some cases may not be able to send mail from Oxford addresses at all. Options here are essentially limited to: configure the third-party system to send mail from their own domain (assuming they have SPF, DKIM and DMARC configured correctly), or find another supplier.