From 0705f1d266e4a5bc73012177dc74b5f8040db794 Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Tue, 29 Sep 2026 01:29:50 +0300 Subject: [PATCH] misc files added; --- README | 1 + conf/subrelay.sample.conf | 17 +++++++++++++++++ templates/subscribe.txt | 13 +++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 README create mode 100644 conf/subrelay.sample.conf create mode 100644 templates/subscribe.txt diff --git a/README b/README new file mode 100644 index 0000000..90b5a84 --- /dev/null +++ b/README @@ -0,0 +1 @@ +nil \ No newline at end of file diff --git a/conf/subrelay.sample.conf b/conf/subrelay.sample.conf new file mode 100644 index 0000000..f6b61c8 --- /dev/null +++ b/conf/subrelay.sample.conf @@ -0,0 +1,17 @@ +# Subrelay Daemon Configuration +MAILLIST_ADDR: 'subrelay@domain.tld' +MAILLIST_NAME: 'Civilisation Discussion List' + +# Network Credentials +IMAP_HOST: 'imap.domain.tld' +IMAP_PORT: '993' +SMTP_HOST: 'smtp.domain.tld' +SMTP_PORT: '587' +ACCOUNT_PASS: 'super_secret_password' + +# Storage & Runtime Paths +SOCKET_PATH: '/var/run/subrelay/subrelayd.sock' +SUBSCRIBERS_FILE: '/etc/subrelay/subscribers.txt' +TEMPLATE_PATH: '/etc/subrelay/templates' +RUN_USER: 'subrelay' +RUN_GROUP: 'subrelay' diff --git a/templates/subscribe.txt b/templates/subscribe.txt new file mode 100644 index 0000000..7630471 --- /dev/null +++ b/templates/subscribe.txt @@ -0,0 +1,13 @@ +Subject: Confirm your subscription to $MAILLIST_NAME + +Hello, + +Someone (hopefully you) requested to join $MAILLIST_NAME ($MAILLIST_ADDR). + +To complete your subscription, simply reply to this email or send a blank message to: + $CONFIRM_ADDR + +If you did not request this, you can safely ignore this email. + +-- +$MAILLIST_NAME Administrator