read settings from provider-db-globals, not from -config-defaults

This commit is contained in:
B. Petersen
2020-10-30 11:48:51 +01:00
parent 8232a148aa
commit bf83f6d4ad
7 changed files with 69 additions and 9 deletions

View File

@@ -205,6 +205,11 @@ pub const WORSE_IMAGE_SIZE: u32 = 640;
// this value can be increased if the folder configuration is changed and must be redone on next program start
pub const DC_FOLDERS_CONFIGURED_VERSION: i32 = 3;
// if more recipients are needed in SMTP's `RCPT TO:` header, recipient-list is splitted to chunks.
// this does not affect MIME'e `To:` header.
// can be overwritten by the setting `max_smtp_rcpt_to` in provider-db.
pub const DEFAULT_MAX_SMTP_RCPT_TO: usize = 50;
#[derive(
Debug,
Display,