-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.postalion.yml
65 lines (65 loc) · 1.5 KB
/
example.postalion.yml
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
---
mailAccounts:
test-account:
host: mail.example.com
port: 587
username: [email protected]
password: p@ssword
encryption: starttls
forms:
test-form:
type: mail
honeypot: honeypot
redirect: https://example.com/pages/contact-redirect
mailConfig:
account: test-account
from: "Postalion <[email protected]>"
to: "Contact <[email protected]>"
replyTo:
format: "%s <%s>"
fields:
- name
- email
subjectField: subject
template: default
fields:
- name: name
label: Name
type: string
- name: email
label: Email
type: string
- name: subject
label: Subject
type: string
- name: file
label: File
type: file
carddav-test:
type: carddav
cardDavConfig:
davEndpoint: https://mail.example.com
contactPath:
format: "/SOGo/dav/[email protected]/Contacts/private/%s-%s.vcf"
fields:
- familyname
- givenname
username: [email protected]
password: p@ssword
fields:
"N":
format: "%s;%s"
fields:
- familyname
- givenname
"EMAIL":
format: "%s"
fields:
- email
"NOTE":
format: "Submitted on %s"
fields:
- date
redirect: https://example.com/pages/carddav-redirect
port: 8080
templateDir: /app/data/templates