summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-10resources cannot contain an array as name anymore since puppet 3.4HEADmastervarac
see http://blog.nantern.com/en/2014/03/22/Puppet-Parameter-name-failed-on-package.html
2014-03-23merge with immerda's syslog option and nadirs latest head fixes #5031kwadronaut
for LEAP
2014-02-25fix merge leftover in manifests/base.ppvarac
2014-02-25Merge branch 'leap_master'varac
Conflicts: files/munin/dovecot manifests/base.pp manifests/centos.pp manifests/debian.pp manifests/expire.pp manifests/init.pp manifests/munin.pp manifests/quota.pp manifests/sieve.pp manifests/sql.pp
2014-01-23change mode for /etc/dovecot.conf from 0640 to 0644varac
we couldn't find another way to get around this error when postfix tries to deliver a mail via the dovecot relay: postfix/pipe[22438]: 5951215E04: to=<...>, orig_to=<...>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: doveconf: Fatal: open(/etc/dovecot/dovecot.conf) failed: Permission denied ) the debian package ships this file also with mode 0644 so we think there's no security flaw with this change.
2013-12-09some linting, and make the 'config_dir' name be more specifically ↵Micah Anderson
'dovecot_config_dir' to not be greedy in the namespace
2013-10-07fix logrotation for newer logrotate:Micah Anderson
With the old permissions, it wouldn't rotate because of: error: skipping "/var/log/dovecot/dovecot.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. So we fix the /var/log/dovecot permissions, and change the owner of the log files to dovecot
2013-01-26debian support: different package namevarac
2012-12-07manage mode of state file for muninmh
2012-12-07improve dovecot munin graphs to also include proxy logins and work with our ↵mh
logfile style
2012-06-27switch to 2.7 requirement of underscores instead of hyphensMicah Anderson
2012-06-20correct variable namingmh
2012-06-05new style for 2.7mh
2012-01-14set the sieve directory permissions to allow for the mail user to perform ↵Micah Anderson
actions
2012-01-14add capability to sieve for sequential before/after scripts and ship some ↵Micah Anderson
default ones
2011-11-14allow for overriding the owner/group/mode of dovecot config filesMicah Anderson
In some cases, the default permissions will not work. For example, if you are using postfix's pipe to send things through dovecot's LDA with sieve for filtering, you will get this: dovecot-lda: Permission denied doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 17: Couldn't open include file /etc/dovecot/conf.d/90-sieve.conf: Permission denied that is because, by default, the process runs as user 'mail'
2011-11-13set a default destinationMicah Anderson
2011-11-11remove the include ::dovecot from expire.pp, this keeps parameterized ↵Micah Anderson
classes from working
2011-11-11fix invalid include (puppet complains that it is an invalid tag)Micah Anderson
2011-11-11fix syntax errorMicah Anderson
2011-11-10add dovecot::config::file to be able to handle the different ↵Micah Anderson
/etc/dovecot/conf.d files (similar to nginx/apache module)
2011-11-10add the dovecot-dict-sql.conf to the dovecot::sql classMicah Anderson
2011-10-20the weekly rotation for the dovecot logs results in log files that are too ↵Micah Anderson
large for munin to parse fast enough to produce results before timeouts, so switching the rotation to be daily
2011-10-13dovecot logs should be owned by group dovecotMicah Anderson
2011-10-12change munin graph to be reasonable for dovecot2Micah Anderson
the previous way of doing graphs did some calculations that were way off when logrotation happened
2011-09-22setup debian location for sieve scriptsMicah Anderson
2011-09-22debian has a different name for the managesieve processMicah Anderson
2011-09-02setup dovecot version differences for expire classMicah Anderson
2011-09-02add version dependency to the expire package requirementMicah Anderson
2011-09-02the new version of dovecot (version 2) has a number of differences from ↵Micah Anderson
version 1, so I added a $version class parameter (defaulting to 2) so we can have different configurations for the different versions. for version 2, debian does have different sql packages, so we test the above variable before attempting to install the packages, rather than test for the $operatingsystem in sql.pp
2011-09-01change the munin plugin to use /bin/echo, posix dash doesn't support the ↵Micah Anderson
'-e' flag, so it would output things like this: -en login_tls.value 0
2011-08-31change the dovecot logfile to the more standard 'dovecot.log' instead ofMicah Anderson
'infos.log' also fix the group for the munin plugin
2011-08-31switch group ownership of the logfiles from gid=12, to 'dovecot', gid=12 is ↵Micah Anderson
not universal
2011-08-31formatting standardizationMicah Anderson
2011-08-30the dovecot-expire.conf isn't used for the mysql typeMicah Anderson
I do not understand what the dovecot-expire.conf is used for, the dovecot documentation on the expire plugin (http://wiki1.dovecot.org/Plugins/Expire) doesn't talk about that file, and I cannot locate it via searches (except to find this module!). There is also no example file in the files/expire hierarchy. If its supposed to be for the sqlite method, then it should just be moved into expire/sqlite.pp - but I am not sure how to proceed with this, because I do not understand what the 'mixed' type is supposed to be.
2011-08-30fix debian dovecot package dependency for dovecot-commonMicah Anderson
2011-08-30fix another syntax errorMicah Anderson
2011-08-30fix missing commaMicah Anderson
2011-08-30switch class expire to a parameterized classMicah Anderson
NOTE: if you are using this class, you will need to change some variables old: $dovecot_expire_type new: $type old: $dovecot_mail_location new: $mail_location old: $dovecot_expire_dirs new: $dirs old: $dovecot_expire_days new: $days much simplier :)
2011-08-30add debian-specific cron expire snippetMicah Anderson
2011-08-30add mysql expire capability, provides a mysql-dict-expire.confMicah Anderson
2011-08-25override the location of the dovecot configuration file for Debian's locationMicah Anderson
2011-08-25debian doesn't have different packages for the different database drivers to ↵Micah Anderson
dovecot so we case out based on the $operatingsystem to determine if we include those packages, or not. Additionally, the dovecot config on Debian is in /etc/dovecot, so we override the dovecot-sql.conf resource to specify that location
2011-08-25formatting standardizationMicah Anderson
2011-08-22remove unneeded commentMicah Anderson
2011-08-22add preliminary support for debianMicah Anderson
2011-07-15it is not anymore necessary to add an empty source to purge directoriesmh
2010-12-12use a dedicated command for managesieve checkingmh
2010-12-12fix namingmh
2010-12-12unifynamingmh