GithubHelp home page GithubHelp logo

ansible-role-postfix's Introduction

Postfix

This role helps to install and configure postfix.

Requirements

This role requires ansible 1.4 or higher.

Role Variables

The variables that can be passed to this role and a brief description about them are as follows:

Obligatory variables:

postfix_aliases:
  root:
    alias: [email protected], [email protected]
  www-data:
    alias: [email protected]

Optional variables:

postfix_myhostname: app1.example.com
postfix_mydomain: example.com
postfix_myorigin: $mydomain

postfix_mynetworks:
  - 127.0.0.0/8
  - 192.168.0.0/24

postfix_inet_interfaces:
  - 127.0.0.1
  - 192.168.0.1

postfix_message_size_limit: 102400000

postfix_relayhost: relay.example.com
postfix_relayhost_port: 587
postfix_relayhost_user: user
postfix_relayhost_password: password

postfix_relay_domains:
  - example.com
  - example.net

postfix_smtp_tls_cafile: /etc/ssl/certs/ca-certificates.crt
postfix_smtp_sasl_auth_enable: yes
postfix_smtp_sasl_security_options: noanonymous
postfix_smtp_sasl_password_maps: /etc/postfix/sasl/passwd
postfix_smtp_use_tls: yes
postfix_smtp_tls_security_level: encrypt
postfix_smtp_tls_note_starttls_offer: yes

Dependencies

Roles:

  • opendkim (optional)

Example Playbook

- hosts: servers
  roles:
    - { role: 1mr.postfix, tags: postfix }

License

BSD

Author Information

Created by Stas Stavnichuk

ansible-role-postfix's People

Contributors

1mr avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.