-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.example.yaml
110 lines (88 loc) · 2.88 KB
/
config.example.yaml
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
mail_dir: /var/mail/anope/
smtp:
network1:
server: smtp.example.com
from_addr: [email protected]
port: 587
tls: true
user_name: ''
password: ''
snoonet:
from_addr: [email protected]
server: smtp-relay.gmail.com
port: 587
tls: true
smtp_helo: snoonet.org
reports:
from_addr: [email protected]
server: smtp-relay.gmail.com
port: 587
tls: true
smtp_helo: snoonet.org
reports:
default:
smtp: reports
delay: 1h # By default send reports once an hour
stats:
# Statistics reports
delay: 1d # Only send statistics once per day
errors:
# Error reports
delay: 10m # Send an error summary at most once every 10 minutes
# requires:
# https://github.com/snoonetIRC/anope-modules/blob/master/modules/m_data_api.cpp
# https://github.com/snoonetIRC/anope-modules/blob/master/modules/m_store_server.cpp
api: https://localhost:8888
default_formats:
registration:
subject: Nickname registration for {nick}
message: |-
Hi,
You have requested to register the nickname {nick} on {network}.
Please type \" /msg NickServ CONFIRM {code} \" in your IRC Client to complete registration.
If you don't know why this mail was sent to you, please ignore it silently.
{network} administrators.
reset:
subject: Reset password request for {nick}
message: |-
Hi,
You have requested to have the password for {nick} reset.
To reset your password, type \" /msg NickServ CONFIRM {nick} {code} \"
After you do this, you will be logged in to your account by anope.
Then change your password with \" /msg NickServ SET PASSWORD newpasshere \".
If you don't know why this mail was sent to you, please ignore it silently.
{network} administrators.
emailchange:
subject: Email confirmation
message: |-
Hi,
You have requested to change your email address to {newmail}.
Please type \" /msg NickServ CONFIRM {code} \" in your IRC client to confirm this change.
If you don't know why this mail was sent to you, please ignore it silently.
{network} administrators.
memo:
subject: New memo
message: |-
Hi {nick},
You've just received a new memo from {sender}. This is memo number {memo_id}.
Memo text:
{text}
Automated message from {network}. Please do not reply to this email.
networks:
- name: Net1
server: '*.example.com'
smtp: network1
- name: Snoonet
# Any server not already matched uses this config
server: '*'
smtp: snoonet
formats:
memo:
subject: New memo from {sender}
message: |-
Hi {nick},
You've just received a new memo from {sender}. This is memo number {memo_id}.
Memo text:
{text}
Automated message from {network}. Please do not reply to this email.