goguerrilla.conf.sample 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "log_file" : "stderr",
  3. "log_level" : "info",
  4. "allowed_hosts": [
  5. "guerrillamail.com",
  6. "guerrillamailblock.com",
  7. "sharklasers.com",
  8. "guerrillamail.net",
  9. "guerrillamail.org"
  10. ],
  11. "pid_file" : "/var/run/go-guerrilla.pid",
  12. "backend_config": {
  13. "log_received_mails": true,
  14. "save_workers_size": 1,
  15. "save_process" : "HeadersParser|Header|Debugger",
  16. "primary_mail_host" : "mail.example.com",
  17. "gw_save_timeout" : "30s",
  18. "gw_val_rcpt_timeout" : "3s"
  19. },
  20. "servers" : [
  21. {
  22. "is_enabled" : true,
  23. "host_name":"mail.test.com",
  24. "max_size": 1000000,
  25. "timeout":180,
  26. "listen_interface":"127.0.0.1:25",
  27. "max_clients": 1000,
  28. "log_file" : "stderr",
  29. "tls" : {
  30. "start_tls_on":true,
  31. "tls_always_on":false,
  32. "private_key_file":"/path/to/pem/file/test.com.key",
  33. "public_key_file":"/path/to/pem/file/test.com.crt",
  34. "protocols" : ["tls1.0", "tls1.2"],
  35. "ciphers" : ["TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305", "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305", "TLS_RSA_WITH_RC4_128_SHA", "TLS_RSA_WITH_AES_128_GCM_SHA256", "TLS_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", "TLS_ECDHE_RSA_WITH_RC4_128_SHA", "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"],
  36. "curves" : ["P256", "P384", "P521", "X25519"],
  37. "client_auth_type" : "NoClientCert"
  38. }
  39. },
  40. {
  41. "is_enabled" : false,
  42. "host_name":"mail.test.com",
  43. "max_size":1000000,
  44. "timeout":180,
  45. "listen_interface":"127.0.0.1:465",
  46. "max_clients":500,
  47. "log_file" : "stderr",
  48. "tls" : {
  49. "private_key_file":"/path/to/pem/file/test.com.key",
  50. "public_key_file":"/path/to/pem/file/test.com.crt",
  51. "start_tls_on":false,
  52. "tls_always_on":true,
  53. "protocols" : ["tls1.0", "tls1.2"],
  54. "ciphers" : ["TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305", "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305", "TLS_RSA_WITH_RC4_128_SHA", "TLS_RSA_WITH_AES_128_GCM_SHA256", "TLS_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", "TLS_ECDHE_RSA_WITH_RC4_128_SHA", "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"],
  55. "curves" : ["P256", "P384", "P521", "X25519"],
  56. "client_auth_type" : "NoClientCert"
  57. }
  58. }
  59. ]
  60. }