dovecot

Puppet module for dovecot

Aneesh C

aneesh

6,536 downloads

5,926 latest version

4.6 quality score

Version information

  • 1.1.0 (latest)
  • 1.0.1
  • 1.0.0
released Mar 1st 2017
This version is compatible with:
  • RedHat
    ,
    CentOS
    ,
    Ubuntu

Start using this module

Documentation

aneesh/dovecot — version 1.1.0 Mar 1st 2017

DOVECOT Module

Overview

This module install and configure dovecot IMAP and POP3 email server.

Usage

Default configuration:

include dovecot

Change configuration file settings:

class { 'dovecot':
    protocols       => 'imap pop3',
    mail_location   => 'maildir:~/Maildir',
    include         => [ 'conf.d/auth-passwdfile.conf.ext' ],
    log_timestamp   => '"%Y-%m-%d %H:%M:%S "',
    ssl_cert        => '</etc/pki/dovecot/certs/dovecot.pem',
    ssl_key         => '</etc/pki/dovecot/private/dovecot.pem',
}

Dovecot sql configuration:

class { 'dovecot::dovecot_sql':
    driver               => 'mysql',
    connect              => 'host=127.0.0.1 dbname=emaildb user=mail_admin password=password',
    default_pass_scheme  => 'CRYPT',
    password_query       => "SELECT email as user, password FROM usertb WHERE email='%u';",
}