2024-10-11 15:59:11 +02:00
|
|
|
# Port on which MERNMail server listens
|
|
|
|
PORT=3000
|
|
|
|
|
2024-10-14 07:25:38 +02:00
|
|
|
# Absolute path to the directory that contains attachments
|
|
|
|
# If not set, the "attachments" directory in the script root will be used
|
|
|
|
ATTACHMENTS_PATH=
|
|
|
|
|
2024-10-14 17:33:34 +02:00
|
|
|
# MongoDB connection string
|
|
|
|
MONGODB_CONNSTRING=
|
|
|
|
|
|
|
|
# 256-bit secret key and 128-bit IV for password encryption
|
|
|
|
# You can generate the secret key using "openssl rand -base64 32" command
|
|
|
|
# You can generate the IV using "openssl rand -base64 16" command
|
|
|
|
ENCRYPTION_SECRETKEY=
|
|
|
|
ENCRYPTION_IV=
|
|
|
|
|
|
|
|
# JWT secret and cookie options
|
|
|
|
# You can generate the JWT secret using "openssl rand -base64 32" command
|
|
|
|
# If users access the webmail from HTTPS, set JWT_SECURECOOKIE to 1
|
|
|
|
JWT_SECRET=
|
|
|
|
JWT_SECURECOOKIE=
|
|
|
|
|
2024-10-11 15:59:11 +02:00
|
|
|
# Email receiving protocol and host parameters
|
|
|
|
# The EMAIL_RECV_PROTOCOL can be "pop3" or "imap"
|
|
|
|
EMAIL_RECV_PROTOCOL=
|
|
|
|
EMAIL_RECV_HOST=
|
|
|
|
EMAIL_RECV_PORT=
|
|
|
|
EMAIL_RECV_TLS=
|
2024-10-31 10:11:20 +01:00
|
|
|
EMAIL_RECV_ALLOWBADCERTIFICATES=
|
2024-11-03 11:59:23 +01:00
|
|
|
EMAIL_RECV_DISCARDDOMAIN=
|
2024-10-11 15:59:11 +02:00
|
|
|
|
|
|
|
# Email sending protocol and host parameters
|
|
|
|
# The EMAIL_RECV_PROTOCOL can be "smtp"
|
|
|
|
# If using STARTTLS, set EMAIL_SEND_TLS to 0
|
|
|
|
EMAIL_SEND_PROTOCOL=
|
|
|
|
EMAIL_SEND_HOST=
|
|
|
|
EMAIL_SEND_PORT=
|
2024-10-31 10:11:20 +01:00
|
|
|
EMAIL_SEND_TLS=
|
2024-11-03 11:59:23 +01:00
|
|
|
EMAIL_SEND_ALLOWBADCERTIFICATES=
|
|
|
|
EMAIL_SEND_DISCARDDOMAIN=
|