Forge Home

dovecot

Puppet module for dovecot

7,512 downloads

6,761 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

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

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'aneesh-dovecot', '1.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add aneesh-dovecot
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install aneesh-dovecot --version 1.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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';",
}