소스 검색

Improve default configuration file

Alexey Edelev 5 년 전
부모
커밋
26b7241cb8
1개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  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