forked from zuazo/dovecot-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
1864 lines (1623 loc) · 62.4 KB
/
metadata.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# encoding: UTF-8
#
# Cookbook Name:: dovecot
# Author:: Xabier de Zuazo (<[email protected]>)
# Copyright:: Copyright (c) 2016 Xabier de Zuazo
# Copyright:: Copyright (c) 2013-2015 Onddo Labs, SL.
# License:: Apache License, Version 2.0
#
# 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.
#
name 'dovecot'
maintainer 'Xabier de Zuazo'
maintainer_email '[email protected]'
license 'Apache 2.0'
description <<-EOH
Installs and configures Dovecot, open source IMAP and POP3 email server.
EOH
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '3.3.0' # WiP
if respond_to?(:source_url)
source_url "https://github.com/zuazo/#{name}-cookbook"
end
if respond_to?(:issues_url)
issues_url "https://github.com/zuazo/#{name}-cookbook/issues"
end
chef_version '>= 12' if respond_to?(:chef_version)
supports 'amazon'
supports 'centos', '>= 6.0'
supports 'debian', '>= 7.0'
supports 'fedora', '>= 18.0'
supports 'opensuse'
supports 'oracle', '>= 6.0'
supports 'scientific', '>= 6.0'
supports 'suse'
supports 'ubuntu', '>= 12.04'
depends 'ohai', '~> 4.0'
recipe 'dovecot::default', 'Installs and configures Dovecot.'
recipe 'dovecot::user', 'Creates the dovecot system user.'
recipe 'dovecot::conf_files', 'Generates all the configuration files.'
recipe 'dovecot::ohai_plugin',
'Provides an Ohai plugin for reading dovecot install information.'
recipe 'dovecot::from_package', 'Installs the required packages.'
recipe 'dovecot::service', 'Configures the Dovecot service.'
recipe 'dovecot::create_pwfile', 'Creates a userdb password file from databag.'
attribute 'dovecot/install_from',
display_name: 'dovecot install method',
description:
'Determines how Dovecot is installed from. Only `package` is '\
'supported for now.',
type: 'string',
required: 'optional',
default: '"package"'
attribute 'dovecot/user',
display_name: 'dovecot user',
description: 'Dovecot system user. Should no be changed.',
type: 'string',
required: 'optional',
default: '"dovecot"'
attribute 'dovecot/group',
display_name: 'dovecot group',
description: 'Dovecot system group. Should no be changed.',
type: 'string',
required: 'optional',
default: '"dovecot"'
attribute 'dovecot/databag_name',
display_name: 'Databag name',
description: 'The name of the databag to use',
type: 'string',
required: 'optional',
default: '"dovecot"'
attribute 'dovecot/databag_users_item',
display_name: 'Databag users item name',
description: 'The name item to put the users in',
type: 'string',
required: 'optional',
default: '"users"'
attribute 'dovecot/user_homedir',
display_name: 'dovecot homedir',
description: 'Dovecot system user home directory.',
calculated: true,
type: 'string',
required: 'optional'
attribute 'dovecot/lib_path',
display_name: 'dovecot library path',
description: 'Dovecot library path. Should no be changed.',
calculated: true,
type: 'string',
required: 'optional'
attribute 'dovecot/conf_path',
display_name: 'dovecot configuration path',
description:
'Dovecot configruration files path. Should no be changed.',
type: 'string',
required: 'optional',
default: '"/etc/dovecot"'
attribute 'dovecot/conf_files_user',
display_name: 'dovecot configuration files user',
description: 'System user owner of configuration files.',
type: 'string',
required: 'optional',
default: '"root"'
attribute 'dovecot/conf_files_group',
display_name: 'dovecot configuration files group',
description: 'System group owner of configuration files.',
type: 'string',
required: 'optional',
default: 'node["dovecot"]["group"]'
attribute 'dovecot/conf_files_mode',
display_name: 'dovecot configuration files mode',
description: 'Configuration files system file mode bits.',
type: 'string',
required: 'optional',
default: '00644'
attribute 'dovecot/conf/password_file',
display_name: 'path of password file',
description: 'The path and filename of the password file',
type: 'string',
required: 'optional',
default: 'node["dovecot"]["conf_path"]/password'
attribute 'dovecot/sensitive_files',
display_name: 'dovecot sensitve files',
description:
'An array of dovecot sensitive configuration files. Each array '\
'item can be a glob expression or a fixed file name. This file '\
'names should be relative to node["dovecot"]["conf_path"] '\
'directory. Example: [ "dovecot-sql.conf.ext", "*-auth.conf.ext", '\
'"conf.d/auth-supersecret.conf.ext" ]',
type: 'array',
required: 'optional',
default: %w(*.conf.ext)
attribute 'dovecot/sensitive_files_mode',
display_name: 'dovecot sensitve files mode',
description:
'Configuration files system file mode bits for sensitve files.',
type: 'string',
required: 'optional',
default: '00640'
attribute 'dovecot/conf_files/core',
display_name: 'dovecot core configuration files',
description: 'Dovecot core configuration files list.',
type: 'array',
required: 'optional',
default: %w(
conf.d/10-auth.conf
conf.d/10-director.conf
conf.d/10-logging.conf
conf.d/10-mail.conf
conf.d/10-master.conf
conf.d/10-ssl.conf
conf.d/10-tcpwrapper.conf
conf.d/15-lda.conf
conf.d/15-mailboxes.conf
conf.d/90-acl.conf
conf.d/90-plugin.conf
conf.d/90-quota.conf
conf.d/auth-checkpassword.conf.ext
conf.d/auth-deny.conf.ext
conf.d/auth-master.conf.ext
conf.d/auth-passwdfile.conf.ext
conf.d/auth-sql.conf.ext
conf.d/auth-static.conf.ext
conf.d/auth-system.conf.ext
conf.d/auth-vpopmail.conf.ext
dovecot.conf
dovecot-db.conf.ext
dovecot-dict-sql.conf.ext
dovecot-sql.conf.ext
)
attribute 'dovecot/conf_files/imap',
display_name: 'dovecot imap configuration files',
description: 'Dovecot IMAP configuration files list.',
type: 'array',
required: 'optional',
default: %w(conf.d/20-imap.conf)
attribute 'dovecot/conf_files/pop3',
display_name: 'dovecot pop3 configuration files',
description: 'Dovecot POP3 configuration files list.',
type: 'array',
required: 'optional',
default: %w(conf.d/20-pop3.conf)
attribute 'dovecot/conf_files/lmtp',
display_name: 'dovecot lmtp configuration files',
description: 'Dovecot LMTP configuration files list.',
type: 'array',
required: 'optional',
default: %w(conf.d/20-lmtp.conf)
attribute 'dovecot/conf_files/sieve',
display_name: 'dovecot sieve configuration files',
description: 'Dovecot Sieve configuration files list.',
type: 'array',
required: 'optional',
default: %w(
conf.d/20-managesieve.conf
conf.d/90-sieve.conf
)
attribute 'dovecot/conf_files/ldap',
display_name: 'dovecot ldap configuration files',
description: 'Dovecot LDAP configuration files list.',
type: 'array',
required: 'optional',
default: %w(
dovecot-ldap.conf.ext
conf.d/auth-ldap.conf.ext
)
attribute 'dovecot/auth',
display_name: 'dovecot auth',
description:
'Dovecot Authentication Databases as a hash of hashes. Supported '\
'authdbs: checkpassword, deny, ldap, master, passwdfile, sql, '\
'system and vpopmail.',
type: 'hash',
required: 'optional',
default: {}
attribute 'dovecot/namespaces',
display_name: 'dovecot namespaces',
description: 'Dovecot Namespaces as an array of hashes.',
type: 'array',
required: 'optional',
default: []
attribute 'dovecot/plugins',
display_name: 'dovecot plugins',
description:
'Dovecot Plugins configuration as a hash of hashes. Supported '\
'plugins: mail_log, acl and quota.',
type: 'hash',
required: 'optional',
default: {
'sieve' => {
'sieve' => '~/.dovecot.sieve',
'sieve_dir' => '~/sieve'
}
}
attribute 'dovecot/protocols',
display_name: 'dovecot protocols',
description:
'Dovecot Protocols configuration as a hash of hashes. Supported '\
'protocols: lda, imap, lmtp, sieve and pop3.',
type: 'hash',
required: 'optional',
default: {}
attribute 'dovecot/services',
display_name: 'dovecot services',
description:
'Dovecot Services configuration as a hash of hashes. Supported '\
'services: anvil, director, imap-login, pop3-login, lmtp, imap, '\
'pop3, auth, auth-worker, dict, tcpwrap, managesieve-login, '\
'managesieve, quota-status, quota-warning, doveadm, config, '\
'aggregator, replicator',
type: 'hash',
required: 'optional',
default: {}
attribute 'dovecot/conf/mail_plugins',
display_name: 'dovecot mail plugins',
description: 'Dovecot default enabled mail_plugins.',
type: 'array',
required: 'optional',
default: []
attribute 'dovecot/packages/core',
display_name: 'dovecot core packages',
description: 'Dovecot core package names array.',
type: 'array',
required: 'optional',
calculated: true
attribute 'dovecot/packages/imap',
display_name: 'dovecot imap packages',
description: 'Dovecot IMAP package names array.',
type: 'array',
required: 'optional',
calculated: true
attribute 'dovecot/packages/pop3',
display_name: 'dovecot pop3 packages',
description: 'Dovecot POP3 package names array.',
type: 'array',
required: 'optional',
calculated: true
attribute 'dovecot/packages/lmtp',
display_name: 'dovecot lmtp packages',
description: 'Dovecot LMTP package names array.',
type: 'array',
required: 'optional',
calculated: true
attribute 'dovecot/packages/sieve',
display_name: 'dovecot sieve packages',
description: 'Dovecot Sieve package names array.',
type: 'array',
required: 'optional',
calculated: true
attribute 'dovecot/packages/ldap',
display_name: 'dovecot ldap packages',
description: 'Dovecot LDAP package names array.',
type: 'array',
required: 'optional',
calculated: true
attribute 'dovecot/packages/sqlite',
display_name: 'dovecot sqlite packages',
description: 'Dovecot SQLite package names array.',
type: 'array',
required: 'optional',
calculated: true
attribute 'dovecot/packages/mysql',
display_name: 'dovecot mysql packages',
description: 'Dovecot MySQL package names array.',
type: 'array',
required: 'optional',
calculated: true
attribute 'dovecot/packages/pgsql',
display_name: 'dovecot pgsql packages',
description: 'Dovecot PostgreSQL package names array.',
type: 'array',
required: 'optional',
calculated: true
attribute 'dovecot/service/name',
display_name: 'dovecot service name',
description: 'Dovecot system service name.',
type: 'string',
required: 'optional',
default: 'dovecot'
attribute 'dovecot/service/supports',
display_name: 'dovecot service supports',
description: 'Dovecot service supported actions.',
type: 'hash',
required: 'optional',
calculated: true
attribute 'dovecot/service/provider',
display_name: 'dovecot service provider',
description: 'Dovecot service Chef provider class.',
type: 'string', # 'class' really
required: 'optional',
calculated: true
attribute 'dovecot/ohai_plugin/build-options',
display_name: 'dovecot ohai plugin build options',
description:
'Whether to enable reading build options inside ohai plugin. Can '\
'be disabled to be lighter.',
type: 'string',
required: 'optional',
choice: %w(true false),
default: 'true'
# dovecot.conf
attribute 'dovecot/conf/listen',
display_name: 'listen',
description:
'A comma separated list of IPs or hosts where to listen in for '\
'connections.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/base_dir',
display_name: 'dovecot base dir',
description: 'Base directory where to store runtime data.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/instance_name',
display_name: 'instance name',
description:
'Name of this instance. Used to prefix all Dovecot processes in '\
'ps output.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/login_greeting',
display_name: 'login greeting',
description: 'Greeting message for clients.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/login_trusted_networks',
display_name: 'login trusted networks',
description: 'Space separated list of trusted network ranges.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/login_access_sockets',
display_name: 'login access sockets',
description: 'Space separated list of login access check sockets.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_proxy_self',
display_name: 'auth proxy self',
description:
'With proxy_maybe=yes if proxy destination matches any of these '\
'IPs, don\'t do proxying.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/verbose_proctitle',
display_name: 'verbose proctitle',
description: 'Show more verbose process titles (in ps).',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/shutdown_clients',
display_name: 'shutdown clients',
description:
'Should all processes be killed when Dovecot master process shuts '\
'down.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/doveadm_port',
display_name: 'doveadm port',
description:
'If non-zero, doveadm cli will use this port to communicate with '\
'doveadm server.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/doveadm_password',
display_name: 'doveadm password',
description:
'If not empty, the doveadm server replication communication will '\
'use that secret.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/doveadm_worker_count',
display_name: 'doveadm worker count',
description:
'If non-zero, run mail commands via this many connections to '\
'doveadm server.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/doveadm_socket_path',
display_name: 'doveadm socket path',
description:
'UNIX socket or host:port used for connecting to doveadm server.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/import_environment',
display_name: 'import environment',
description:
'Space separated list of environment variables that are preserved '\
'on Dovecot startup and his childs.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/dict',
display_name: 'dict',
description: 'Dictionary server settings as a hash.',
type: 'hash',
required: 'optional',
default: nil
# conf.d/10-auth.conf
attribute 'dovecot/conf/disable_plaintext_auth',
display_name: 'disable plaintext auth',
description:
'Disable LOGIN command and all other plaintext authentications '\
'unless SSL/TLS is used.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_cache_size',
display_name: 'auth cache size',
description:
'Authentication cache size (e.g. 10M). 0 means it\'s disabled.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_cache_ttl',
display_name: 'auth cache ttl',
description: 'Time to live for cached data.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_cache_negative_ttl',
display_name: 'auth cache negative ttl',
description:
'TTL for negative hits (user not found, password mismatch).',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_realms',
display_name: 'disable plaintext auth',
description:
'Space separated list (or array) of realms for SASL '\
'authentication mechanisms that need them.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_default_realm',
display_name: 'auth default realm',
description: 'Default realm/domain to use if none was specified.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_username_chars',
display_name: 'auth username chars',
description: 'List of allowed characters in username.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_username_translation',
display_name: 'auth username translation',
description:
'Username character translations before it\'s looked up from '\
'databases.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_username_format',
display_name: 'auth username format',
description:
'Username formatting before it\'s looked up from databases.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_master_user_separator',
display_name: 'auth master user separator',
description:
'If you want to allow master users to log in by specifying the '\
'master username within the normal username string, you can '\
'specify the separator character here (format: '\
'<username><separator><master username>).',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_anonymous_username',
display_name: 'auth anonymous username',
description:
'Username to use for users logging in with ANONYMOUS SASL '\
'mechanism.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_worker_max_count',
display_name: 'auth worker max count',
description: 'Maximum number of dovecot-auth worker processes.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_gssapi_hostname',
display_name: 'auth gssapi hostname',
description: 'Host name to use in GSSAPI principal names.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_krb5_keytab',
display_name: 'auth krb5 keytab',
description: 'Kerberos keytab to use for the GSSAPI mechanism.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_use_winbind',
display_name: 'auth use winbind',
description:
'Do NTLM and GSS-SPNEGO authentication using Samba\'s winbind '\
'daemon and ntlm_auth helper.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_winbind_helper_path',
display_name: 'auth winbind helper path',
description: 'Path for Samba\'s ntlm_auth helper binary.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_failure_delay',
display_name: 'auth failure delay',
description:
'Time to delay before replying to failed authentications.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_ssl_require_client_cert',
display_name: 'auth ssl require client cert',
description:
'Take the username from client\'s SSL certificate, using '\
'X509_NAME_get_text_by_NID() which returns the subject\'s DN\'s '\
'CommonName.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_mechanisms',
display_name: 'auth mechanisms',
description:
'Space separated list of wanted authentication mechanisms: plain, '\
'login, digest-md5, cram-md5, ntlm, rpa, apop, anonymous, gssapi, '\
'otp, skey, gss-spnego',
type: 'string',
required: 'optional',
default: '"plain"'
# conf.d/10-director.conf
attribute 'dovecot/conf/director_servers',
display_name: 'director servers',
description:
'List of IPs or hostnames to all director servers, including '\
'ourself (as a string or as an array).',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/director_mail_servers',
display_name: 'director mail servers',
description: 'List of IPs or hostnames to all backend mail servers.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/director_user_expire',
display_name: 'director_user_expire',
description:
'How long to redirect users to a specific server after it no '\
'longer has any connections.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/director_doveadm_port',
display_name: 'director doveadm port',
description:
'TCP/IP port that accepts doveadm connections (instead of '\
'director connections).',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/director_username_hash',
display_name: 'director username hash',
description:
'How the username is translated before being hashed.',
type: 'string',
required: 'optional',
default: 'nil'
# conf.d/10-logging.conf
attribute 'dovecot/conf/log_path',
display_name: 'path',
description:
'Log file to use for error messages. "syslog" logs to syslog, '\
'/dev/stderr logs to stderr.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/info_log_path',
display_name: 'info log path',
description:
'Log file to use for informational messages. Defaults to log_path.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/debug_log_path',
display_name: 'debug log path',
description:
'Log file to use for debug messages. Defaults to info_log_path.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/syslog_facility',
display_name: 'syslog facility',
description: 'Syslog facility to use if you\'re logging to syslog.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_verbose',
display_name: 'auth verbose',
description:
'Log unsuccessful authentication attempts and the reasons why '\
'they failed.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_verbose_passwords',
display_name: 'auth verbose passwords',
description:
'In case of password mismatches, log the attempted password.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_debug',
display_name: 'auth debug',
description: 'Even more verbose logging for debugging purposes.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/auth_debug_passwords',
display_name: 'auth debug passwords',
description:
'In case of password mismatches, log the passwords and used '\
'scheme so the problem can be debugged.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_debug',
display_name: 'mail debug',
description: 'Enable mail process debugging.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/verbose_ssl',
display_name: 'verbose ssl',
description: 'Show protocol level SSL errors.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/log_timestamp',
display_name: 'log timestamp',
description: 'Prefix for each line written to log file.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/login_log_format_elements',
display_name: 'login log format elements',
description:
'Space-separated list (or array) of elements we want to log.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/login_log_format',
display_name: 'login log format',
description: 'Login log format.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_log_prefix',
display_name: 'mail log prefix',
description: 'Log prefix for mail processes.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/deliver_log_format',
display_name: 'deliver log format',
description: 'Format to use for logging mail deliveries.',
type: 'string',
required: 'optional',
default: 'nil'
# conf.d/10-mail.conf
attribute 'dovecot/conf/mail_location',
display_name: 'mail location',
description: 'Location for user\'s mailboxes.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_shared_explicit_inbox',
display_name: 'mail shared explicit inbox',
description:
'Should shared INBOX be visible as "shared/user" or '\
'"shared/user/INBOX"?',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_uid',
display_name: 'mail uid',
description: 'System user used to access mails.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_gid',
display_name: 'mail gid',
description: 'System group used to access mails.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_privileged_group',
display_name: 'mail privileged group',
description: 'Group to enable temporarily for privileged operations.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_access_groups',
display_name: 'mail access groups',
description:
'Grant access to these supplementary groups for mail processes.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_full_filesystem_access',
display_name: 'mail full filesystem access',
description: 'Allow full filesystem access to clients.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_attribute_dict',
display_name: 'mail attribute dict',
description: 'Dictionary for key=value mailbox attributes.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_server_comment',
display_name: 'mail server comment',
description: 'A comment or note that is associated with the server.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_server_admin',
display_name: 'mail server admin',
description:
'Indicates a method for contacting the server administrator. '\
'This value MUST be a URI.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mmap_disable',
display_name: 'mmap disable',
description: 'Don\'t use mmap() at all.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/dotlock_use_excl',
display_name: 'dotlock use excl',
description: 'Rely on O_EXCL to work when creating dotlock files.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_fsync',
display_name: 'mail fsync',
description:
'When to use fsync() or fdatasync() calls: optimized, always or '\
'never',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_nfs_storage',
display_name: 'mail nfs storage',
description: 'Mail storage exists in NFS.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_nfs_index',
display_name: 'mail nfs index',
description: 'Mail index files also exist in NFS.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/lock_method',
display_name: 'lock method',
description:
'Locking method for index files: fcntl, flock or dotlock.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_temp_dir',
display_name: 'mail temp dir',
description:
'Directory in which LDA/LMTP temporarily stores incoming mails '\
'>128 kB.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/first_valid_uid',
display_name: 'first valid uid',
description: 'Valid UID range for users, defaults to 500 and above.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/last_valid_uid',
display_name: 'last valid uid',
description: 'Valid UID range for users, defaults to 500 and above.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/first_valid_gid',
display_name: 'first valid gid',
description: 'Valid GID range for users, defaults to non-root/wheel.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/last_valid_gid',
display_name: 'last valid gid',
description: 'Valid GID range for users, defaults to non-root/wheel.',
type: 'string',
required: 'optional',
default: 'nil'
attribute 'dovecot/conf/mail_max_keyword_length',
display_name: 'mail max keyword length',
description: 'Maximum allowed length for mail keyword name.',