Initial commit
This commit is contained in:
66
.env.example
Normal file
66
.env.example
Normal file
@@ -0,0 +1,66 @@
|
||||
# PostfixAdmin environment variables. Copy to .env and set secrets; optional overrides below.
|
||||
# For Portainer: use Stack → ENV (advanced) and paste KEY=VALUE lines, or mount .env.
|
||||
# Required (no default; app will error if missing):
|
||||
PFA_SETUP_PASSWORD=
|
||||
PFA_DATABASE_PASSWORD=
|
||||
PFA_ADMIN_SMTP_PASSWORD=
|
||||
|
||||
# --- Database ---
|
||||
PFA_DATABASE_HOST=mail.mifi.holdings
|
||||
PFA_DATABASE_USER=postfixadmin
|
||||
PFA_DATABASE_NAME=postfix
|
||||
PFA_DATABASE_TYPE=mysqli
|
||||
|
||||
# --- Encryption ---
|
||||
PFA_ENCRYPT=php_crypt:BLOWFISH:13:{BLF-CRYPT}
|
||||
|
||||
# --- Branding and URLs ---
|
||||
PFA_SITE_URL=https://postmaster.mifi.holdings
|
||||
PFA_SITE_NAME=mifi Ventures Email Service
|
||||
PFA_WELCOME_TEXT=Welcome to mifi Ventures Email Service — <a href="https://mail.mifi.holdings/help" target="_blank">help</a>
|
||||
PFA_SHOW_HEADER_TEXT=YES
|
||||
PFA_HEADER_TEXT=mifi Ventures Email Service
|
||||
PFA_FOOTER_TEXT=mifi Ventures Mail
|
||||
PFA_FOOTER_LINK=https://mail.mifi.holdings
|
||||
|
||||
# --- Language ---
|
||||
PFA_DEFAULT_LANGUAGE=en
|
||||
PFA_DEFAULT_CHARSET=UTF-8
|
||||
|
||||
# --- Features (YES/NO) ---
|
||||
PFA_SPECIAL_ALIAS_CONTROL=NO
|
||||
PFA_BACKUP=NO
|
||||
PFA_FETCHMAIL=NO
|
||||
PFA_SENDMAIL=NO
|
||||
PFA_APP_PASSWORDS=YES
|
||||
|
||||
# --- Quotas ---
|
||||
PFA_QUOTA=YES
|
||||
PFA_USED_QUOTAS=YES
|
||||
PFA_MAILBOXES=100
|
||||
PFA_MAXQUOTA=10240
|
||||
PFA_DOMAIN_QUOTA_DEFAULT=102400
|
||||
|
||||
# --- SMTP for admin notifications ---
|
||||
PFA_ADMIN_EMAIL=noreply@mifi.holdings
|
||||
PFA_ADMIN_NAME=mifi Ventures Postmaster
|
||||
PFA_SMTP_SERVER=mail.mifi.holdings
|
||||
PFA_SMTP_PORT=587
|
||||
PFA_SMTP_TYPE=starttls
|
||||
PFA_SMTP_AUTH=true
|
||||
|
||||
# --- Self-service and security (true/false) ---
|
||||
PFA_EDIT_MAILBOX=true
|
||||
PFA_EDIT_ALIAS=true
|
||||
PFA_FORGOTTEN_ADMIN_PASSWORD_RESET=true
|
||||
PFA_FORGOTTEN_USER_PASSWORD_RESET=true
|
||||
PFA_ADMIN_2FA=true
|
||||
|
||||
# --- API ---
|
||||
PFA_API_ENABLED=true
|
||||
PFA_API_ALLOW_FROM=127.0.0.1,::1
|
||||
|
||||
# --- Session (seconds) ---
|
||||
PFA_SESSION_TIMEOUT=1800
|
||||
|
||||
# Note: password_validation and default_aliases are defined in conf/config.local.php (PHP arrays).
|
||||
Reference in New Issue
Block a user