Skip to main content


relay_domains — configure the list of domains for which Momentum relays mail


Relay_Domains = ( "*" "" )


When Momentum is configured as an inbound mail relay or gateway, it is necessary to specify for which domains you are willing to accept mail. Accepting mail from anyone for any destination would make you an open relay and vulnerable to abuse.


Any addresses set in the addresses option of the “fbl – Feedback Loop Module” must be set in the relay_domains option.

With the Relay_Domains option, you may specify a list of domains and left-globbed domains for which the instance will relay mail (accept for delivery). Left-globbed domains are of the form *fixed.ending. * would not match (as the dot is required), but would match,,, etc. * would match However, it would also match, which is usually undesirable, so in most cases the asterisk should be followed by a period.

If a domain is specified as a relay domain any incoming message that has its envelope to set to that domain, will be relayed. This setting works independently of the relay_hosts setting.

To accept mail for the domain and all subdomains under it, one would specify:

Relay_Domains = ( * )


Relay_Domains is valid in the global, pathway_group and pathway scopes.

See Also

Was this page helpful?