Kerio.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 = 'Allowed';
  34. const STATUS_APPROVAL = 'Moderated';
  35. const STATUS_REJECT = 'Denied';
  36. const ACC_STATUS_ACTIVE = 'active';
  37. const ACC_STATUS_CLOSED = 'closed';
  38. const RES_TYPE_LOCATION = 'Room';
  39. const RES_TYPE_EQUIPMENT = 'Equipment';
  40. const DEFAULT_LOGIN_LINK = 'https://kerio-server';
  41. const BASE_ACCOUNT_CONFIG = [
  42. // fill with attributes like imapEnabled etc.
  43. ];
  44. }