Resource Type: postfix_master

Defined in:


Manages Postfix services.

The resource name can be used as a shortcut for specifying the service and type parameters by using the form `<service>/<type>` otherwise it can be left as a normal string.


  • chroot (defaults to: -)

    Whether the service runs chrooted.

    Supported values:
    • -
    • n
    • y
  • command

    The command name and arguments.

    The command to run. If the command includes any `-o` options then these follow the same autorequire rules as for [`postfix_main`](#native-type-postfix_main) resources with the exception that it doesn't autorequire a setting that is redefined with `-o` in the same command.

    If the command uses `pipe(8)` then the value from the `user=` attribute is parsed and any existing user or group resource will be autorequired.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • limit (defaults to: -)

    Process limit.

    Supported values:
    • -
    • %r{^\d+$}
  • private (defaults to: -)

    Whether or not access is restricted.

    Supported values:
    • -
    • n
    • y
  • unprivileged (defaults to: -)

    Whether the service runs with root privileges or not.

    Supported values:
    • -
    • n
    • y
  • wakeup (defaults to: -)

    Wake up time.

    Supported values:
    • -
    • %r{^\d+[?]?$}


  • name

    The name of the service and type separated by `/`, or a unique string.

  • provider

    The specific backend to use for this `postfix_master` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • service (namevar)

    The service name.

  • target

    The file in which to store the services, defaults to `/etc/postfix/`.

    If a file resource exists in the catalogue for this value it will be autorequired.

  • type (namevar)

    The service type.

    Supported values:
    • inet
    • unix
    • unix-dgram
    • fifo
    • pass