Server-side config
Refer to Sending and receiving email from a custom domain for instructions on how to acquire the credentials for the [smtp]
section.
isso.cfg
See the official documentation for a full list of options. Here are mine:
- I enable moderation, so when you add a comment to the Guestbook, it sends me an email asking me to approve or deny the request
[general]
dbpath = /db/comments.db
host = https://garden.bencuan.me
notify = smtp
[server]
listen = http://localhost:8080
public-endpoint = https://comments.bencuan.me
[moderation]
enabled = true
approve-if-email-previously-approved = false
purge-after = 60d
[smtp]
username = comments@bencuan.me
password = <KEY GOES HERE>
host = smtp.mailgun.org
port = 587
security = starttls
to = comments@bencuan.me
from = "bencuan" <comments@bencuan.me>
timeout = 10
[guard]
enabled = true
ratelimit = 2
direct-reply = 3
reply-to-self = false
require-author = true
require-email = false