Postfix Relay

Channel Revision Published Runs on
latest/stable 11 01 Nov 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/candidate 11 18 Oct 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 11 18 Oct 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
juju deploy postfix-relay
Show information

Platform:

Ubuntu
22.04 20.04 18.04

Learn about configurations >

  • disable_vrfy_command | boolean

    Default: True

    Disable the SMTP VRFY command. This isn't usually useful for relays.

  • domain_rewrite_map | string

    A list of domain:newdomain pairs to rewrite. Primarily used for allowing hosts with locally-resolvable domain names to send mail which appears to be from a real domain. Addresses in these domains will be rewritten from user@host.domain to user+host@newdomain.

  • myhostname | string

    The external hostname by which this mail relay is known. If not set, Postfix will default to using the system's FQDN.

  • mynetworks | string

    Default: 127.0.0.0/8

    A comma-separated list of networks for which this relay will allow sending mail.

  • nagios_context | string

    Default: juju

    Used by the nrpe subordinate charms. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.

  • nagios_servicegroups | string

    A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup

  • relayhost | string

    An upstream mail relay, sometimes called "smart host". Enclose it in square brackets to skip MX lookup.

  • sender_dependent_relayhost_maps | string

    A YAML-encoded list of (sender, relay host) pairs. If set, messages from each given sender will be sent via the given relay host.

  • smtp_auth_password | string

    Password to auth against remote mail server using smtp_auth_username. Requires smtp_auth_username to take effect.

  • smtp_auth_username | string

    Username to auth against remote mail server. Requires smtp_auth_password to take effect.

  • smtpd_helo_required | boolean

    Default: True

    Require that a remote SMTP client sends HELO or EHLO before commencing a MAIL transaction.

  • smtpd_recipient_restrictions | string

    Default: permit_mynetworks, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_pipelining

    Optional restrictions which the Postfix SMTP server applies in the context of a client RCPT TO command.

  • ssl_ca | string

    Base64-encoded SSL CA to use with the upstream relay host. If set postfix will assume the upstream host is using TLS and configure itself accordingly.