Skip to main content

Variables

Context or environment variables may be used in certain settings of the configuration file that accept rules or dynamic values. The available context variables for evaluation vary depending on the setting and can include:

  • remote-ip: The IP address of the client for inbound sessions and the remote server's IP address for outbound sessions.
  • local-ip: The local server's IP address used in an outbound connection (available only when a source IP is specified).
  • listener: The listener ID where the connection was initiated for inbound sessions.
  • sender: The return path address specified in the MAIL FROM command for inbound sessions and the sender's address for outbound sessions.
  • sender-domain: The return path domain name specified in the MAIL FROM command for inbound sessions and the sender's domain name for outbound sessions.
  • rcpt: The recipient's address.
  • rcpt-domain: The recipient's domain name.
  • priority: The priority provided using the MT-PRIORITY extension.
  • authenticated-as: The account name used to authenticate the session for inbound sessions, or an empty value if the session is unauthenticated.
  • mx: The remote mail exchanger's hostname for outbound sessions.