Giter Club home page Giter Club logo

puppet-dovecot's Introduction

dovecot

A fork of https://github.com/mxhero/puppet-dovecot.

Table of Contents

  1. Module Description - What the module does and why it is useful
  2. Setup - The basics of getting started with dovecot
  3. Usage - Configuration options and additional functionality
  4. Limitations

Module Description

The dovecot module lets you use Puppet to manage the Dovecot IMAP server. This module is developed and tested on Debian 8 but will most likely be compatible with Debian-like distributions.

Setup

What dovecot affects

  • Your system's dovecot/dovecot.conf file.
  • Your system's dovecot/conf.d/ directory

Usage

  • dovecot : Main class
  • dovecot::file : Definition to manage configuration file snippets
  • dovecot::plugin : Definition to install plugin sub-packages

Example Configuration

class { 'dovecot':
    plugins                    => [ 'mysql', 'pigeonhole' ],
    protocols                  => 'imap pop3 sieve',
    verbose_proctitle          => 'yes',
    auth_include               => 'sql',
    mail_location              => 'maildir:~/Maildir',
    auth_listener_userdb_mode  => '0660',
    auth_listener_userdb_group => 'vmail',
    auth_listener_postfix      => true,
    ssl_cert                   => '/etc/dovecot/dovecot.pem',
    ssl_key                    => '/etc/dovecot/private/dovecot.pem',
    postmaster_address         => '[email protected]',
    hostname                   => 'mail.example.com',
    lda_mail_plugins           => '$mail_plugins sieve',
    auth_sql_userdb_static     => 'uid=vmail gid=vmail home=/home/vmail/%d/%n',
    log_timestamp              => '"%Y-%m-%d %H:%M:%S "',
}

dovecot::file { 'dovecot-sql.conf.ext':
    source => 'puppet:///modules/example/dovecot-sql.conf.ext',
}

Limitations

The service will only be reloaded on configuration change, meaning that changes requiring a full restart won't be applied, such as changes to listening interfaces.

puppet-dovecot's People

Contributors

jproyo avatar sethfischer avatar bobtfish avatar smbambling avatar fraenki avatar kevinmartin avatar kevinschmidt avatar thias avatar

Watchers

 avatar Devon Mizelle avatar  avatar James Cloos avatar Nicholas Guichon avatar Jacob Castello avatar Andrew Newton avatar Pete Toscano avatar Leo Deng avatar Eric Parton avatar Robert Bellante Jr 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.