Skip to content
Email
ASD ISMISM-0567

ASD ISM 0567 Restrict email relay to specific domains

What it says

Email servers only relay emails destined for or originating from their domains (including subdomains).

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Email servers may relay only email addressed to, or sent from, their own domains and subdomains, so outsiders cannot use them as an open relay.

Email servers may relay only email destined for, or originating from, their own domains, including subdomains. Relaying means accepting an email and passing it on towards its destination. That allows both email from outside senders to the organisation's addresses and email from the organisation to anyone. A server must not relay email with neither end in its domains, such as from one outside address to another, because that would make it an open relay.

Why it matters

An open relay lets anyone send email through the organisation's server, so spammers and worms can use it to hide their origin, and its address can land on blocklists that stop the organisation's own email. Relaying only for its own domains closes that off.

How to implement

  1. List every email server and the domains it serves.

    Include gateways, backup gateways and internal relays used by applications and multifunction devices, and compare with an external scan for hosts accepting email. Take the organisation's domains and subdomains from its domain registrations.

  2. Limit accepted domains to the organisation's own.

    Set each server to accept email from outside only when it is addressed to one of the organisation's domains or subdomains. Remove domains it no longer holds, domains belonging to others, and any setting that matches every domain.

  3. Relay outward only what the organisation sends.

    Allow relaying to other domains only for users who have signed in and for named internal hosts, such as application servers and multifunction devices. Do not decide this from the sender address alone, because anyone can forge it.

  4. Test each internet-facing server from outside.

    From an external host, try sending from one outside address to another; the server must refuse. Repeat with a forged internal sender address, which ISM-1502 also requires the gateway to block. For a cloud email service, check its connector and relay settings, then run the same test.

Keep it running

Rerun an external open relay test after any change to the email servers, their connectors or accepted domains. When a domain is retired, remove it from every server's relay settings at the same time.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    An external open relay test of every internet-facing email server, found from public MX records and an external scan rather than only the organisation's list.

    Look at

    Whether any server passes on email from an outside address to another outside address, including when the sender address is forged to look internal.

    Good evidence

    Every server refuses to relay email with neither end in the organisation's domains, and refuses it when the sender address is merely forged to look internal.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The accepted and relay domain settings on each email server, compared with the organisation's domain registrations.

    Look at

    Whether any listed domain is not the organisation's, and whether any setting relays for every domain.

    Good evidence

    Each server lists only the organisation's own domains and subdomains, with no domain belonging to anyone else and no setting that relays for every domain.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The rules that allow outbound relay on each server, such as permitted internal hosts and authentication settings.

    Look at

    What a connection must show before the server relays to an outside domain.

    Good evidence

    Outbound relay is allowed only for connections shown to come from the organisation, such as signed-in users or its own internal hosts, and no rule allows it on the sender address alone.

Mappings

Closest match in ISO/IEC 27001: A.8.9, Configuration management, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.9Configuration managementPartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.