Coder Social home page Coder Social logo

ansible_role_dovecot's Introduction

dovecot

Description

Ansible role to install an configure dovecot on CentOS.

Example Playbook

---
- name: Dovecot
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: bubebyte.dovecot

Role Variables

These are the role default which are set in default/main.yml:

---
dovecot_extra_packages: []
dovecot_auth_method: system
dovecot_sql_backend: mysql  # relevant only if dovecot_auth_method is set to sql
dovecot_protocols: ""  # if left blank, the systrem default will be used

dovecot_sql_backend_hostname: localhost
dovecot_sql_backend_databasename: maildb
dovecot_sql_backend_user: maildbusr
dovecot_sql_backend_password: "ChangeMePLZ!"
dovecot_sql_password_query: "SELECT username, domain, password FROM users WHERE username = '%Ln' AND domain = '%Ld' AND active = 'Y'"
dovecot_sql_user_query: "SELECT home, uid, gid FROM users WHERE username = '%Ln' AND domain = '%Ld' AND active = 'Y'"

dovecot_ssl_cert_path: /etc/pki/dovecot/certs/dovecot.pem
dovecot_ssl_key_path: /etc/pki/dovecot/private/dovecot.pem

dovecot_mail_location: "maildir:~/Maildir"
dovecot_mail_namespace:
  inbox:
    inbox: "yes"

dovecot_mailboxes_namespace:
  inbox:
    Drafts:
      special_use: \Drafts
    Junk:
      special_use: \Junk
    Trash:
      special_use: \Trash
    Sent:
      special_use: \Sent
    "Sent Messages":
      special_use: \Sent

dovecot_service:
  imap-login:
    inet_listener imap:
      port: 143
    inet_listener imaps:
      port: 993
      ssl: "yes"
    service_count: 1
  pop3-login:
    inet_listener pop3: {}
    inet_listener pop3s: {}
  submission-login:
    inet_listener submission: {}
  lmtp:
    unix_listener lmtp: {}
  imap: {}
  pop3: {}
  submission: {}
  auth:
    unix_listener auth-userdb: {}
  auth-worker: {}
  dict:
    unix_listener dict: {}

dovecot_imap_mail_plugins: []

dovecot_managesieve: false
dovecot_managesieve_port: 4190
dovecot_sieve_plugins: ""

Requirements

Roles

none

Collections

none

License

MIT License

Author Information

Armin Bube

ansible_role_dovecot's People

Contributors

bubebyte avatar

Stargazers

 avatar

Watchers

 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.