2018-10-25 15:51:47 +02:00
|
|
|
[app]
|
|
|
|
# Interface and port where the app will run its webserver.
|
|
|
|
address = "0.0.0.0:9000"
|
|
|
|
|
2018-11-02 19:03:00 +01:00
|
|
|
# Public root URL of the listmonk installation that'll be used
|
|
|
|
# in the messages for linking to images, unsubscribe page etc.
|
2019-01-03 12:18:47 +01:00
|
|
|
root = "https://listmonk.mysite.com"
|
|
|
|
|
|
|
|
# (Optional) full URL to the static logo to be displayed on
|
|
|
|
# user facing view such as the unsubscription page.
|
|
|
|
# eg: https://mysite.com/images/logo.svg
|
2019-12-01 13:10:26 +01:00
|
|
|
logo_url = "https://listmonk.mysite.com/public/static/logo.png"
|
2019-01-03 12:18:47 +01:00
|
|
|
|
|
|
|
# (Optional) full URL to the static favicon to be displayed on
|
|
|
|
# user facing view such as the unsubscription page.
|
|
|
|
# eg: https://mysite.com/images/favicon.png
|
2019-12-01 13:10:26 +01:00
|
|
|
favicon_url = "https://listmonk.mysite.com/public/static/favicon.png"
|
2018-10-25 15:51:47 +02:00
|
|
|
|
|
|
|
# The default 'from' e-mail for outgoing e-mail campaigns.
|
|
|
|
from_email = "listmonk <from@mail.com>"
|
|
|
|
|
2018-11-28 08:59:57 +01:00
|
|
|
# List of e-mail addresses to which admin notifications such as
|
|
|
|
# import updates, campaign completion, failure etc. should be sent.
|
|
|
|
# To disable notifications, set an empty list, eg: notify_emails = []
|
|
|
|
notify_emails = ["admin1@mysite.com", "admin2@mysite.com"]
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
# Maximum concurrent workers that will attempt to send messages
|
2020-04-02 14:52:27 +02:00
|
|
|
# simultaneously. This should ideally depend on the number of CPUs
|
|
|
|
# available, and should be based on the maximum number of messages
|
|
|
|
# a target SMTP server will accept.
|
|
|
|
concurrency = 5
|
|
|
|
|
|
|
|
# Maximum number of messages to be sent out per second per worker.
|
|
|
|
# If concurrency = 10 and message_rate = 10, then up to 10x10=100 messages
|
|
|
|
# may be pushed out every second. This, along with concurrency, should be
|
|
|
|
# tweaked to keep the net messages going out per second under the target
|
|
|
|
# SMTP's rate limits, if any.
|
|
|
|
message_rate = 5
|
2018-10-25 15:51:47 +02:00
|
|
|
|
2018-11-26 12:45:40 +01:00
|
|
|
# The number of errors (eg: SMTP timeouts while e-mailing) a running
|
|
|
|
# campaign should tolerate before it is paused for manual
|
|
|
|
# investigation or intervention. Set to 0 to never pause.
|
2018-11-26 12:46:18 +01:00
|
|
|
max_send_errors = 1000
|
2018-11-26 12:45:40 +01:00
|
|
|
|
2018-11-26 12:10:51 +01:00
|
|
|
|
2019-07-21 15:48:41 +02:00
|
|
|
[privacy]
|
2019-07-21 16:13:43 +02:00
|
|
|
# Allow subscribers to unsubscribe from all mailing lists and mark themselves
|
|
|
|
# as blacklisted?
|
|
|
|
allow_blacklist = false
|
|
|
|
|
2019-07-21 15:48:41 +02:00
|
|
|
# Allow subscribers to export data recorded on them?
|
|
|
|
allow_export = false
|
|
|
|
|
|
|
|
# Items to include in the data export.
|
|
|
|
# profile Subscriber's profile including custom attributes
|
|
|
|
# subscriptions Subscriber's subscription lists (private list names are masked)
|
|
|
|
# campaign_views Campaigns the subscriber has viewed and the view counts
|
|
|
|
# link_clicks Links that the subscriber has clicked and the click counts
|
|
|
|
exportable = ["profile", "subscriptions", "campaign_views", "link_clicks"]
|
|
|
|
|
|
|
|
# Allow subscribers to delete themselves from the database?
|
|
|
|
# This deletes the subscriber and all their subscriptions.
|
|
|
|
# Their association to campaign views and link clicks are also
|
|
|
|
# removed while views and click counts remain (with no subscriber
|
|
|
|
# associated to them) so that stats and analytics aren't affected.
|
|
|
|
allow_wipe = false
|
|
|
|
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
# Database.
|
|
|
|
[db]
|
2019-07-12 10:20:44 +02:00
|
|
|
host = "demo-db"
|
2018-10-25 15:51:47 +02:00
|
|
|
port = 5432
|
|
|
|
user = "listmonk"
|
2019-07-12 10:20:44 +02:00
|
|
|
password = "listmonk"
|
2018-10-25 15:51:47 +02:00
|
|
|
database = "listmonk"
|
2019-05-27 13:46:46 +02:00
|
|
|
ssl_mode = "disable"
|
2018-10-25 15:51:47 +02:00
|
|
|
|
2019-12-05 12:58:22 +01:00
|
|
|
# Maximum active and idle connections to pool.
|
|
|
|
max_open = 50
|
|
|
|
max_idle = 10
|
2018-10-25 15:51:47 +02:00
|
|
|
|
|
|
|
# SMTP servers.
|
|
|
|
[smtp]
|
|
|
|
[smtp.my0]
|
|
|
|
enabled = true
|
|
|
|
host = "my.smtp.server"
|
|
|
|
port = "25"
|
|
|
|
|
2020-04-01 16:26:40 +02:00
|
|
|
# "cram", "plain", or "login". Empty string for no auth.
|
2018-10-25 15:51:47 +02:00
|
|
|
auth_protocol = "cram"
|
|
|
|
username = "xxxxx"
|
|
|
|
password = ""
|
|
|
|
|
2020-04-10 00:27:39 +02:00
|
|
|
# Optional. Inform listmonk on which email format to use
|
|
|
|
# {html|plain|both} default: both
|
|
|
|
email_format = "both"
|
|
|
|
|
2020-02-06 11:09:43 +01:00
|
|
|
# Optional. Some SMTP servers require a FQDN in the hostname.
|
|
|
|
# By default, HELLOs go with "localhost". Set this if a custom
|
|
|
|
# hostname should be used.
|
|
|
|
hello_hostname = ""
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
# Maximum time (milliseconds) to wait per e-mail push.
|
|
|
|
send_timeout = 5000
|
|
|
|
|
|
|
|
# Maximum concurrent connections to the SMTP server.
|
|
|
|
max_conns = 10
|
|
|
|
|
|
|
|
[smtp.postal]
|
|
|
|
enabled = false
|
|
|
|
host = "my.smtp.server2"
|
|
|
|
port = "25"
|
|
|
|
|
|
|
|
# cram or plain.
|
|
|
|
auth_protocol = "plain"
|
|
|
|
username = "xxxxx"
|
|
|
|
password = ""
|
|
|
|
|
2020-04-10 00:27:39 +02:00
|
|
|
# Optional. Inform listmonk on which email format to use
|
|
|
|
# {html|plain|both} default: both
|
|
|
|
email_format = "both"
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
# Maximum time (milliseconds) to wait per e-mail push.
|
|
|
|
send_timeout = 5000
|
|
|
|
|
|
|
|
# Maximum concurrent connections to the SMTP server.
|
|
|
|
max_conns = 10
|
2019-10-15 14:21:32 +02:00
|
|
|
|
2020-04-01 16:29:41 +02:00
|
|
|
|
2019-10-15 14:21:32 +02:00
|
|
|
[upload]
|
2020-04-01 16:29:41 +02:00
|
|
|
# File storage backend. "filesystem" or "s3".
|
2019-10-15 14:21:32 +02:00
|
|
|
provider = "filesystem"
|
|
|
|
|
2020-04-01 16:29:41 +02:00
|
|
|
[upload.s3]
|
|
|
|
# (Optional). AWS Access Key and Secret Key for the user to access the bucket.
|
|
|
|
# Leaving it empty would default to use instance IAM role.
|
|
|
|
aws_access_key_id = ""
|
|
|
|
aws_secret_access_key = ""
|
|
|
|
|
|
|
|
# AWS Region where S3 bucket is hosted.
|
|
|
|
aws_default_region="ap-south-1"
|
|
|
|
|
|
|
|
# Bucket name.
|
|
|
|
bucket=""
|
|
|
|
|
|
|
|
# Path where the files will be stored inside bucket. Empty for root.
|
|
|
|
bucket_path=""
|
|
|
|
|
|
|
|
# "private" or "public".
|
|
|
|
bucket_type="public"
|
|
|
|
|
|
|
|
# (Optional) Specify TTL (in seconds) for the generated presigned URL.
|
|
|
|
# Expiry value is used only if the bucket is private.
|
|
|
|
expiry="86400"
|
|
|
|
|
|
|
|
[upload.filesystem]
|
|
|
|
# Path to the uploads directory where media will be uploaded.
|
|
|
|
upload_path="./uploads"
|
|
|
|
|
|
|
|
# Upload URI that's visible to the outside world.
|
|
|
|
# The media uploaded to upload_path will be made available publicly
|
|
|
|
# under this URI, for instance, list.yoursite.com/uploads.
|
|
|
|
upload_uri = "/uploads"
|