aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index a7462bc..3e3674c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -167,13 +167,14 @@ async fn main() -> Result<()> {
use std::net::*;
AnyConfig::Provider(ProviderConfig {
pid: None,
- imap: ImapConfig {
+ imap: None,
+ imap_unsecure: Some(ImapUnsecureConfig {
bind_addr: SocketAddr::new(IpAddr::V6(Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 1)), 1143),
- },
- lmtp: LmtpConfig {
+ }),
+ lmtp: Some(LmtpConfig {
bind_addr: SocketAddr::new(IpAddr::V6(Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 1)), 1025),
hostname: "example.tld".to_string(),
- },
+ }),
users: UserManagement::Demo,
})
} else {