From 9177b79883cfa37a5e9974aa44966d25aa9bd44b Mon Sep 17 00:00:00 2001 From: Johan Svensson Date: Mon, 3 Mar 2014 09:31:23 +0100 Subject: [PATCH 1/2] Add support for anvil service --- README.md | 2 +- templates/default/conf.d/10-master.conf.erb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 62559d7..c01a394 100644 --- a/README.md +++ b/README.md @@ -1404,7 +1404,7 @@ The `['services']` attribute is a hash. Each service attribute should be a hash. Inside this `listeners` key, you should name each listener with the format *PROTOCOL:NAME*. Allowed protocols are `fifo`, `unix` and `inet`. -Supported services are the following: `director`, `imap-login`, `pop3-login`, `lmtp`, `imap`, `pop3`, `auth`, `auth-worker`, `dict`, `tcpwrap`, `managesieve-login` and `managesieve`. +Supported services are the following: `anvil`, `director`, `imap-login`, `pop3-login`, `lmtp`, `imap`, `pop3`, `auth`, `auth-worker`, `dict`, `tcpwrap`, `managesieve-login` and `managesieve`. ### Director Service Example diff --git a/templates/default/conf.d/10-master.conf.erb b/templates/default/conf.d/10-master.conf.erb index c475f3d..96ccd51 100644 --- a/templates/default/conf.d/10-master.conf.erb +++ b/templates/default/conf.d/10-master.conf.erb @@ -143,3 +143,7 @@ service dict { } } <% end -%> + +<% if @services['anvil'].kind_of?(Hash) and @services['anvil'].length > 0 -%> +<%= Dovecot::Conf.service('anvil', @services['anvil']) %> +<% end -%> From 5e127c1193b87b6d83bec1127755722e45749c7b Mon Sep 17 00:00:00 2001 From: Johan Svensson Date: Mon, 3 Mar 2014 09:46:45 +0100 Subject: [PATCH 2/2] Add missing text for anvil --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c01a394..a904c16 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,7 @@ To see a more complete description of the attributes, go to the [Dovecot wiki2 c node['dovecot']['services'] - Dovecot Services configuration as a hash of hashes (see the examples below). Supported services: director, imap-login, pop3-login, lmtp, imap, pop3, auth, auth-worker, dict, tcpwrap, managesieve-login and managesieve. + Dovecot Services configuration as a hash of hashes (see the examples below). Supported services: anvil, director, imap-login, pop3-login, lmtp, imap, pop3, auth, auth-worker, dict, tcpwrap, managesieve-login and managesieve. {}