X-Git-Url: https://git.r.bdr.sh/rbdr/olden-mail/blobdiff_plain/494920f168bccf5e4dd0b38d9d19c0f5e25c127c..refs/heads/main:/src/configuration.rs?ds=inline diff --git a/src/configuration.rs b/src/configuration.rs index bd0a17f..1c8741d 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -40,15 +40,15 @@ impl Configuration { imap_configuration: Arc::new(Proxy { local_port: get_env_number("LOCAL_IMAP_PORT", 143)?, bind_address: get_env_var("LOCAL_IMAP_BIND_ADDRESS", Some("0.0.0.0".to_string()))?, - remote_host: get_env_var("REMOTE_IMAP_DOMAIN", None)?, + remote_host: get_env_var("REMOTE_IMAP_HOST", None)?, remote_port: get_env_number("REMOTE_IMAP_PORT", 993)?, protocol: "IMAP", }), smtp_configuration: Arc::new(Proxy { local_port: get_env_number("LOCAL_SMTP_PORT", 25)?, bind_address: get_env_var("LOCAL_SMTP_BIND_ADDRESS", Some("0.0.0.0".to_string()))?, - remote_host: get_env_var("REMOTE_SMTP_DOMAIN", None)?, - remote_port: get_env_number("REMOTE_SMTP_PORT", 993)?, + remote_host: get_env_var("REMOTE_SMTP_HOST", None)?, + remote_port: get_env_number("REMOTE_SMTP_PORT", 465)?, protocol: "SMTP", }), })