Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.0 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. smtps.h
  7. This file contains constants & type definitions shared between the
  8. SMTP Service, Installer, and Administration UI.
  9. FILE HISTORY:
  10. KeithMo 10-Mar-1993 Created.
  11. */
  12. #ifndef _SMTPS_H_
  13. #define _SMTPS_H_
  14. #ifdef __cplusplus
  15. extern "C"
  16. {
  17. #endif // _cplusplus
  18. #if !defined(MIDL_PASS)
  19. #include <winsock.h>
  20. #endif
  21. //
  22. // Service name.
  23. //
  24. #define SMTP_SERVICE_NAME TEXT("SMTPSVC")
  25. #define SMTP_SERVICE_NAME_A "SMTPSVC"
  26. #define SMTP_SERVICE_NAME_W L"SMTPSVC"
  27. #define IPPORT_SMTP 25
  28. #define IPPORT_SMTP_SECURE 465
  29. //
  30. // Name of the log file, used for logging file accesses.
  31. //
  32. #define SMTP_LOG_FILE TEXT("SMTPSVC.LOG")
  33. //
  34. // Configuration parameters registry key.
  35. //
  36. #define SMTP_PARAMETERS_KEY_A "System\\CurrentControlSet\\Services\\SMTPSvc\\Parameters"
  37. #define SMTP_PARAMETERS_KEY_W L"System\\CurrentControlSet\\Services\\SMTPSvc\\Parameters"
  38. #define SMTP_PARAMETERS_KEY \
  39. TEXT("System\\CurrentControlSet\\Services\\SmtpSvc\\Parameters")
  40. //
  41. // Performance key.
  42. //
  43. #define SMTP_PERFORMANCE_KEY \
  44. TEXT("System\\CurrentControlSet\\Services\\SmtpSvc\\Performance")
  45. //
  46. // Name of the LSA Secret Object containing the password for
  47. // anonymous logon.
  48. //
  49. #define SMTP_ANONYMOUS_SECRET TEXT("SMTP_ANONYMOUS_DATA")
  50. #define SMTP_ANONYMOUS_SECRET_A "SMTP_ANONYMOUS_DATA"
  51. #define SMTP_ANONYMOUS_SECRET_W L"SMTP_ANONYMOUS_DATA"
  52. //
  53. // The set of password/virtual root pairs
  54. //
  55. #define SMTP_ROOT_SECRET_W L"SMTP_ROOT_DATA"
  56. #define DEFAULT_AUTHENTICATION MD_AUTH_BASIC|MD_AUTH_NT
  57. #ifdef __cplusplus
  58. }
  59. #endif // _cplusplus
  60. #endif // _SMTPS_H_