aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-23 21:09:57 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-23 21:09:57 +0100
commit9a265a09e24f6bebf6a6e327da5dd9dfd4dfa866 (patch)
tree549e222a663a4cb4bf04b2d780b95573b9283d34 /src/main.rs
parentf67f04129afaacc4cdeb69aa79e5c102ec7331bd (diff)
downloadaerogramme-9a265a09e24f6bebf6a6e327da5dd9dfd4dfa866.tar.gz
aerogramme-9a265a09e24f6bebf6a6e327da5dd9dfd4dfa866.zip
WIP Dovecot Authentication Protocol Server
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 3e3674c..34d5a11 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,5 +1,6 @@
#![feature(async_fn_in_trait)]
+mod auth;
mod bayou;
mod config;
mod cryptoblob;
@@ -175,6 +176,9 @@ async fn main() -> Result<()> {
bind_addr: SocketAddr::new(IpAddr::V6(Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 1)), 1025),
hostname: "example.tld".to_string(),
}),
+ auth: Some(AuthConfig {
+ bind_addr: SocketAddr::new(IpAddr::V6(Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 1)), 12345),
+ }),
users: UserManagement::Demo,
})
} else {