config.inc.php 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. */
  10. $rcmail_config['vacation_sieve'] = array(
  11. # Date formats for the calendars
  12. 'date_format' => 'd/m/Y',
  13. # Working Hours when selecting hours
  14. 'working_hours' => array(8,18),
  15. # Message format: text or html
  16. 'msg_format' => 'text',
  17. 'logon_transform' => array('#([a-z])[a-z]+(\.|\s)([a-z])#i', '$1$3'),
  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
  22. 'transfer' => array(
  23. # Transfer mode: local, ssh, sieve, etc...
  24. # Only local supported atm
  25. # Select mode
  26. # 'mode' => 'local',
  27. # 'mode' => 'sieve',
  28. 'mode' => 'managesieve',
  29. # Only used in SSH Mode
  30. 'host' => 'SIEVE_HOST',
  31. #'user' => 'vmail',
  32. # example of a template path to save/load the local file
  33. # 'path' => '/var/vmail/<domain>/<logon>/Maildir/.sieve',
  34. 'path' => 'vacation',
  35. 'usetls' => true
  36. )
  37. );
  38. // end vacation config file