-
Notifications
You must be signed in to change notification settings - Fork 4
/
gomaild.conf
74 lines (68 loc) · 2.46 KB
/
gomaild.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# -- gomaild main configuration file --
#
# It is parsed by the "parsers/config" package, which accepts JSON syntax plus comments (text at the right of an hash ("#") character will be ignored).
#
# -----
#
# All *.conf files in the executable's directory are merged and parsed. This means you can place the general configuration here, the POP3 stuff in pop3.conf, et cetera.
#
# -----
#
# The main scope is parsed into the main "Configuration" object.
#
# -----
#
# Subscopes are parsed into their own object (the scope of the POP3 object is parsed into Configuration.POP3, et cetera).
#
# -----
#
# Style:
# - Object names must be CamelCase.
# - Variable names must be snake_case.
# - File paths SHOULD be absolute.
{
"debug": true,
"domain": "pellero.it",
"POP3": {
"start_greeting": "gomaild POP3 server ready",
"end_greeting": "gomaild POP3 server signing off",
"enable_user_cmd": true,
"secure_user_cmd": true,
"fake_dele_cmd": true
},
"SMTP": {
"start_greeting": "gomaild ESMTP server ready",
"end_greeting": "gomaild ESMTP server closing connection",
"queued_message": "message queued",
"ehlo_message": "you are welcome",
"sender_ok_message": "sender ok",
"sender_invalid_message": "sender invalid",
"recipient_ok_message": "recipient ok",
"recipient_invalid_message": "recipient invalid",
"data_start_message": "go on",
"timeout": 300,
"timeout_message": "timeout",
"enable_starttls": true,
"enable_auth": true,
"enable_auth_login": true,
"enable_auth_plain": true,
"enable_auth_cram_md5": true
},
"POP3": {
"timeout": 300,
"timeout_message": "timeout",
"enable_stls": true,
"enable_auth": true,
"enable_auth_login": true,
"enable_auth_plain": true,
"enable_auth_cram_md5": true
},
"TLS": {
"certificate_file": "/home/giorgio/server.crt",
"certificate_key_file": "/home/giorgio/server.key"
},
"Accounts": {
"[email protected]": "tset",
"[email protected]": "somepassword"
}
}