-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yml
More file actions
122 lines (96 loc) · 3.27 KB
/
Copy pathconfig.example.yml
File metadata and controls
122 lines (96 loc) · 3.27 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
public-addr: ":8081"
private-addr: ":9000"
base-url: "https://yoursite.com" # used to build confirmation links in emails
smtp:
host: "smtp.example.com"
port: 587
username: "you@example.com"
password: "secret"
sender-email: "newsletter@example.com"
tls-policy: "TLSOpportunistic" # TLSMandatory | TLSOpportunistic | NoTLS
db:
type: "sqlite" # sqlite or postgres
dsn: "5000mails.db" # file path for sqlite; connection string for postgres
auth:
public-key-path: "" # path to Ed25519 public key; leave empty to disable auth for the management api
# generate a key pair with `5kmcli keys generate --out-dir ~/.config/5kmcli`
paths:
template: "./static/template.html" # HTML wrapper rendered around markdown content
confirm-mail: "./static/confirm.md" # markdown template for the double opt-in email
strings:
subscribe-success: |
---
subject: "Subscription received"
---
# Check your inbox
Thanks for signing up to **{{.listName}}**!
We've sent you a confirmation email — click the link inside to complete your subscription.
subscribe-error-invalid-input: |
---
subject: "Invalid subscription request"
---
# Something's missing
Please make sure you fill in both your **name** and **email address** before submitting.
subscribe-error-already-subscribed: |
---
subject: "Already subscribed"
---
# You're already subscribed
**{{.email}}** is already confirmed on **{{.listName}}**.
No action needed — you're all set!
subscribe-error: |
---
subject: "Subscription failed"
---
# Something went wrong
We couldn't process your subscription to **{{.listName}}** right now.
Please try again in a few minutes.
confirm-success: |
---
subject: "Subscription confirmed"
---
# You're confirmed!
Your subscription has been confirmed. Welcome aboard!
You'll start receiving emails as soon as the next issue is sent.
confirm-error-invalid-token: |
---
subject: "Confirmation link invalid"
---
# Link expired or invalid
This confirmation link is no longer valid. It may have already been used or has expired.
Try subscribing again to receive a fresh confirmation email.
unsubscribe-success: |
---
subject: "Unsubscribed"
---
# You've been unsubscribed
You have been successfully removed from the mailing list.
We're sorry to see you go!
unsubscribe-error-invalid-token: |
---
subject: "Unsubscribe link invalid"
---
# Link expired or invalid
This unsubscribe link is no longer valid.
If you'd like to unsubscribe, please use the link in one of your recent emails.
newsletter-not-found: |
---
subject: "Issue not found"
---
# Issue not found
This newsletter issue could not be found.
It may have been removed or the link may be incorrect.
preferences-error-invalid-token: |
---
subject: "Preferences link invalid"
---
# Link expired or invalid
This preferences link is no longer valid.
Please use the link in one of your recent emails to manage your subscription.
preferences-error: |
---
subject: "Preferences unavailable"
---
# Something went wrong
We couldn't load your preferences right now.
Please try again in a few minutes.