Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

config-default.inc.php 2.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. /*
  3. +-----------------------------------------------------------------------+
  4. | Configuration file for vacation_sieve |
  5. | |
  6. | Copyright (C) 2011 André Rodier <andre.rodier@gmail.com> |
  7. | Licensed under the GNU GPL |
  8. +-----------------------------------------------------------------------+
  9. Note: Don't edit this file. Copy to config.inc.php and override settins there
  10. */
  11. $rcmail_config['vacation_sieve'] = array(
  12. # Message format: text or html
  13. 'msg_format' => 'text',
  14. # Working Hours when selecting hours
  15. 'working_hours' => array(8,18),
  16. # Debug logging: enable for process logging
  17. 'debug' => false,
  18. // default vacaion mail data - overwrite data in model.php
  19. //'vacation_subject' => 'Out of office',
  20. //'vacation_message' => 'I am in Holidays...',
  21. # Transfer parameters: how to transfer your
  22. # sieve script on the server.
  23. 'transfer' => array(
  24. # Transfer mode: local, ssh or managesieve.
  25. # local:
  26. # simply copy the file in a local dir, but need permissions.
  27. # ssh:
  28. # use ssh to transfer the file on a remote server,
  29. # this is useful with dovecot sieve_before and sieve_after options
  30. # managesieve
  31. # use the managesieve protocol to communicate with the mail server.
  32. # need an appropriate mail server, like dovecot/cyrus or afterlogic
  33. # Select mode
  34. 'mode' => 'local',
  35. # 'mode' => 'managesieve',
  36. # 'mode' => 'ssh',
  37. # SSH Mode example
  38. # 'user' => 'vmail',
  39. # 'host' => 'localhost',
  40. # 'options' => '-i /path/to/alternate/.ssh/id_rsa -o UserKnownHostsFile=/path/to/alternate/.ssh/known_hosts',
  41. # 'port' => '22',
  42. # Managesieve Mode example
  43. # 'ms_activate_script' => true,
  44. # if true, 'activate' the script via the managesieve protocol
  45. # if false, only write the script (eg if 'included')
  46. # 'host' => 'localhost',
  47. # 'port' => '4190',
  48. # 'usetls' => false,
  49. # example of anonymous function used to transform the logon name
  50. # php 5.3+ needed to use this feature.
  51. #'logon_transform' => function($logon)
  52. #{
  53. # return strtolower(preg_replace('#([a-z])[a-z]+\.([a-z])#', '\1\2', $logon));
  54. #},
  55. # example of a template path to save/load the local file
  56. # in the case of managesieve, this is the script name
  57. 'path' => '/var/vmail/<domain>/<logon>/.sieve',
  58. # Path to sievec bin if necessary
  59. # 'sievecbin' => '/usr/bin/sievec',
  60. 'sievecbin' => '',
  61. )
  62. );
  63. // end vacation config file