When Matrix server notices fit a maintenance or policy announcement
Server notices are a Synapse feature that lets an administrator send messages from a dedicated notices room to individual accounts or to every account on the homeserver. Use them when you must reach users who may not be watching their usual rooms, such as during planned downtime, a change to acceptable use rules, or a security notice that asks people to reset a password or check their devices. The key difference from an ordinary room message is that the sender is a server-side account, the message lands in a room the user is placed in, and the notice comes from the operator rather than from a colleague in a conversation.
Compare the options before you commit. Email is better when a message must reach people who have no active Matrix client, or when the notice needs an audit trail outside the homeserver. A status page suits outages that users check on their own. An existing team chat channel is fine for a small community where everyone already reads it, but it fails for accounts that have never joined that channel. Server notices are strongest when you need a guaranteed in-client message to each account, which is why they are often paired with email for anything time-critical.
Before you choose, confirm three things in your environment: whether the notices feature is enabled on your Synapse version, whether your users run clients that display the notices room, and whether your identity model (Synapse-native accounts or accounts managed through Matrix Authentication Service) changes how you address users. Check the current configuration documentation for the notices settings, and test the full path with a dummy account before any real announcement. Decide in advance who may send notices, how you will log them, and how you will word a message that users can act on.
Which notice approach fits your deployment
A notice sent to one account through the Synapse Admin API suits a targeted message, such as a warning to an account owner after a policy breach or a note to a user whose account needs attention. An operator runs a script or tool on the server host with an admin access token, names the recipient by full Matrix user ID and supplies the message text. Synapse places the notice in that user's server notices room, so the message lands in a dedicated place the user can find.
- Audience: one named account, usually the person directly affected by an event.
- Effort: low for a handful of accounts, but every send is a separate API call, so repeat work grows with the list.
- Operator control: the sender chooses the wording and timing for each user and keeps a record in the script's own logs.
- Access: the token has admin rights, so restrict who can run the script and where the token is stored.
- Visibility: a user who rarely opens the client may read the notice late, so confirm how your clients display it.
Before the first real send, check that the notices room is enabled, send a test to an internal account and confirm the wording and recipient with the owner of the message.
A broadcast to every account suits platform-wide maintenance windows or policy changes that affect all members. The usual approach is a script that lists local accounts through the admin API and then sends the same notice to each one. Because the script builds the recipient list, the operator must decide whether deactivated accounts, bots and service users receive the message.
- Audience: all local users, which gives the widest reach and the easiest place to make an error.
- Effort: moderate and mostly upfront, covering the account listing with pagination, the send loop, error handling and a dry run.
- Operator control: full control over filtering, throttling and retries, but the operator owns every failure path.
- Recurring effort: the script needs review after each Synapse upgrade, because API behavior and response formats can change between releases.
- Blast radius: a wrong template or a loop bug reaches every user at once, so keep a small test list and a way to stop the run.
Before running a broadcast, confirm the account count in a dry run, agree the wording with the communications owner and check the pagination and rate behavior against the Synapse version you run.
Enabling server notices in the homeserver configuration creates a system account and a notices room that the operator uses as the delivery channel. This route is a platform setting, so it defines who sends notices and how the room is named. The message itself still comes from a script or the admin API, so the setting and the sending method are separate decisions.
- Audience: local users who are placed in the notices room, so confirm the membership rules for new and existing accounts.
- Effort: a one-time configuration change with a server restart, followed by low ongoing effort.
- Operator control: the system account name, room name and related settings are defined in the Synapse configuration manual, which is the place to confirm exact key names.
- Change impact: changing these settings after launch can affect the room and the system account, so test changes on a non-production server first.
- Records: the notices room becomes a retained record of platform messages, so confirm the retention approach and who can read it.
Read the server notices section for your Synapse version, confirm the key names there and test with one account before enabling the feature for all users.
Configuration options and when each fits
This table compares the Synapse settings and admin API calls involved in sending server notices, with the purpose, fit and trade-off of each. Read it to decide which pieces you need before you enable the feature, and confirm exact key names against the Synapse configuration manual for your version.
| Option | Purpose | When it fits | Trade-off |
|---|---|---|---|
| server_notices block in homeserver.yaml | Enables the server notices feature and holds its settings | You want a notices room for maintenance or policy messages to users | Changing it requires a homeserver restart and a config review |
| system_mxid_localpart | Sets the local name of the account that sends notices | You want notices to come from a dedicated, clearly named sender | Renaming later leaves older notices under the previous sender |
| system_mxid_display_name | Sets the name users see on notices | Users need to recognize official notices at a glance | Only cosmetic; a generic name can look like phishing |
| system_mxid_avatar_url | Sets the avatar shown on notices | Your brand should appear on system messages | Adds an upload step and needs a valid media reference |
| room_name | Sets the title of the notices room | Your users are used to a specific label such as Server Notices | Users may see the room in their list without expecting it |
| room_avatar_url and room_name checks | Controls how the notices room appears to users | You want the room to be recognizable and consistent with other rooms | Extra settings to maintain across upgrades |
| Admin API call to send a notice to one user | Sends a single notice to a named user ID | You need a targeted message, such as an account-specific warning | One request per user; scripting needed for large lists |
| Scripted announcement to all accounts | Loops over user accounts and sends a notice to each | You need a site-wide maintenance or policy message | Heavy on the server and must be paced; confirm the user list first |
How to enable the notices room and send the first notice
This sequence turns on server notices in Synapse, confirms a system account can post to the notices room, and checks that a test notice reaches one account and displays correctly in a client before any broadcast.
Confirm the Synapse version and upgrade notes
Before changing anything, record the Synapse version you run and read the upgrade notes for every release between it and your target. Confirm that your PostgreSQL and Python versions meet the platform floors listed there, since Synapse drops support for versions that reach upstream end of life. Check the Synapse releases page to confirm the version you plan to run is current for your branch. The step is done when you have a written version record and a list of any upgrade actions the notes require, with a named owner for each.
Review the server notices settings
Open the Synapse configuration manual and locate the server notices section. Decide the system account localpart, the notices room name, and the message text that will identify notices to users, and agree these with the people who will own the announcements. Keep a copy of the current homeserver.yaml and note that the settings take effect only after Synapse restarts. The step is done when the planned values are written down and a backup of the configuration file exists.
Enable the notices settings in configuration
Edit homeserver.yaml to enable server notices with the values agreed in the previous step, keeping the system account name distinct from any human or service account. Validate the YAML syntax with your normal tooling before restarting so that a typo does not stop the homeserver. Confirm that the file change is recorded in version control or your configuration management system. The step is done when the configuration parses cleanly and the diff contains only the intended notices changes.
Create the system account
Register the notices system account using the method your deployment uses for local accounts, such as the register_new_matrix_user command on the server host or your MAS administration tooling if MAS is in front of Synapse. Use a strong, unguessable password, and disable interactive login for it if your policy allows. The account is used only to post notices, so keep it out of ordinary room invitations. The step is done when the account exists and can be listed with the user query in your admin tooling.
Restart Synapse and check the logs
Restart the Synapse process or container, then read the startup log for configuration errors and any warning about the notices settings. If you run workers, restart the processes that handle the admin and client APIs as well. Confirm that the homeserver answers on its client port and that the version endpoint reports the version you recorded. The step is done when Synapse starts without errors and the log shows no notices-related warnings.
Send a test notice to one test account
Use the Synapse Admin API to send a server notice to a single dedicated test account, not to a group of users. Include a clearly labeled test message so that the recipient and any reviewer can tell it apart from a real announcement. Record the request, the response, and the time you sent it. The step is done when the API call returns success and the notice event is visible in the admin tooling or database for that account.
Check the notice in a client
Sign in to the test account with the client your users run, such as Element, and find the notices room created for that account. Confirm the message text, sender name, and room title display as expected, and that the notice cannot be replied to in a way that confuses users. Check the same message on a second client or platform if your users use several. The step is done when the notice displays correctly in every client you support, and any display problem is logged for a fix before broadcast.
Scripting announcements to all accounts safely
A broadcast to every account is a script you own, so the safety controls sit in the script, not in the server. Build it as a loop over active local accounts from the Synapse Admin API user listing, sending one server notice per user through the server notices endpoint, and paginate the listing because a large server will not return every account in one response. Filter out deactivated accounts and, if your policy allows it, bots and service accounts. Confirm the current listing parameters, the notice request fields and the rate limit behavior against the Synapse documentation for your exact release before you write the loop, because these details change between versions.
Make the send idempotent and auditable before you make it fast. Write a local record for each user ID with the broadcast identifier, the message hash, the time of the attempt and the result, and skip any user already marked as sent on a rerun. Without that ledger, a script that fails halfway through will either double-notify people or leave you guessing who received the message. Throttle requests and back off on errors instead of retrying in a tight loop. Treat any rate limit response as a signal to slow down, and confirm your server's rate limit settings for admin requests with your own operators rather than assuming defaults.
Run the script in dry-run mode first. The dry run should resolve the recipient list, render the final message text and write the planned actions to the ledger without calling the notice endpoint. Then rehearse the full send against a staging homeserver with a realistic set of test accounts, including a deactivated account and a user who has already been notified, and confirm the ledger matches what you expected. Only after the staging run behaves correctly should you point the script at production, with a named approver, a message reviewed by policy or communications staff, and a rollback plan that is honest about the fact that a sent notice cannot be recalled.
How an administrator notice reaches a user's client
The flow starts with an administrator or script calling the Synapse Admin API, which sends the notice as the server notices system user into a notices room on the homeserver. The user's client then receives it as an ordinary room event. The trust boundary sits between the operator's server and the user's client, so the notice is only as private as the room it lands in. Check that the notices room exists, that the target account is in it, and whether the operator's policy assumes end-to-end encryption, which the docs do not confirm for server notices.
Notice path from operator tooling to the user's client, with the operator boundary marked.
Security and operational risks of server notices
Server notices reach every account through a privileged channel, so the risks sit in who can send them, what they say, and what stays on record. Each card below names one risk and the control that addresses it before the first notice goes out.
Keep the admin token on the host
The admin API access token can act as a server administrator, so anyone holding it can message every account. Store it only on the Synapse host or in the secrets tool that runs your announcement script, and never paste it into chat, tickets or shared runbooks. Confirm that the account used for notices is a dedicated admin account with a clear owner, and rotate the token when someone with access leaves the team. Check that the script reads the token from a protected file rather than a command-line argument, where it can appear in process listings.
Make the sender identity unmistakable
Notices arrive from a system account in a room users may not recognize, which makes them a natural vehicle for phishing. Attackers copy the wording of maintenance warnings and ask users to click a link or log in again. Agree in advance on the sender display name and the exact text that identifies an official notice, and publish that guidance to staff and users through your existing channels. Tell users that notices will never ask for passwords or ask them to open links outside your own domain.
Review wording for out-of-band reach
Server notices reach users outside their normal conversations, and some users will read them as urgent instructions from IT. A poorly worded notice can cause outages, data exposure or panic, and it cannot be recalled once delivered. Require a second reviewer for every notice, check the text against the actual change window and time zone, and state what users must do and what they can ignore. Keep a short approved template for common cases such as maintenance and policy updates.
Prevent duplicate and runaway sends
A script that loops over all accounts can send the same notice more than once after a timeout, a retry or a restart, and users receive repeated alerts. Keep a log of each user ID the script has notified, make the job resumable, and run a dry run that prints the target count before any send. Limit the batch size and pause between requests so the server and your users are not flooded. Test the script against a single test account first.
Assume notices stay in room history
Each server notice is written into the notices room that the recipient sees, and it remains in the room history like any other event. A notice that contains a mistake, a internal host name or sensitive incident detail stays visible unless an administrator redacts it. Keep notice content free of secrets, internal addresses and incident specifics, and confirm with your legal or records team how long your retention settings keep this history. Redaction removes the content for users, but you should confirm the exact effect with the Synapse documentation for your version.
Synapse docsLog every admin action
Sending a notice is a privileged action, so you need to know who ran which script, when, against which accounts, and with what text. Synapse writes HTTP access logs, but those alone rarely identify the operator or the business reason. Record the operator, the approval, the message text and the target count in your change system, and forward server logs to a store that the notice administrators cannot edit. Review these records after each announcement to confirm that only approved sends occurred.
Questions teams ask before sending server notices
How much effort does setting up server notices take?
Enabling server notices is a configuration change plus a dedicated notices room, so the technical setup is small compared with the work around it. The effort that matters comes from deciding who receives what, writing the message wording, and testing the path end to end on a non-production homeserver. Effort rises with the number of notice types you plan (maintenance, policy updates, security events), with how many user groups need different text, and with whether you script bulk sends to every account. Ask any partner to show the expected tasks as a written list before agreeing a scope.
Can our internal team set up server notices without outside help?
Yes, if the team already operates Synapse and has someone comfortable with the Synapse Admin API and server configuration. The steps are documented in the Synapse configuration manual and the admin API documentation, and a competent operator can run a test send against a test account. Outside help is most useful when the server runs on Kubernetes through Element Server Suite, when the deployment uses MAS, or when the notice process must be reviewed by legal or compliance teams. Confirm your Synapse version and deployment method first, because the exact config keys and endpoints depend on them.
What access do we need to provide for the work?
The work needs administrative access to the Synapse configuration file and the host or container that runs it, plus an admin access token for an account with server admin rights. Test accounts are needed to receive notices and confirm delivery, ideally on a staging homeserver that matches production. You will also need read access to the list of target users, a named owner for the notices room, and a place to store the token securely. Ask for these requirements in writing, and ask how the partner will handle the token and any logs that might record it.
How long does it take to be ready for a live send?
Readiness depends on how quickly you can complete the configuration change, restart or reload the homeserver as your process requires, and verify that a test notice reaches a test account. The main time sinks are change approval, agreeing the wording of the notice, and confirming the notices room appears correctly for users. No general duration applies, so plan the sequence with your own change calendar and ask any partner to state the steps, the dependencies and the checkpoints in the written scope. Do not schedule a bulk send until a single-user test has passed on the same server version.
Do server notices replace email for policy updates?
No. Server notices reach users inside Matrix clients, so they only help people who log in and see the notices room. A user who has not opened their client for a long time may miss a maintenance warning or a policy change that matters to their account. Many organizations keep email or another out-of-band channel for formal policy notices and use server notices for in-client operational messages. Decide this with your compliance and legal owners before the first send, and record which channel is authoritative for each notice type.
Which kinds of notices can be sent this way, and what should we avoid?
Server notices suit short operational messages such as scheduled maintenance, a forced password reset, or a change to acceptable use rules. Avoid sending sensitive personal data, credentials or incident details that should stay out of chat history, since notices persist in users' rooms like other messages. Keep each notice short, identify the sender clearly as the server, and avoid wording that asks users to click unfamiliar links, because phishing attempts often copy this format. Review your wording with the security team before each send.
What would a partner scope and deliver for server notices?
A partner scope usually covers reviewing your Synapse version and deployment, enabling and testing the notices room on a staging homeserver, documenting the per-user admin API call and a scripted bulk send with dry-run and logging, and writing a short runbook for your operators. Deliverables should be named in the written scope, along with what the partner needs from you and what remains your responsibility after handover. Ask for the scope to state which Synapse version it was tested against, so you can repeat the process after upgrades. Quotes follow from the written scope.
How DeployOpen works on this
DeployOpen scopes, builds and hands over server notices for a self-hosted Matrix homeserver inside your own infrastructure. We agree the notice types, the audience and the operating procedure in writing before any change reaches your Synapse configuration or admin scripts.
How we scope
- We confirm which Synapse and MAS versions run in your environment and whether server notices are already enabled.
- We agree which notice types you need, such as maintenance warnings and policy updates, and who is allowed to send them.
- We define the audience, whether all accounts or a selected group, and the approval step before any broadcast goes out.
How we build
- We configure the server notices room and its settings in your Synapse configuration, then test the setup on a non-production homeserver first.
- We script the admin API calls for single-user and all-user notices, with logging, dry-run checks and error handling.
- We verify delivery to a set of test accounts and confirm that users see the notices in the expected room.
How we hand over
- We document the configuration keys, the scripts, the sending procedure and the rollback steps for your operations team.
- We walk your administrators through a live send and a test notice so they can run the process without us.
- We record which account sends notices and how that account is protected, so access stays under your control.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support, Synapse upgrades and checks after each release are available as a retainer.
- We can review notice procedures again when your Synapse or MAS version changes or your policy wording is updated.

