This guide relates to configuration of client-hosted Schoolbox. For Schoolbox SaaS, please see https://help.schoolbox.com.au/homepage/3062.
Client-hosted Schoolbox can be configured to send email either:
- Directly to recipients, or
- Via an external SMTP service (eg Google Apps/ GSuite, Office365) which routes messages to recipients
In both configurations, the web server always first routes mail via a co-located local relay.
1. Sending mail directly to recipients
For Schoolbox to send mail on behalf of users, the Schoolbox mail servers must be authorised to send from your users' mail domain. For example, to send mail for john@myschool.edu.au requires Schoolbox to be authorised to send mail for myschool.edu.au.
You must include this record in your domain's SPF record,eg myschoolbox.edu.au. 300 IN TXT "v=spf1 a:schoolbox.myschoool.edu.au ~all".
2. Sending mail via your relay and then to recipients
This configuration is no longer recommended. Although this can avoid the need for a SPF record, configuring your existing email server to allow open relaying can be very difficult. It is also actively discouraged by many of the major cloud email providers including Google and Microsoft. They implement hard rate limits that can prevent the delivery of bulk emails to your entire school in a timely manner. If you must use a relay, you can see our guides for configuring Google and Microsoft below.
In both cases, if email is sent from domains whose DNS you control, you should also configure DKIM.