Browse Source

Improve default configuration file

Alexey Edelev 5 năm trước cách đây
mục cha
commit
26b7241cb8
1 tập tin đã thay đổi với 18 bổ sung0 xóa
  1. 18 0
      config/main.ini.default

+ 18 - 0
config/main.ini.default

@@ -1 +1,19 @@
+# Path to postfix service configuration.
+# Usualy placed in /etc/postfix/main.cf
+# If not set cause critical error.
 postfix_config = /etc/postfix/main.cf
+
+# Address of mongo database to store service data in following
+# format:
+#     host:[port]
+# By default is localhost:27017.
+mongo_address = localhost:27017
+
+# User name to access mongo database. Empty by default.
+mongo_user =
+
+# Password to access mongo database. Empty by default.
+mongo_password =
+
+# Path to attachments storage. By dafault "./attachments".
+attachments_path = attachments