Skip to content

saltstack-formulas/dovecot-formula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dovecot-formula

A salt formula that installs and configures the dovecot IMAP server. It currently supports an Arch, Debian/Ubuntu, Gentoo or Red Hat styled layout of the dovecot configuration files in /etc. Config file content (where needed) is stored in pillar (see pillar.example).

Config file to pillar mappings:

/etc/dovecot/local.conf in dovecot:config:local

e.g.:

/etc/dovecot/dovecot-ldap.conf.ext in dovecot:config:dovecotext:ldap
/etc/dovecot/conf.d/auth-ldap.conf.ext in dovecot:config:confext:ldap
/etc/dovecot/conf.d/10-ldap.conf in dovecot:config:conf:10-ldap
/etc/dovecot/auth.d/example.tld.passwd in dovecot:config:passwd_files:example.tld

Note

Any help, suggestions if this works / how this works for other distributions are welcome.

Available states

Installs and configures the dovecot package, and ensures that the associated dovecot service is running.