misc files added;

This commit is contained in:
Alexander Vdolainen 2026-09-29 01:29:50 +03:00
parent 007c81eebe
commit 0705f1d266
3 changed files with 31 additions and 0 deletions

1
README Normal file
View File

@ -0,0 +1 @@
nil

17
conf/subrelay.sample.conf Normal file
View File

@ -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'

13
templates/subscribe.txt Normal file
View File

@ -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