metadata.rb 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377
  1. name 'dovecot'
  2. maintainer 'Onddo Labs, Sl.'
  3. maintainer_email 'team@onddo.com'
  4. license 'Apache 2.0'
  5. description 'Installs and configures Dovecot.'
  6. long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
  7. version '0.1.0'
  8. supports 'centos', '>= 6.0'
  9. supports 'debian', '>= 7.0'
  10. supports 'ubuntu', '>= 12.04'
  11. recipe 'dovecot::default', 'Installs and configures Dovecot.'
  12. attribute 'dovecot/user',
  13. :display_name => 'dovecot user',
  14. :description => 'Dovector system user. Should no be changed.',
  15. :type => 'string',
  16. :required => 'optional',
  17. :default => 'dovecot'
  18. attribute 'dovecot/group',
  19. :display_name => 'dovecot group',
  20. :description => 'Dovector system group. Should no be changed.',
  21. :type => 'string',
  22. :required => 'optional',
  23. :default => 'dovecot'
  24. attribute 'dovecot/lib_path',
  25. :display_name => 'dovecot library path',
  26. :description => 'Dovector library path. Should no be changed.',
  27. :calculated => true,
  28. :type => 'string',
  29. :required => 'optional'
  30. attribute 'dovecot/conf_path',
  31. :display_name => 'dovecot configuration path',
  32. :description => 'Dovector configruration files path. Should no be changed.',
  33. :type => 'string',
  34. :required => 'optional',
  35. :default => '/etc/dovecot'
  36. attribute 'dovecot/conf_files_user',
  37. :display_name => 'dovecot configuration files user',
  38. :description => 'System user owner of configuration files.',
  39. :type => 'string',
  40. :required => 'optional',
  41. :default => 'root'
  42. attribute 'dovecot/conf_files_group',
  43. :display_name => 'dovecot configuration files group',
  44. :description => 'System group owner of configuration files.',
  45. :type => 'string',
  46. :required => 'optional',
  47. :default => 'node["dovecot"]["group"]'
  48. attribute 'dovecot/conf_files_mode',
  49. :display_name => 'dovecot configuration files mode',
  50. :description => 'Configuration files system file mode bits.',
  51. :type => 'string',
  52. :required => 'optional',
  53. :default => '00644'
  54. attribute 'dovecot/conf_files/core',
  55. :display_name => 'dovecot core configuration files',
  56. :description => 'Dovecot core configuration files list.',
  57. :type => 'array',
  58. :required => 'optional',
  59. :default => [
  60. 'conf.d/10-auth.conf',
  61. 'conf.d/10-director.conf',
  62. 'conf.d/10-logging.conf',
  63. 'conf.d/10-mail.conf',
  64. 'conf.d/10-master.conf',
  65. 'conf.d/10-ssl.conf',
  66. 'conf.d/10-tcpwrapper.conf',
  67. 'conf.d/15-lda.conf',
  68. 'conf.d/15-mailboxes.conf',
  69. 'conf.d/90-acl.conf',
  70. 'conf.d/90-plugin.conf',
  71. 'conf.d/90-quota.conf',
  72. 'conf.d/auth-checkpassword.conf.ext',
  73. 'conf.d/auth-deny.conf.ext',
  74. 'conf.d/auth-master.conf.ext',
  75. 'conf.d/auth-passwdfile.conf.ext',
  76. 'conf.d/auth-sql.conf.ext',
  77. 'conf.d/auth-static.conf.ext',
  78. 'conf.d/auth-system.conf.ext',
  79. 'conf.d/auth-vpopmail.conf.ext',
  80. 'dovecot.conf',
  81. 'dovecot-db.conf.ext',
  82. 'dovecot-dict-sql.conf.ext',
  83. 'dovecot-sql.conf.ext',
  84. ]
  85. attribute 'dovecot/conf_files/imap',
  86. :display_name => 'dovecot imap configuration files',
  87. :description => 'Dovecot IMAP configuration files list.',
  88. :type => 'array',
  89. :required => 'optional',
  90. :default => [
  91. 'conf.d/20-imap.conf',
  92. ]
  93. attribute 'dovecot/conf_files/pop3',
  94. :display_name => 'dovecot pop3 configuration files',
  95. :description => 'Dovecot POP3 configuration files list.',
  96. :type => 'array',
  97. :required => 'optional',
  98. :default => [
  99. 'conf.d/20-pop3.conf',
  100. ]
  101. attribute 'dovecot/conf_files/lmtp',
  102. :display_name => 'dovecot lmtp configuration files',
  103. :description => 'Dovecot LMTP configuration files list.',
  104. :type => 'array',
  105. :required => 'optional',
  106. :default => [
  107. 'conf.d/20-lmtp.conf',
  108. ]
  109. attribute 'dovecot/conf_files/sieve',
  110. :display_name => 'dovecot sieve configuration files',
  111. :description => 'Dovecot Sieve configuration files list.',
  112. :type => 'array',
  113. :required => 'optional',
  114. :default => [
  115. 'conf.d/20-managesieve.conf',
  116. 'conf.d/90-sieve.conf',
  117. ]
  118. attribute 'dovecot/conf_files/ldap',
  119. :display_name => 'dovecot ldap configuration files',
  120. :description => 'Dovecot LDAP configuration files list.',
  121. :type => 'array',
  122. :required => 'optional',
  123. :default => [
  124. 'dovecot-ldap.conf.ext',
  125. 'conf.d/auth-ldap.conf.ext',
  126. ]
  127. attribute 'dovecot/auth',
  128. :display_name => 'dovecot auth',
  129. :description => 'Dovecot Authentication Databases as a hash of hashes. Supported authdbs: checkpassword, deny, ldap, master, passwdfile, sql, system and vpopmail.',
  130. :type => 'string',
  131. :required => 'optional',
  132. :default => '{}'
  133. attribute 'dovecot/namespaces',
  134. :display_name => 'dovecot namespaces',
  135. :description => 'Dovecot Namespaces as an array of hashes.',
  136. :type => 'array',
  137. :required => 'optional',
  138. :default => []
  139. attribute 'dovecot/plugins',
  140. :display_name => 'dovecot plugins',
  141. :description => 'Dovecot Plugins configuration as a hash of hashes. Supported plugins: mail_log, acl and quota.',
  142. :type => 'string',
  143. :required => 'optional',
  144. :default => '{
  145. "sieve" => {
  146. "sieve" => "~/.dovecot.sieve",
  147. "sieve_dir" => "~/sieve",
  148. }
  149. }'
  150. attribute 'dovecot/protocolos',
  151. :display_name => 'dovecot protocols',
  152. :description => 'Dovecot Protocols configuration as a hash of hashes. Supported protocols: lda, imap, lmtp, sieve and pop3.',
  153. :type => 'string',
  154. :required => 'optional',
  155. :default => '{}'
  156. attribute 'dovecot/services',
  157. :display_name => 'dovecot services',
  158. :description => 'Dovecot Services configuration as a hash of hashes. Supported services: director, imap-login, pop3-login, lmtp, imap, pop3, auth, auth-worker, dict, tcpwrap, managesieve-login and managesieve.',
  159. :type => 'string',
  160. :required => 'optional',
  161. :default => '{}'
  162. grouping 'dovecot/conf',
  163. :title => 'dovecot conf',
  164. :description => 'Dovecot configuration values'
  165. attribute 'dovecot/conf/mail_plugins',
  166. :display_name => 'dovecot mail plugins',
  167. :description => 'Dovecot default enabled mail_plugins.',
  168. :type => 'array',
  169. :required => 'optional',
  170. :default => []
  171. #
  172. # dovecot.conf
  173. #
  174. attribute 'dovecot/conf/listen',
  175. :display_name => 'listen',
  176. :description => 'A comma separated list of IPs or hosts where to listen in for connections.',
  177. :type => 'string',
  178. :required => 'optional',
  179. :default => 'nil'
  180. attribute 'dovecot/conf/base_dir',
  181. :display_name => 'dovecot base dir',
  182. :description => 'Base directory where to store runtime data.',
  183. :type => 'string',
  184. :required => 'optional',
  185. :default => 'nil'
  186. attribute 'dovecot/conf/instance_name',
  187. :display_name => 'instance name',
  188. :description => 'Name of this instance. Used to prefix all Dovecot processes in ps output.',
  189. :type => 'string',
  190. :required => 'optional',
  191. :default => 'nil'
  192. attribute 'dovecot/conf/login_greeting',
  193. :display_name => 'login greeting',
  194. :description => 'Greeting message for clients.',
  195. :type => 'string',
  196. :required => 'optional',
  197. :default => 'nil'
  198. attribute 'dovecot/conf/login_trusted_networks',
  199. :display_name => 'login trusted networks',
  200. :description => 'Space separated list of trusted network ranges.',
  201. :type => 'string',
  202. :required => 'optional',
  203. :default => 'nil'
  204. attribute 'dovecot/conf/login_access_sockets',
  205. :display_name => 'login access sockets',
  206. :description => 'Space separated list of login access check sockets.',
  207. :type => 'string',
  208. :required => 'optional',
  209. :default => 'nil'
  210. attribute 'dovecot/conf/verbose_proctitle',
  211. :display_name => 'verbose proctitle',
  212. :description => 'Show more verbose process titles (in ps).',
  213. :type => 'string',
  214. :required => 'optional',
  215. :default => 'nil'
  216. attribute 'dovecot/conf/shutdown_clients',
  217. :display_name => 'shutdown clients',
  218. :description => 'Should all processes be killed when Dovecot master process shuts down.',
  219. :type => 'string',
  220. :required => 'optional',
  221. :default => 'nil'
  222. attribute 'dovecot/conf/doveadm_worker_count',
  223. :display_name => 'doveadm worker count',
  224. :description => 'If non-zero, run mail commands via this many connections to doveadm server.',
  225. :type => 'string',
  226. :required => 'optional',
  227. :default => 'nil'
  228. attribute 'dovecot/conf/doveadm_socket_path',
  229. :display_name => 'doveadm socket path',
  230. :description => 'UNIX socket or host:port used for connecting to doveadm server.',
  231. :type => 'string',
  232. :required => 'optional',
  233. :default => 'nil'
  234. attribute 'dovecot/conf/import_environment',
  235. :display_name => 'import environment',
  236. :description => 'Space separated list of environment variables that are preserved on Dovecot startup and his childs.',
  237. :type => 'string',
  238. :required => 'optional',
  239. :default => 'nil'
  240. attribute 'dovecot/conf/dict',
  241. :display_name => 'dict',
  242. :description => 'Dictionary server settings as a hash.',
  243. :type => 'string',
  244. :required => 'optional',
  245. :default => 'nil'
  246. #
  247. # conf.d/10-auth.conf
  248. #
  249. attribute 'dovecot/conf/disable_plaintext_auth',
  250. :display_name => 'disable plaintext auth',
  251. :description => 'Disable LOGIN command and all other plaintext authentications unless SSL/TLS is used.',
  252. :type => 'string',
  253. :required => 'optional',
  254. :default => 'nil'
  255. attribute 'dovecot/conf/auth_cache_size',
  256. :display_name => 'auth cache size',
  257. :description => 'Authentication cache size (e.g. 10M). 0 means it\'s disabled.',
  258. :type => 'string',
  259. :required => 'optional',
  260. :default => 'nil'
  261. attribute 'dovecot/conf/auth_cache_ttl',
  262. :display_name => 'auth cache ttl',
  263. :description => 'Time to live for cached data.',
  264. :type => 'string',
  265. :required => 'optional',
  266. :default => 'nil'
  267. attribute 'dovecot/conf/auth_cache_negative_ttl',
  268. :display_name => 'auth cache negative ttl',
  269. :description => 'TTL for negative hits (user not found, password mismatch).',
  270. :type => 'string',
  271. :required => 'optional',
  272. :default => 'nil'
  273. attribute 'dovecot/conf/auth_realms',
  274. :display_name => 'disable plaintext auth',
  275. :description => 'Space separated list (or array) of realms for SASL authentication mechanisms that need them.',
  276. :type => 'string',
  277. :required => 'optional',
  278. :default => 'nil'
  279. attribute 'dovecot/conf/auth_default_realm',
  280. :display_name => 'auth default realm',
  281. :description => 'Default realm/domain to use if none was specified.',
  282. :type => 'string',
  283. :required => 'optional',
  284. :default => 'nil'
  285. attribute 'dovecot/conf/auth_username_chars',
  286. :display_name => 'auth username chars',
  287. :description => 'List of allowed characters in username.',
  288. :type => 'string',
  289. :required => 'optional',
  290. :default => 'nil'
  291. attribute 'dovecot/conf/auth_username_translation',
  292. :display_name => 'auth username translation',
  293. :description => 'Username character translations before it\'s looked up from databases.',
  294. :type => 'string',
  295. :required => 'optional',
  296. :default => 'nil'
  297. attribute 'dovecot/conf/auth_username_format',
  298. :display_name => 'auth username format',
  299. :description => 'Username formatting before it\'s looked up from databases.',
  300. :type => 'string',
  301. :required => 'optional',
  302. :default => 'nil'
  303. attribute 'dovecot/conf/auth_master_user_separator',
  304. :display_name => 'auth master user separator',
  305. :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>).',
  306. :type => 'string',
  307. :required => 'optional',
  308. :default => 'nil'
  309. attribute 'dovecot/conf/auth_anonymous_username',
  310. :display_name => 'auth anonymous username',
  311. :description => 'Username to use for users logging in with ANONYMOUS SASL mechanism.',
  312. :type => 'string',
  313. :required => 'optional',
  314. :default => 'nil'
  315. attribute 'dovecot/conf/auth_worker_max_count',
  316. :display_name => 'auth worker max count',
  317. :description => 'Maximum number of dovecot-auth worker processes.',
  318. :type => 'string',
  319. :required => 'optional',
  320. :default => 'nil'
  321. attribute 'dovecot/conf/auth_gssapi_hostname',
  322. :display_name => 'auth gssapi hostname',
  323. :description => 'Host name to use in GSSAPI principal names.',
  324. :type => 'string',
  325. :required => 'optional',
  326. :default => 'nil'
  327. attribute 'dovecot/conf/auth_krb5_keytab',
  328. :display_name => 'auth krb5 keytab',
  329. :description => 'Kerberos keytab to use for the GSSAPI mechanism.',
  330. :type => 'string',
  331. :required => 'optional',
  332. :default => 'nil'
  333. attribute 'dovecot/conf/auth_use_winbind',
  334. :display_name => 'auth use winbind',
  335. :description => 'Do NTLM and GSS-SPNEGO authentication using Samba\'s winbind daemon and ntlm_auth helper.',
  336. :type => 'string',
  337. :required => 'optional',
  338. :default => 'nil'
  339. attribute 'dovecot/conf/auth_winbind_helper_path',
  340. :display_name => 'auth winbind helper path',
  341. :description => 'Path for Samba\'s ntlm_auth helper binary.',
  342. :type => 'string',
  343. :required => 'optional',
  344. :default => 'nil'
  345. attribute 'dovecot/conf/auth_failure_delay',
  346. :display_name => 'auth failure delay',
  347. :description => 'Time to delay before replying to failed authentications.',
  348. :type => 'string',
  349. :required => 'optional',
  350. :default => 'nil'
  351. attribute 'dovecot/conf/auth_ssl_require_client_cert',
  352. :display_name => 'auth ssl require client cert',
  353. :description => 'Take the username from client\'s SSL certificate, using X509_NAME_get_text_by_NID() which returns the subject\'s DN\'s CommonName.',
  354. :type => 'string',
  355. :required => 'optional',
  356. :default => 'nil'
  357. attribute 'dovecot/conf/auth_mechanisms',
  358. :display_name => 'auth mechanisms',
  359. :description => 'Space separated list of wanted authentication mechanisms: plain, login, digest-md5, cram-md5, ntlm, rpa, apop, anonymous, gssapi, otp, skey, gss-spnego',
  360. :type => 'string',
  361. :required => 'optional',
  362. :default => 'plain'
  363. #
  364. # conf.d/10-director.conf
  365. #
  366. attribute 'dovecot/conf/director_servers',
  367. :display_name => 'director servers',
  368. :description => 'List of IPs or hostnames to all director servers, including ourself (as a string or as an array).',
  369. :type => 'string',
  370. :required => 'optional',
  371. :default => 'nil'
  372. attribute 'dovecot/conf/director_mail_servers',
  373. :display_name => 'director mail servers',
  374. :description => 'List of IPs or hostnames to all backend mail servers.',
  375. :type => 'string',
  376. :required => 'optional',
  377. :default => 'nil'
  378. attribute 'dovecot/conf/director_user_expire',
  379. :display_name => 'director_user_expire',
  380. :description => 'How long to redirect users to a specific server after it no longer has any connections.',
  381. :type => 'string',
  382. :required => 'optional',
  383. :default => 'nil'
  384. attribute 'dovecot/conf/director_doveadm_port',
  385. :display_name => 'director doveadm port',
  386. :description => 'TCP/IP port that accepts doveadm connections (instead of director connections).',
  387. :type => 'string',
  388. :required => 'optional',
  389. :default => 'nil'
  390. #
  391. # conf.d/10-logging.conf
  392. #
  393. attribute 'dovecot/conf/log_path',
  394. :display_name => 'path',
  395. :description => 'Log file to use for error messages. "syslog" logs to syslog, /dev/stderr logs to stderr.',
  396. :type => 'string',
  397. :required => 'optional',
  398. :default => 'nil'
  399. attribute 'dovecot/conf/info_log_path',
  400. :display_name => 'info log path',
  401. :description => 'Log file to use for informational messages. Defaults to log_path.',
  402. :type => 'string',
  403. :required => 'optional',
  404. :default => 'nil'
  405. attribute 'dovecot/conf/debug_log_path',
  406. :display_name => 'debug log path',
  407. :description => 'Log file to use for debug messages. Defaults to info_log_path.',
  408. :type => 'string',
  409. :required => 'optional',
  410. :default => 'nil'
  411. attribute 'dovecot/conf/syslog_facility',
  412. :display_name => 'syslog facility',
  413. :description => 'Syslog facility to use if you\'re logging to syslog.',
  414. :type => 'string',
  415. :required => 'optional',
  416. :default => 'nil'
  417. attribute 'dovecot/conf/auth_verbose',
  418. :display_name => 'auth verbose',
  419. :description => 'Log unsuccessful authentication attempts and the reasons why they failed.',
  420. :type => 'string',
  421. :required => 'optional',
  422. :default => 'nil'
  423. attribute 'dovecot/conf/auth_verbose_passwords',
  424. :display_name => 'auth verbose passwords',
  425. :description => 'In case of password mismatches, log the attempted password.',
  426. :type => 'string',
  427. :required => 'optional',
  428. :default => 'nil'
  429. attribute 'dovecot/conf/auth_debug',
  430. :display_name => 'auth debug',
  431. :description => 'Even more verbose logging for debugging purposes.',
  432. :type => 'string',
  433. :required => 'optional',
  434. :default => 'nil'
  435. attribute 'dovecot/conf/auth_debug_passwords',
  436. :display_name => 'auth debug passwords',
  437. :description => 'In case of password mismatches, log the passwords and used scheme so the problem can be debugged.',
  438. :type => 'string',
  439. :required => 'optional',
  440. :default => 'nil'
  441. attribute 'dovecot/conf/mail_debug',
  442. :display_name => 'mail debug',
  443. :description => 'Enable mail process debugging.',
  444. :type => 'string',
  445. :required => 'optional',
  446. :default => 'nil'
  447. attribute 'dovecot/conf/verbose_ssl',
  448. :display_name => 'verbose ssl',
  449. :description => 'Show protocol level SSL errors.',
  450. :type => 'string',
  451. :required => 'optional',
  452. :default => 'nil'
  453. attribute 'dovecot/conf/log_timestamp',
  454. :display_name => 'log timestamp',
  455. :description => 'Prefix for each line written to log file.',
  456. :type => 'string',
  457. :required => 'optional',
  458. :default => 'nil'
  459. attribute 'dovecot/conf/login_log_format_elements',
  460. :display_name => 'login log format elements',
  461. :description => 'Space-separated list (or array) of elements we want to log.',
  462. :type => 'string',
  463. :required => 'optional',
  464. :default => 'nil'
  465. attribute 'dovecot/conf/login_log_format',
  466. :display_name => 'login log format',
  467. :description => 'Login log format.',
  468. :type => 'string',
  469. :required => 'optional',
  470. :default => 'nil'
  471. attribute 'dovecot/conf/mail_log_prefix',
  472. :display_name => 'mail log prefix',
  473. :description => 'Log prefix for mail processes.',
  474. :type => 'string',
  475. :required => 'optional',
  476. :default => 'nil'
  477. attribute 'dovecot/conf/deliver_log_format',
  478. :display_name => 'deliver log format',
  479. :description => 'Format to use for logging mail deliveries.',
  480. :type => 'string',
  481. :required => 'optional',
  482. :default => 'nil'
  483. #
  484. # conf.d/10-mail.conf
  485. #
  486. attribute 'dovecot/conf/mail_location',
  487. :display_name => 'mail location',
  488. :description => 'Location for user\'s mailboxes.',
  489. :type => 'string',
  490. :required => 'optional',
  491. :default => 'nil'
  492. attribute 'dovecot/conf/mail_uid',
  493. :display_name => 'mail uid',
  494. :description => 'System user used to access mails.',
  495. :type => 'string',
  496. :required => 'optional',
  497. :default => 'nil'
  498. attribute 'dovecot/conf/mail_gid',
  499. :display_name => 'mail gid',
  500. :description => 'System group used to access mails.',
  501. :type => 'string',
  502. :required => 'optional',
  503. :default => 'nil'
  504. attribute 'dovecot/conf/mail_privileged_group',
  505. :display_name => 'mail privileged group',
  506. :description => 'Group to enable temporarily for privileged operations.',
  507. :type => 'string',
  508. :required => 'optional',
  509. :default => 'nil'
  510. attribute 'dovecot/conf/mail_access_groups',
  511. :display_name => 'mail access groups',
  512. :description => 'Grant access to these supplementary groups for mail processes.',
  513. :type => 'string',
  514. :required => 'optional',
  515. :default => 'nil'
  516. attribute 'dovecot/conf/mail_full_filesystem_access',
  517. :display_name => 'mail full filesystem access',
  518. :description => 'Allow full filesystem access to clients.',
  519. :type => 'string',
  520. :required => 'optional',
  521. :default => 'nil'
  522. attribute 'dovecot/conf/mmap_disable',
  523. :display_name => 'mmap disable',
  524. :description => 'Don\'t use mmap() at all.',
  525. :type => 'string',
  526. :required => 'optional',
  527. :default => 'nil'
  528. attribute 'dovecot/conf/dotlock_use_excl',
  529. :display_name => 'dotlock use excl',
  530. :description => 'Rely on O_EXCL to work when creating dotlock files.',
  531. :type => 'string',
  532. :required => 'optional',
  533. :default => 'nil'
  534. attribute 'dovecot/conf/mail_fsync',
  535. :display_name => 'mail fsync',
  536. :description => 'When to use fsync() or fdatasync() calls: optimized, always or never',
  537. :type => 'string',
  538. :required => 'optional',
  539. :default => 'nil'
  540. attribute 'dovecot/conf/mail_nfs_storage',
  541. :display_name => 'mail nfs storage',
  542. :description => 'Mail storage exists in NFS.',
  543. :type => 'string',
  544. :required => 'optional',
  545. :default => 'nil'
  546. attribute 'dovecot/conf/mail_nfs_index',
  547. :display_name => 'mail nfs index',
  548. :description => 'Mail index files also exist in NFS.',
  549. :type => 'string',
  550. :required => 'optional',
  551. :default => 'nil'
  552. attribute 'dovecot/conf/lock_method',
  553. :display_name => 'lock method',
  554. :description => 'Locking method for index files: fcntl, flock or dotlock.',
  555. :type => 'string',
  556. :required => 'optional',
  557. :default => 'nil'
  558. attribute 'dovecot/conf/mail_temp_dir',
  559. :display_name => 'mail temp dir',
  560. :description => 'Directory in which LDA/LMTP temporarily stores incoming mails >128 kB.',
  561. :type => 'string',
  562. :required => 'optional',
  563. :default => 'nil'
  564. attribute 'dovecot/conf/first_valid_uid',
  565. :display_name => 'first valid uid',
  566. :description => 'Valid UID range for users, defaults to 500 and above.',
  567. :type => 'string',
  568. :required => 'optional',
  569. :default => 'nil'
  570. attribute 'dovecot/conf/last_valid_uid',
  571. :display_name => 'last valid uid',
  572. :description => 'Valid UID range for users, defaults to 500 and above.',
  573. :type => 'string',
  574. :required => 'optional',
  575. :default => 'nil'
  576. attribute 'dovecot/conf/first_valid_gid',
  577. :display_name => 'first valid gid',
  578. :description => 'Valid GID range for users, defaults to non-root/wheel.',
  579. :type => 'string',
  580. :required => 'optional',
  581. :default => 'nil'
  582. attribute 'dovecot/conf/last_valid_gid',
  583. :display_name => 'last valid gid',
  584. :description => 'Valid GID range for users, defaults to non-root/wheel.',
  585. :type => 'string',
  586. :required => 'optional',
  587. :default => 'nil'
  588. attribute 'dovecot/conf/mail_max_keyword_length',
  589. :display_name => 'mail max keyword length',
  590. :description => 'Maximum allowed length for mail keyword name.',
  591. :type => 'string',
  592. :required => 'optional',
  593. :default => 'nil'
  594. attribute 'dovecot/conf/valid_chroot_dirs',
  595. :display_name => 'valid chroot dirs',
  596. :description => '\':\' separated list of directories under which chrooting is allowed for mail processes.',
  597. :type => 'string',
  598. :required => 'optional',
  599. :default => 'nil'
  600. attribute 'dovecot/conf/mail_chroot',
  601. :display_name => 'mail chroot',
  602. :description => 'Default chroot directory for mail processes.',
  603. :type => 'string',
  604. :required => 'optional',
  605. :default => 'nil'
  606. attribute 'dovecot/conf/auth_socket_path',
  607. :display_name => 'auth socket path',
  608. :description => 'UNIX socket path to master authentication server to find users.',
  609. :type => 'string',
  610. :required => 'optional',
  611. :default => 'nil'
  612. attribute 'dovecot/conf/mail_plugin_dir',
  613. :display_name => 'mail plugin dir',
  614. :description => 'Directory where to look up mail plugins.',
  615. :type => 'string',
  616. :required => 'optional',
  617. :default => 'nil'
  618. attribute 'dovecot/conf/mail_cache_min_mail_count',
  619. :display_name => 'mail cache min mail count',
  620. :description => 'The minimum number of mails in a mailbox before updates are done to cache file.',
  621. :type => 'string',
  622. :required => 'optional',
  623. :default => 'nil'
  624. attribute 'dovecot/conf/mailbox_idle_check_interval',
  625. :display_name => 'mailbox idle check interval',
  626. :description => 'When IDLE command is running, mailbox is checked once in a while to see if there are any new mails or other changes.',
  627. :type => 'string',
  628. :required => 'optional',
  629. :default => 'nil'
  630. attribute 'dovecot/conf/mail_save_crlf',
  631. :display_name => 'mail save crlf',
  632. :description => 'Save mails with CR+LF instead of plain LF.',
  633. :type => 'string',
  634. :required => 'optional',
  635. :default => 'nil'
  636. attribute 'dovecot/conf/maildir_stat_dirs',
  637. :display_name => 'maildir stat dirs',
  638. :description => 'By default LIST command returns all entries in maildir beginning with a dot.',
  639. :type => 'string',
  640. :required => 'optional',
  641. :default => 'nil'
  642. attribute 'dovecot/conf/maildir_copy_with_hardlinks',
  643. :display_name => 'maildir copy with hardlinks',
  644. :description => 'When copying a message, do it with hard links whenever possible.',
  645. :type => 'string',
  646. :required => 'optional',
  647. :default => 'nil'
  648. attribute 'dovecot/conf/maildir_very_dirty_syncs',
  649. :display_name => 'maildir very dirty syncs',
  650. :description => 'Assume Dovecot is the only MUA accessing Maildir.',
  651. :type => 'string',
  652. :required => 'optional',
  653. :default => 'nil'
  654. attribute 'dovecot/conf/mbox_read_locks',
  655. :display_name => 'mbox read locks',
  656. :description => 'Which read locking methods to use for locking mbox: dotlock, dotlock_try, fcntl, flock or lockfyy',
  657. :type => 'string',
  658. :required => 'optional',
  659. :default => 'nil'
  660. attribute 'dovecot/conf/mbox_write_locks',
  661. :display_name => 'mbox write locks',
  662. :description => 'Which write locking methods to use for locking mbox: dotlock, dotlock_try, fcntl, flock or lockfyy',
  663. :type => 'string',
  664. :required => 'optional',
  665. :default => 'nil'
  666. attribute 'dovecot/conf/mbox_lock_timeout',
  667. :display_name => 'mbox lock timeout',
  668. :description => 'Maximum time to wait for lock (all of them) before aborting.',
  669. :type => 'string',
  670. :required => 'optional',
  671. :default => 'nil'
  672. attribute 'dovecot/conf/mbox_dotlock_change_timeout',
  673. :display_name => 'mbox dotlock change timeout',
  674. :description => 'If dotlock exists but the mailbox isn\'t modified in any way, override the lock file after this much time.',
  675. :type => 'string',
  676. :required => 'optional',
  677. :default => 'nil'
  678. attribute 'dovecot/conf/mbox_dirty_syncs',
  679. :display_name => 'mbox dirty syncs',
  680. :description => 'When mbox changes unexpectedly simply read the new mails but still safely fallbacks to re-reading the whole mbox file whenever something in mbox isn\'t how it\'s expected to be.',
  681. :type => 'string',
  682. :required => 'optional',
  683. :default => 'nil'
  684. attribute 'dovecot/conf/mbox_very_dirty_syncs',
  685. :display_name => 'mbox very dirty syncs',
  686. :description => 'Like mbox_dirty_syncs, but don\'t do full syncs even with SELECT, EXAMINE, EXPUNGE or CHECK commands.',
  687. :type => 'string',
  688. :required => 'optional',
  689. :default => 'nil'
  690. attribute 'dovecot/conf/mbox_lazy_writes',
  691. :display_name => 'mbox lazy writes',
  692. :description => 'Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK commands and when closing the mailbox).',
  693. :type => 'string',
  694. :required => 'optional',
  695. :default => 'nil'
  696. attribute 'dovecot/conf/mbox_min_index_size',
  697. :display_name => 'mbox min index size',
  698. :description => 'If mbox size is smaller than this (e.g. 100k), don\'t write index files.',
  699. :type => 'string',
  700. :required => 'optional',
  701. :default => 'nil'
  702. attribute 'dovecot/conf/mdbox_rotate_size',
  703. :display_name => 'mdbox rotate size',
  704. :description => 'Maximum dbox file size until it\'s rotated.',
  705. :type => 'string',
  706. :required => 'optional',
  707. :default => 'nil'
  708. attribute 'dovecot/conf/mdbox_rotate_interval',
  709. :display_name => 'mdbox rotate interval',
  710. :description => 'Maximum dbox file age until it\'s rotated.',
  711. :type => 'string',
  712. :required => 'optional',
  713. :default => 'nil'
  714. attribute 'dovecot/conf/mdbox_preallocate_space',
  715. :display_name => 'mdbox preallocate space',
  716. :description => 'When creating new mdbox files, immediately preallocate their size to mdbox_rotate_size.',
  717. :type => 'string',
  718. :required => 'optional',
  719. :default => 'nil'
  720. attribute 'dovecot/conf/mail_attachment_min_size',
  721. :display_name => 'mail attachment min size',
  722. :description => 'Attachments smaller than this aren\'t saved externally.',
  723. :type => 'string',
  724. :required => 'optional',
  725. :default => 'nil'
  726. attribute 'dovecot/conf/mail_attachment_fs',
  727. :display_name => 'mail attachment fs',
  728. :description => 'Filesystem backend to use for saving attachments: posix, sis posix or sis-queue posix.',
  729. :type => 'string',
  730. :required => 'optional',
  731. :default => 'nil'
  732. attribute 'dovecot/conf/mail_attachment_hash',
  733. :display_name => 'mail attachment hash',
  734. :description => 'Hash format to use in attachment filenames.',
  735. :type => 'string',
  736. :required => 'optional',
  737. :default => 'nil'
  738. #
  739. # conf.d/10-master.conf
  740. #
  741. attribute 'dovecot/conf/default_process_limit',
  742. :display_name => 'default process limit',
  743. :description => 'Default process limit.',
  744. :type => 'string',
  745. :required => 'optional',
  746. :default => 'nil'
  747. attribute 'dovecot/conf/default_client_limit',
  748. :display_name => 'default client limit',
  749. :description => 'Default client limit.',
  750. :type => 'string',
  751. :required => 'optional',
  752. :default => 'nil'
  753. attribute 'dovecot/conf/default_vsz_limit',
  754. :display_name => 'default vsz limit',
  755. :description => 'Default VSZ (virtual memory size) limit for service processes.',
  756. :type => 'string',
  757. :required => 'optional',
  758. :default => 'nil'
  759. attribute 'dovecot/conf/default_login_user',
  760. :display_name => 'default login user',
  761. :description => 'Login user is internally used by login processes.',
  762. :type => 'string',
  763. :required => 'optional',
  764. :default => 'nil'
  765. attribute 'dovecot/conf/default_internal_user',
  766. :display_name => 'default internal user',
  767. :description => 'Internal user is used by unprivileged processes.',
  768. :type => 'string',
  769. :required => 'optional',
  770. :default => 'nil'
  771. #
  772. # conf.d/10-ssl.conf
  773. #
  774. attribute 'dovecot/conf/ssl',
  775. :display_name => 'ssl',
  776. :description => 'SSL/TLS support: true or false',
  777. :type => 'string',
  778. :required => 'optional',
  779. :default => 'nil'
  780. attribute 'dovecot/conf/ssl_cert',
  781. :display_name => 'ssl cert',
  782. :description => 'PEM encoded X.509 SSL/TLS certificate.',
  783. :calculated => true,
  784. :type => 'string',
  785. :required => 'optional'
  786. attribute 'dovecot/conf/ssl_key',
  787. :display_name => 'ssl key',
  788. :description => 'PEM encoded X.509 SSL/TLS private key.',
  789. :calculated => true,
  790. :type => 'string',
  791. :required => 'optional'
  792. attribute 'dovecot/conf/ssl_key_password',
  793. :display_name => 'ssl key password',
  794. :description => 'If key file is password protected, give the password here.',
  795. :type => 'string',
  796. :required => 'optional',
  797. :default => 'nil'
  798. attribute 'dovecot/conf/ssl_ca',
  799. :display_name => 'ssl ca',
  800. :description => 'PEM encoded trusted certificate authority.',
  801. :type => 'string',
  802. :required => 'optional',
  803. :default => 'nil'
  804. attribute 'dovecot/conf/ssl_verify_client_cert',
  805. :display_name => 'ssl verify client cert',
  806. :description => 'Request client to send a certificate.',
  807. :type => 'string',
  808. :required => 'optional',
  809. :default => 'nil'
  810. attribute 'dovecot/conf/ssl_cert_username_field',
  811. :display_name => 'ssl cert username field',
  812. :description => 'Which field from certificate to use for username.',
  813. :type => 'string',
  814. :required => 'optional',
  815. :default => 'nil'
  816. attribute 'dovecot/conf/ssl_parameters_regenerate',
  817. :display_name => 'ssl parameters regenerate',
  818. :description => 'How often to regenerate the SSL parameters file.',
  819. :type => 'string',
  820. :required => 'optional',
  821. :default => 'nil'
  822. attribute 'dovecot/conf/ssl_cipher_list',
  823. :display_name => 'ssl cipher list',
  824. :description => 'SSL ciphers to use',
  825. :type => 'string',
  826. :required => 'optional',
  827. :default => 'nil'
  828. #
  829. # conf.d/10-tcpwrapper.conf
  830. #
  831. attribute 'dovecot/conf/login_access_sockets',
  832. :display_name => 'login access sockets',
  833. :description => 'login access sockets',
  834. :type => 'string',
  835. :required => 'optional',
  836. :default => 'nil'
  837. #
  838. # conf.d/15-lda.conf
  839. #
  840. attribute 'dovecot/conf/postmaster_address',
  841. :display_name => 'postmaster address',
  842. :description => 'Address to use when sending rejection mails.',
  843. :type => 'string',
  844. :required => 'optional',
  845. :default => 'nil'
  846. attribute 'dovecot/conf/hostname',
  847. :display_name => 'hostname',
  848. :description => 'Hostname to use in various parts of sent mails, eg. in Message-Id.',
  849. :type => 'string',
  850. :required => 'optional',
  851. :default => 'nil'
  852. attribute 'dovecot/conf/quota_full_tempfail',
  853. :display_name => 'quota full tempfail',
  854. :description => 'If user is over quota, return with temporary failure instead of bouncing the mail.',
  855. :type => 'string',
  856. :required => 'optional',
  857. :default => 'nil'
  858. attribute 'dovecot/conf/sendmail_path',
  859. :display_name => 'sendmail path',
  860. :description => 'Binary to use for sending mails.',
  861. :type => 'string',
  862. :required => 'optional',
  863. :default => 'nil'
  864. attribute 'dovecot/conf/submission_host',
  865. :display_name => 'submission host',
  866. :description => 'If non-empty, send mails via this SMTP host[:port] instead of sendmail.',
  867. :type => 'string',
  868. :required => 'optional',
  869. :default => 'nil'
  870. attribute 'dovecot/conf/rejection_subject',
  871. :display_name => 'rejection subject',
  872. :description => 'Subject: header to use for rejection mails.',
  873. :type => 'string',
  874. :required => 'optional',
  875. :default => 'nil'
  876. attribute 'dovecot/conf/rejection_reason',
  877. :display_name => 'rejection reason',
  878. :description => 'Human readable error message for rejection mails.',
  879. :type => 'string',
  880. :required => 'optional',
  881. :default => 'nil'
  882. attribute 'dovecot/conf/recipient_delimiter',
  883. :display_name => 'recipient delimiter',
  884. :description => 'Delimiter character between local-part and detail in email address.',
  885. :type => 'string',
  886. :required => 'optional',
  887. :default => 'nil'
  888. attribute 'dovecot/conf/lda_original_recipient_header',
  889. :display_name => 'lda original recipient header',
  890. :description => 'Header where the original recipient address (SMTP\'s RCPT TO: address) is taken from if not available elsewhere.',
  891. :type => 'string',
  892. :required => 'optional',
  893. :default => 'nil'
  894. attribute 'dovecot/conf/lda_mailbox_autocreate',
  895. :display_name => 'lda mailbox autocreate',
  896. :description => 'Should saving a mail to a nonexistent mailbox automatically create it?',
  897. :type => 'string',
  898. :required => 'optional',
  899. :default => 'nil'
  900. attribute 'dovecot/conf/lda_mailbox_autosubscribe',
  901. :display_name => 'lda mailbox autosubscribe',
  902. :description => 'Should automatically created mailboxes be also automatically subscribed?',
  903. :type => 'string',
  904. :required => 'optional',
  905. :default => 'nil'
  906. #
  907. # conf.d/20-lmtp.conf
  908. #
  909. attribute 'dovecot/conf/lmtp_proxy',
  910. :display_name => 'lmtp proxy',
  911. :description => 'Support proxying to other LMTP/SMTP servers by performing passdb lookups.',
  912. :type => 'string',
  913. :required => 'optional',
  914. :default => 'nil'
  915. attribute 'dovecot/conf/lmtp_save_to_detail_mailbox',
  916. :display_name => 'lmtp save to detail mailbox',
  917. :description => 'When recipient address includes the detail (e.g. user+detail), try to save the mail to the detail mailbox.',
  918. :type => 'string',
  919. :required => 'optional',
  920. :default => 'nil'
  921. #
  922. # dovecot-db.conf.ext
  923. #
  924. attribute 'dovecot/conf/db',
  925. :display_name => 'berkeley db',
  926. :description => 'DB_CONFIG for Berkeley DB as a hash.',
  927. :type => 'string',
  928. :required => 'optional',
  929. :default => 'nil'
  930. #
  931. # conf-dovecot-dict-sql.rb
  932. #
  933. grouping 'dovecot/conf/dict_sql',
  934. :title => 'dict sql config',
  935. :description => 'Dovecot dict sql configuration'
  936. attribute 'dovecot/conf/dict_sql/connect',
  937. :display_name => 'dict sql connect',
  938. :description => 'Dict sql connect configuration as a string or an array.',
  939. :type => 'string',
  940. :required => 'optional',
  941. :default => 'nil'
  942. attribute 'dovecot/conf/dict_sql/maps',
  943. :display_name => 'dict sql maps',
  944. :description => 'Dict sql database tables maps.',
  945. :type => 'string',
  946. :required => 'optional',
  947. :default => 'nil'
  948. #
  949. # dovecot-ldap.conf.ext
  950. #
  951. grouping 'dovecot/conf/ldap',
  952. :title => 'ldap config',
  953. :description => 'Dovecot LDAP Authentication Database configuration'
  954. attribute 'dovecot/conf/ldap/hosts',
  955. :display_name => 'ldap hosts',
  956. :description => 'Space separated list or array of LDAP hosts to use.',
  957. :type => 'string',
  958. :required => 'optional',
  959. :default => 'nil'
  960. attribute 'dovecot/conf/ldap/uris',
  961. :display_name => 'ldap uris',
  962. :description => 'LDAP URIs to use.',
  963. :type => 'string',
  964. :required => 'optional',
  965. :default => 'nil'
  966. attribute 'dovecot/conf/ldap/dn',
  967. :display_name => 'ldap dn',
  968. :description => 'Distinguished Name, the username used to login to the LDAP server.',
  969. :type => 'string',
  970. :required => 'optional',
  971. :default => 'nil'
  972. attribute 'dovecot/conf/ldap/dnpass',
  973. :display_name => 'ldap dnpass',
  974. :description => 'Password for LDAP server, if dn is specified.',
  975. :type => 'string',
  976. :required => 'optional',
  977. :default => 'nil'
  978. attribute 'dovecot/conf/ldap/sasl_bind',
  979. :display_name => 'ldap sasl bind',
  980. :description => 'Use SASL binding instead of the simple binding.',
  981. :type => 'string',
  982. :required => 'optional',
  983. :default => 'nil'
  984. attribute 'dovecot/conf/ldap/sasl_mech',
  985. :display_name => 'ldap sasl mech',
  986. :description => 'SASL mechanism name to use.',
  987. :type => 'string',
  988. :required => 'optional',
  989. :default => 'nil'
  990. attribute 'dovecot/conf/ldap/sasl_realm',
  991. :display_name => 'ldap sasl realm',
  992. :description => 'SASL realm to use.',
  993. :type => 'string',
  994. :required => 'optional',
  995. :default => 'nil'
  996. attribute 'dovecot/conf/ldap/sasl_authz_id',
  997. :display_name => 'ldap sasl authz id',
  998. :description => 'SASL authorization ID, ie. the dnpass is for this "master user", but the dn is still the logged in user.',
  999. :type => 'string',
  1000. :required => 'optional',
  1001. :default => 'nil'
  1002. attribute 'dovecot/conf/ldap/tls',
  1003. :display_name => 'ldap tls',
  1004. :description => 'Use TLS to connect to the LDAP server.',
  1005. :type => 'string',
  1006. :required => 'optional',
  1007. :default => 'nil'
  1008. attribute 'dovecot/conf/ldap/tls_ca_cert_file',
  1009. :display_name => 'ldap tls ca cert file',
  1010. :description => 'TLS options, currently supported only with OpenLDAP.',
  1011. :type => 'string',
  1012. :required => 'optional',
  1013. :default => 'nil'
  1014. attribute 'dovecot/conf/ldap/tls_ca_cert_file',
  1015. :display_name => 'ldap tls ca cert file',
  1016. :description => 'TLS options, currently supported only with OpenLDAP.',
  1017. :type => 'string',
  1018. :required => 'optional',
  1019. :default => 'nil'
  1020. attribute 'dovecot/conf/ldap/tls_ca_cert_dir',
  1021. :display_name => 'ldap tls ca cert dir',
  1022. :description => 'TLS options, currently supported only with OpenLDAP.',
  1023. :type => 'string',
  1024. :required => 'optional',
  1025. :default => 'nil'
  1026. attribute 'dovecot/conf/ldap/tls_cipher_suite',
  1027. :display_name => 'ldap tls cipher suite',
  1028. :description => 'TLS options, currently supported only with OpenLDAP.',
  1029. :type => 'string',
  1030. :required => 'optional',
  1031. :default => 'nil'
  1032. attribute 'dovecot/conf/ldap/tls_cert_file',
  1033. :display_name => 'ldap tls cert file',
  1034. :description => 'TLS cert/key is used only if LDAP server requires a client certificate.',
  1035. :type => 'string',
  1036. :required => 'optional',
  1037. :default => 'nil'
  1038. attribute 'dovecot/conf/ldap/tls_key_file',
  1039. :display_name => 'ldap tls key file',
  1040. :description => 'TLS cert/key is used only if LDAP server requires a client certificate.',
  1041. :type => 'string',
  1042. :required => 'optional',
  1043. :default => 'nil'
  1044. attribute 'dovecot/conf/ldap/tls_require_cert',
  1045. :display_name => 'ldap tls require cert',
  1046. :description => 'Valid values: never, hard, demand, allow, try',
  1047. :type => 'string',
  1048. :required => 'optional',
  1049. :default => 'nil'
  1050. attribute 'dovecot/conf/ldap/ldaprc_path',
  1051. :display_name => 'ldap ldaprc path',
  1052. :description => 'Use the given ldaprc path.',
  1053. :type => 'string',
  1054. :required => 'optional',
  1055. :default => 'nil'
  1056. attribute 'dovecot/conf/ldap/debug_level',
  1057. :display_name => 'ldap debug level',
  1058. :description => 'LDAP library debug level as specified by LDAP_DEBUG_* in ldap_log.h.',
  1059. :type => 'string',
  1060. :required => 'optional',
  1061. :default => 'nil'
  1062. attribute 'dovecot/conf/ldap/auth_bind',
  1063. :display_name => 'ldap auth bind',
  1064. :description => 'Use authentication binding for verifying password\'s validity.',
  1065. :type => 'string',
  1066. :required => 'optional',
  1067. :default => 'nil'
  1068. attribute 'dovecot/conf/ldap/auth_bind_userdn',
  1069. :display_name => 'ldap auth bind userdn',
  1070. :description => 'If authentication binding is used, you can save one LDAP request per login if user\'s DN can be specified with a common template.',
  1071. :type => 'string',
  1072. :required => 'optional',
  1073. :default => 'nil'
  1074. attribute 'dovecot/conf/ldap/ldap_version',
  1075. :display_name => 'ldap ldap version',
  1076. :description => 'LDAP protocol version to use. Likely 2 or 3.',
  1077. :type => 'string',
  1078. :required => 'optional',
  1079. :default => 'nil'
  1080. attribute 'dovecot/conf/ldap/base',
  1081. :display_name => 'ldap base',
  1082. :description => 'LDAP base. %variables can be used here.',
  1083. :type => 'string',
  1084. :required => 'optional',
  1085. :default => 'nil'
  1086. attribute 'dovecot/conf/ldap/deref',
  1087. :display_name => 'ldap deref',
  1088. :description => 'Dereference: never, searching, finding or always.',
  1089. :type => 'string',
  1090. :required => 'optional',
  1091. :default => 'nil'
  1092. attribute 'dovecot/conf/ldap/scope',
  1093. :display_name => 'ldap scope',
  1094. :description => 'Search scope: base, onelevel or subtree.',
  1095. :type => 'string',
  1096. :required => 'optional',
  1097. :default => 'nil'
  1098. attribute 'dovecot/conf/ldap/user_attrs',
  1099. :display_name => 'ldap user attrs',
  1100. :description => 'User attributes are given in LDAP-name=dovecot-internal-name list.',
  1101. :type => 'string',
  1102. :required => 'optional',
  1103. :default => 'nil'
  1104. attribute 'dovecot/conf/ldap/user_filter',
  1105. :display_name => 'ldap user filter',
  1106. :description => 'Filter for user lookup.',
  1107. :type => 'string',
  1108. :required => 'optional',
  1109. :default => 'nil'
  1110. attribute 'dovecot/conf/ldap/pass_attrs',
  1111. :display_name => 'ldap pass attrs',
  1112. :description => 'Password checking attributes.',
  1113. :type => 'string',
  1114. :required => 'optional',
  1115. :default => 'nil'
  1116. attribute 'dovecot/conf/ldap/pass_filter',
  1117. :display_name => 'ldap pass filter',
  1118. :description => 'Filter for password lookups.',
  1119. :type => 'string',
  1120. :required => 'optional',
  1121. :default => 'nil'
  1122. attribute 'dovecot/conf/ldap/iterate_attrs',
  1123. :display_name => 'ldap iterate attrs',
  1124. :description => 'Attributes to get a list of all users',
  1125. :type => 'string',
  1126. :required => 'optional',
  1127. :default => 'nil'
  1128. attribute 'dovecot/conf/ldap/iterate_filter',
  1129. :display_name => 'ldap iterate filter',
  1130. :description => 'Filter to get a list of all users',
  1131. :type => 'string',
  1132. :required => 'optional',
  1133. :default => 'nil'
  1134. attribute 'dovecot/conf/ldap/default_pass_scheme',
  1135. :display_name => 'ldap default pass scheme',
  1136. :description => 'Default password scheme. "{scheme}" before password overrides this.',
  1137. :type => 'string',
  1138. :required => 'optional',
  1139. :default => 'nil'
  1140. #
  1141. # dovecot-sql.conf.ext
  1142. #
  1143. attribute 'dovecot/conf/sql/driver',
  1144. :display_name => 'sql driver',
  1145. :description => 'Database driver: mysql, pgsql or sqlite.',
  1146. :type => 'string',
  1147. :required => 'optional',
  1148. :default => 'nil'
  1149. attribute 'dovecot/conf/sql/connect',
  1150. :display_name => 'sql connect',
  1151. :description => 'Database connection string or array. This is driver-specific setting.',
  1152. :type => 'string',
  1153. :required => 'optional',
  1154. :default => 'nil'
  1155. attribute 'dovecot/conf/sql/default_pass_scheme',
  1156. :display_name => 'sql default pass scheme',
  1157. :description => 'Default password scheme.',
  1158. :type => 'string',
  1159. :required => 'optional',
  1160. :default => 'nil'
  1161. attribute 'dovecot/conf/sql/password_query',
  1162. :display_name => 'sql password query',
  1163. :description => 'passdb query to retrieve the password.',
  1164. :type => 'string',
  1165. :required => 'optional',
  1166. :default => 'nil'
  1167. attribute 'dovecot/conf/sql/user_query',
  1168. :display_name => 'sql user query',
  1169. :description => 'userdb query to retrieve the user information.',
  1170. :type => 'string',
  1171. :required => 'optional',
  1172. :default => 'nil'
  1173. attribute 'dovecot/conf/sql/iterate_query',
  1174. :display_name => 'sql iterate query',
  1175. :description => 'Query to get a list of all usernames.',
  1176. :type => 'string',
  1177. :required => 'optional',
  1178. :default => 'nil'