Browse Source

dovecot_test::attributes: dont test mailboxes

Xabier de Zuazo 10 years ago
parent
commit
6cdc137a2d
1 changed files with 31 additions and 29 deletions
  1. 31 29
      test/kitchen/cookbooks/dovecot_test/recipes/attributes.rb

+ 31 - 29
test/kitchen/cookbooks/dovecot_test/recipes/attributes.rb

@@ -87,36 +87,38 @@ node.default['dovecot']['namespaces'] = [
     'separator' => '/',
     'prefix' => '',
     'location' => 'maildir:~/Maildir',
-  }, {
-    'name' => 'inbox',
-    'separator' => '/',
-    'prefix' => '',
-    'inbox' => 'yes',
-    'inbox' => true,
-    'mailboxes' => {
-      'Drafts' => {
-        'special_use' => '\Drafts',
-      },
-      'Junk' => {
-        'special_use' => '\Junk',
-      },
-      'Trash' => {
-        'special_use' => '\Trash',
-      },
-      'Sent' => {
-        'special_use' => '\Sent',
-      },
-      'Sent Messages' => {
-        'special_use' => '\Sent',
-      },
-      'virtual/All' => {
-        'special_use' => '\All',
-      },
-      'virtual/Flagged' => {
-        'special_use' => '\All',
-      },
-    },
   },
+  # mailboxes require dovecot >= 2.1
+  # {
+  #   'name' => 'inbox',
+  #   'separator' => '/',
+  #   'prefix' => '',
+  #   'inbox' => 'yes',
+  #   'inbox' => true,
+  #   'mailboxes' => {
+  #     'Drafts' => {
+  #       'special_use' => '\Drafts',
+  #     },
+  #     'Junk' => {
+  #       'special_use' => '\Junk',
+  #     },
+  #     'Trash' => {
+  #       'special_use' => '\Trash',
+  #     },
+  #     'Sent' => {
+  #       'special_use' => '\Sent',
+  #     },
+  #     'Sent Messages' => {
+  #       'special_use' => '\Sent',
+  #     },
+  #     'virtual/All' => {
+  #       'special_use' => '\All',
+  #     },
+  #     'virtual/Flagged' => {
+  #       'special_use' => '\All',
+  #     },
+  #   },
+  # },
 ]
 
 # plugins.rb