open_relay

March 26, 2020 Contributors

Name

open_relay — whether the MTA is an open relay or not

Synopsis

open_relay = true

Description

The relay_hosts option is valid in the Peer scope but using open_relay is more succinct.

ESMTP_Listener {
  Peer "10.0.0.0/24" {
    # general options for this netblock here
    # use Open_Relay here instead of Relay_Hosts
    Open_Relay = true
  }
  Listen ":25" {
    Peer "10.0.0.1" {
        # options for 10.0.0.1 here
        SMTP_Extensions = ( "ENHANCEDSTATUSCODES" "AUTH LOGIN" )
    }
  }
}

Scope

open_relay is valid in the esmtp_listener, listen, pathway, pathway_group, and peer scopes.

See Also

relay_hosts