rainbox.email/config/default.json5

76 lines
1.3 KiB
Plaintext

{
app: {
name: 'Rainbox Email',
contact_email: 'contact@rainbox.email',
webmail_url: 'https://rc.rainbox.email',
},
log_level: "DEV",
db_log_level: "ERROR",
public_url: "http://localhost:4899",
public_websocket_url: "ws://localhost:4899",
port: 4899,
mysql: {
connectionLimit: 10,
host: "localhost",
user: "root",
password: "",
database: "rainbox_email",
create_database_automatically: false,
},
redis: {
host: "127.0.0.1",
port: 6379,
prefix: 'rainbox.email',
},
session: {
cookie: {
secure: false,
},
},
mail: {
host: "127.0.0.1",
port: "1025",
secure: false,
username: "",
password: "",
allow_invalid_tls: true,
from: 'contact@rainbox.email',
from_name: 'Rainbox Email',
// Unlimited
max_public_identities_per_user: -1,
},
view: {
cache: false,
},
auth: {
approval_mode: false,
// 30 days
name_change_wait_period: 2592000000,
},
magic_link: {
validity_period: 20,
},
mail_autoconfig: {
main_domain: 'localhost',
display_name: 'Rainbox Email',
display_name_short: 'Rainbox',
username: '%EMAILADDRESS%',
auth_method: 'password-cleartext',
imap: {
server: 'localhost',
port: '143',
method: 'STARTTLS',
},
pop3: {
server: 'localhost',
port: '110',
method: 'STARTTLS',
},
smtp: {
server: 'localhost',
port: '587',
method: 'STARTTLS',
},
},
}