initial commit

This commit is contained in:
2026-03-23 02:53:33 +08:00
commit abd415fff0
5 changed files with 242 additions and 0 deletions

54
.env.sample Normal file
View File

@@ -0,0 +1,54 @@
# ==========================================
# Poste.io Mail Server Configuration
# ==========================================
# Your mail server's Fully Qualified Domain Name (FQDN)
MAIL_HOSTNAME=mail.amiirkhl.ir
# Server Timezone
TZ=Asia/Tehran
# ==========================================
# Performance & Feature Toggles
# ==========================================
# Disable ClamAV Antivirus to save RAM.
# TRUE saves ~$1 \text{ GB}$ of RAM. FALSE provides better security.
DISABLE_CLAMAV=TRUE
# Disable Rspamd (Anti-spam filter).
# Highly recommended to keep FALSE unless testing.
DISABLE_RSPAMD=FALSE
# Disable the built-in Roundcube Webmail interface.
# TRUE disables it, FALSE enables it.
DISABLE_ROUNDCUBE=FALSE
# ==========================================
# SSL / HTTPS Configuration
# ==========================================
# Controls Let's Encrypt and HTTP->HTTPS redirection.
# Since you are using custom SSL certificates manually, set this to OFF
# so Poste.io doesn't try to fetch its own certificates from Let's Encrypt.
HTTPS=OFF
# Absolute paths to your custom SSL certificates on the host machine
# Docker will mount these directly into the container.
SSL_CERT_PATH=/path/to/your/fullchain.pem
SSL_KEY_PATH=/path/to/your/privatekey.pem
# ==========================================
# Backup Configuration
# ==========================================
# Enable automated backups (TRUE/FALSE)
ENABLE_BACKUPS=TRUE
# Backup interval in cron format (e.g., "0 2 * * *" for daily at 2 AM)
BACKUP_CRON="0 2 * * *"
# Number of days to keep old backups
BACKUP_RETENTION_DAYS=7