-
Notifications
You must be signed in to change notification settings - Fork 13
/
Caddyfile
56 lines (41 loc) · 1.32 KB
/
Caddyfile
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
http://schumacherfm.local:2015 {
tls off
mailout /mySendMail {
Xmaillog testdata/
errorlog testdata/
to "[email protected]"
subject "Text Email from {{.Form.Get \"name\" }}"
body "testdata/mail_tpl.html"
# username
# password
host 127.0.0.1
port 1025
ratelimit_capacity 3
ratelimit_interval 6s
}
# esi {
# cmd_header_name X-Esi-Cmd
# log_file ./testdata/cdy_test_2017_debug.log
# log_level debug
# resources ./CaddyfileResources.xml
# }
}
http://iair.local:2015 {
tls off
mailout /hiddenSendMail {
publickey "testdata/B06469EE_nopw.pub.asc"
Xmaillog testdata/
errorlog testdata/
to "[email protected]"
subject "PGP Email from {{.Form.Get \"name\" }}"
body "testdata/mail_range.txt"
# username
# password
host 127.0.0.1
port 1025
ratelimit_capacity 10
captcha
}
}