Version information
released Mar 1st 2017
This version is compatible with:
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'aneesh-dovecot', '1.1.0'
Learn more about managing modules with a PuppetfileDocumentation
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';",
}
Copyright 2017 Aneesh C Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.