Kerio.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\App\Enums;
  3. /**
  4. *
  5. * Created by PhpStorm.
  6. * User: ThurData
  7. * Date: 09.09.19
  8. * Time: 14:10
  9. * Class Kerio
  10. */
  11. class Kerio
  12. {
  13. /**
  14. * attribute statuses
  15. */
  16. const ATTR_ENABLED = 'TRUE';
  17. const ATTR_DISABLED = 'FALSE';
  18. const ENABLED = 'enabled';
  19. const DISABLED = 'disabled';
  20. const ENABLED_AS_INT = 1;
  21. /**
  22. * connection ports
  23. */
  24. const SECURE_PORT = 4040;
  25. const PORT = 4040;
  26. /**
  27. *
  28. */
  29. const CLIENT_PORT = 443;
  30. /**
  31. * Kerio statuses
  32. */
  33. const STATUS_ACCEPT = 'ACCEPT';
  34. const STATUS_APPROVAL = 'APPROVAL';
  35. const STATUS_REJECT = 'REJECT';
  36. const ACC_STATUS_ACTIVE = 'active';
  37. const ACC_STATUS_LOCKED = 'locked';
  38. const ACC_STATUS_MAINTENANCE = 'maintenance';
  39. const ACC_STATUS_CLOSED = 'closed';
  40. const ACC_STATUS_LOCKOUT = 'lockout';
  41. const ACC_STATUS_PENDING = 'pending';
  42. const ACC_STATUS_SUSPEND = 'suspended';
  43. const RES_TYPE_LOCATION = 'Location';
  44. const RES_TYPE_EQUIPMENT = 'Equipment';
  45. const DEFAULT_LOGIN_LINK = 'https://kerio-server';
  46. const BASE_ACCOUNT_CONFIG = [
  47. // fill with attributes like imapEnabled etc.
  48. ];
  49. }