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_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()))?,