Advertisement
Guest User

Untitled

a guest
Dec 8th, 2021
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.75 KB | None | 0 0
  1. # ------------------------------
  2. # mailcow web ui configuration
  3. # ------------------------------
  4. # example.org is _not_ a valid hostname, use a fqdn here.
  5. # Default admin user is "admin"
  6. # Default password is "moohoo"
  7.  
  8. MAILCOW_HOSTNAME=mail.x
  9.  
  10. # Password hash algorithm
  11. # Only certain password hash algorithm are supported. For a fully list of supported schemes,
  12. # see https://mailcow.github.io/mailcow-dockerized-docs/model-passwd/
  13. MAILCOW_PASS_SCHEME=BLF-CRYPT
  14.  
  15. # ------------------------------
  16. # SQL database configuration
  17. # ------------------------------
  18.  
  19. DBNAME=mailcow
  20. DBUSER=mailcow
  21.  
  22. # Please use long, random alphanumeric strings (A-Za-z0-9)
  23.  
  24. DBPASS=sZ0wSq5o6n15W4Z6fIitCZSsp2XW
  25. DBROOT=D5V40aMCnzaUahoxrv29EaxUVJC3
  26.  
  27. # ------------------------------
  28. # HTTP/S Bindings
  29. # ------------------------------
  30.  
  31. # You should use HTTPS, but in case of SSL offloaded reverse proxies:
  32. # Might be important: This will also change the binding within the container.
  33. # If you use a proxy within Docker, point it to the ports you set below.
  34. # Do _not_ use IP:PORT in HTTP(S)_BIND or HTTP(S)_PORT
  35. # IMPORTANT: Do not use port 8081, 9081 or 65510!
  36. # Example: HTTP_BIND=1.2.3.4
  37. # For IPv4 and IPv6 leave it empty: HTTP_BIND= & HTTPS_PORT=
  38. # For IPv6 see https://mailcow.github.io/mailcow-dockerized-docs/firststeps-ip_bindings/
  39.  
  40. HTTP_PORT=8080
  41. HTTP_BIND=127.0.0.1
  42.  
  43. HTTPS_PORT=8443
  44. HTTPS_BIND=127.0.0.1
  45.  
  46. # ------------------------------
  47. # Other bindings
  48. # ------------------------------
  49. # You should leave that alone
  50. # Format: 11.22.33.44:25 or 12.34.56.78:465 etc.
  51.  
  52. SMTP_PORT=25
  53. SMTPS_PORT=465
  54. SUBMISSION_PORT=587
  55. IMAP_PORT=143
  56. IMAPS_PORT=993
  57. POP_PORT=110
  58. POPS_PORT=995
  59. SIEVE_PORT=4190
  60. DOVEADM_PORT=127.0.0.1:19991
  61. SQL_PORT=127.0.0.1:13306
  62. SOLR_PORT=127.0.0.1:18983
  63. REDIS_PORT=127.0.0.1:7654
  64.  
  65. # Your timezone
  66. # See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a list of timezones
  67. # Use the row named 'TZ database name' + pay attention for 'Notes' row
  68.  
  69. TZ=Europe/Berlin
  70.  
  71. # Fixed project name
  72. # Please use lowercase letters only
  73.  
  74. COMPOSE_PROJECT_NAME=mailcowdockerized
  75.  
  76. # Set this to "allow" to enable the anyone pseudo user. Disabled by default.
  77. # When enabled, ACL can be created, that apply to "All authenticated users"
  78. # This should probably only be activated on mail hosts, that are used exclusivly by one organisation.
  79. # Otherwise a user might share data with too many other users.
  80. ACL_ANYONE=disallow
  81.  
  82. # Garbage collector cleanup
  83. # Deleted domains and mailboxes are moved to /var/vmail/_garbage/timestamp_sanitizedstring
  84. # How long should objects remain in the garbage until they are being deleted? (value in minutes)
  85. # Check interval is hourly
  86.  
  87. MAILDIR_GC_TIME=7200
  88.  
  89. # Additional SAN for the certificate
  90. #
  91. # You can use wildcard records to create specific names for every domain you add to mailcow.
  92. # Example: Add domains "example.com" and "example.net" to mailcow, change ADDITIONAL_SAN to a value like:
  93. #ADDITIONAL_SAN=imap.*,smtp.*
  94. # This will expand the certificate to "imap.example.com", "smtp.example.com", "imap.example.net", "imap.example.net"
  95. # plus every domain you add in the future.
  96. #
  97. # You can also just add static names...
  98. #ADDITIONAL_SAN=srv1.example.net
  99. # ...or combine wildcard and static names:
  100. #ADDITIONAL_SAN=imap.*,srv1.example.com
  101. #
  102.  
  103. ADDITIONAL_SAN=
  104.  
  105. # Additional server names for mailcow UI
  106. #
  107. # Specify alternative addresses for the mailcow UI to respond to
  108. # This is useful when you set mail.* as ADDITIONAL_SAN and want to make sure mail.maildomain.com will always point to the mailcow UI.
  109. # If the server name does not match a known site, Nginx decides by best-guess and may redirect users to the wrong web root.
  110. # You can understand this as server_name directive in Nginx.
  111. # Comma separated list without spaces! Example: ADDITIONAL_SERVER_NAMES=a.b.c,d.e.f
  112.  
  113. ADDITIONAL_SERVER_NAMES=
  114.  
  115. # Skip running ACME (acme-mailcow, Let's Encrypt certs) - y/n
  116.  
  117. SKIP_LETS_ENCRYPT=y
  118.  
  119. # Create seperate certificates for all domains - y/n
  120. # this will allow adding more than 100 domains, but some email clients will not be able to connect with alternative hostnames
  121. # see https://wiki.dovecot.org/SSL/SNIClientSupport
  122. ENABLE_SSL_SNI=n
  123.  
  124. # Skip IPv4 check in ACME container - y/n
  125.  
  126. SKIP_IP_CHECK=n
  127.  
  128. # Skip HTTP verification in ACME container - y/n
  129.  
  130. SKIP_HTTP_VERIFICATION=n
  131.  
  132. # Skip ClamAV (clamd-mailcow) anti-virus (Rspamd will auto-detect a missing ClamAV container) - y/n
  133.  
  134. SKIP_CLAMD=n
  135.  
  136. # Skip SOGo: Will disable SOGo integration and therefore webmail, DAV protocols and ActiveSync support (experimental, unsupported, not fully implemented) - y/n
  137.  
  138. SKIP_SOGO=n
  139.  
  140. # Skip Solr on low-memory systems or if you do not want to store a readable index of your mails in solr-vol-1.
  141.  
  142. SKIP_SOLR=n
  143.  
  144. # Solr heap size in MB, there is no recommendation, please see Solr docs.
  145. # Solr is a prone to run OOM and should be monitored. Unmonitored Solr setups are not recommended.
  146.  
  147. SOLR_HEAP=1024
  148.  
  149. # Allow admins to log into SOGo as email user (without any password)
  150.  
  151. ALLOW_ADMIN_EMAIL_LOGIN=n
  152.  
  153. # Enable watchdog (watchdog-mailcow) to restart unhealthy containers
  154.  
  155. USE_WATCHDOG=y
  156.  
  157. # Send watchdog notifications by mail (sent from watchdog@MAILCOW_HOSTNAME)
  158. # CAUTION:
  159. # 1. You should use external recipients
  160. # 2. Mails are sent unsigned (no DKIM)
  161. # 3. If you use DMARC, create a separate DMARC policy ("v=DMARC1; p=none;" in _dmarc.MAILCOW_HOSTNAME)
  162. # Multiple rcpts allowed, NO quotation marks, NO spaces
  163.  
  164. #WATCHDOG_NOTIFY_EMAIL=a@example.com,b@example.com,c@example.com
  165. #WATCHDOG_NOTIFY_EMAIL=
  166.  
  167. # Notify about banned IP (includes whois lookup)
  168. WATCHDOG_NOTIFY_BAN=n
  169.  
  170. # Subject for watchdog mails. Defaults to "Watchdog ALERT" followed by the error message.
  171. #WATCHDOG_SUBJECT=
  172.  
  173. # Checks if mailcow is an open relay. Requires a SAL. More checks will follow.
  174. # https://www.servercow.de/mailcow?lang=en
  175. # https://www.servercow.de/mailcow?lang=de
  176. # No data is collected. Opt-in and anonymous.
  177. # Will only work with unmodified mailcow setups.
  178. WATCHDOG_EXTERNAL_CHECKS=n
  179.  
  180. # Enable watchdog verbose logging
  181. WATCHDOG_VERBOSE=n
  182.  
  183. # Max log lines per service to keep in Redis logs
  184.  
  185. LOG_LINES=9999
  186.  
  187. # Internal IPv4 /24 subnet, format n.n.n (expands to n.n.n.0/24)
  188. # Use private IPv4 addresses only, see https://en.wikipedia.org/wiki/Private_network#Private_IPv4_addresses
  189.  
  190. IPV4_NETWORK=172.22.1
  191.  
  192. # Internal IPv6 subnet in fc00::/7
  193. # Use private IPv6 addresses only, see https://en.wikipedia.org/wiki/Private_network#Private_IPv6_addresses
  194.  
  195. IPV6_NETWORK=fd4d:6169:6c63:6f77::/64
  196.  
  197. # Use this IPv4 for outgoing connections (SNAT)
  198.  
  199. #SNAT_TO_SOURCE=
  200.  
  201. # Use this IPv6 for outgoing connections (SNAT)
  202.  
  203. #SNAT6_TO_SOURCE=
  204.  
  205. # Create or override an API key for the web UI
  206. # You _must_ define API_ALLOW_FROM, which is a comma separated list of IPs
  207. # An API key defined as API_KEY has read-write access
  208. # An API key defined as API_KEY_READ_ONLY has read-only access
  209. # Allowed chars for API_KEY and API_KEY_READ_ONLY: a-z, A-Z, 0-9, -
  210. # You can define API_KEY and/or API_KEY_READ_ONLY
  211.  
  212. #API_KEY=
  213. #API_KEY_READ_ONLY=
  214. #API_ALLOW_FROM=172.22.1.1,127.0.0.1
  215.  
  216. # mail_home is ~/Maildir
  217. MAILDIR_SUB=Maildir
  218.  
  219. # SOGo session timeout in minutes
  220. SOGO_EXPIRE_SESSION=480
  221.  
  222. # DOVECOT_MASTER_USER and DOVECOT_MASTER_PASS must both be provided. No special chars.
  223. # Empty by default to auto-generate master user and password on start.
  224. # User expands to DOVECOT_MASTER_USER@mailcow.local
  225. # LEAVE EMPTY IF UNSURE
  226. DOVECOT_MASTER_USER=
  227. # LEAVE EMPTY IF UNSURE
  228. DOVECOT_MASTER_PASS=
  229.  
  230. # Let's Encrypt registration contact information
  231. # Optional: Leave empty for none
  232. # This value is only used on first order!
  233. # Setting it at a later point will require the following steps:
  234. # https://mailcow.github.io/mailcow-dockerized-docs/debug-reset_tls/
  235. ACME_CONTACT=
  236.  
  237.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement