Skip to content

Latest commit

 

History

History

postfix

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ansible Role: Postfix

Installs Postfix server on Debian and Ubuntu servers.

Role Variables

Available variables can be found in defaults/main.yml

Example Playbook

    - hosts: all
      vars:
        postfix_root_alias: 'my@mail.com'
      roles:
        - alphanodes.setup.postfix

Example Playbook with google relay

    - hosts: all
      vars:
        postfix_root_alias: 'my@mail.com'
        postfix_relayhost: smtp.gmail.com
        postfix_relayhost_port: 587
        postfix_sasl_auth_enable: true
        postfix_sasl_password_maps:
          - 'smtp.gmail.com me@gmail.com:my_top_secret_password'
      roles:
        - alphanodes.setup.postfix