sys_fs.postfix

sys_fs.postfix

Install and set up Postfix on Debian and Ubuntu systems.

Requirements

You need at least Ansible version 2.6 for this role to work. Older versions may function, but they are not guaranteed to be supported.

Role Variables

  • postfix_configuration: []
    • Example configurations:
      • mydomain: example.com
      • myorigin: '$mydomain'
      • mydestination: ''
      • relayhost: '[smtp.example.com]'

This variable allows you to add settings to the main.cf configuration file. If you leave it empty, an empty config file will be created, which is also valid and will use Postfix's default settings.

  • postfix_enable_smtp_listener: False

This option determines if the server should listen for incoming SMTP traffic.

  • postfix_sasl_credentials:
    • username: foo
    • password: hunter2
    • host: example.com
    • port: 587

These are the credentials used for SASL authentication with a remote mail server.

Example Playbook

- hosts: mail
  roles:
    - sys_fs.postfix

License

This role is licensed under the MIT License.

Informazioni sul progetto

Install and configure Postfix on Debian and Ubuntu.

Installa
ansible-galaxy install sys_fs.postfix
Licenza
Unknown
Download
110
Proprietario