diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-23 21:09:57 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-23 21:09:57 +0100 |
commit | 9a265a09e24f6bebf6a6e327da5dd9dfd4dfa866 (patch) | |
tree | 549e222a663a4cb4bf04b2d780b95573b9283d34 /src/server.rs | |
parent | f67f04129afaacc4cdeb69aa79e5c102ec7331bd (diff) | |
download | aerogramme-9a265a09e24f6bebf6a6e327da5dd9dfd4dfa866.tar.gz aerogramme-9a265a09e24f6bebf6a6e327da5dd9dfd4dfa866.zip |
WIP Dovecot Authentication Protocol Server
Diffstat (limited to 'src/server.rs')
-rw-r--r-- | src/server.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server.rs b/src/server.rs index 0df1caf..6210059 100644 --- a/src/server.rs +++ b/src/server.rs @@ -9,6 +9,7 @@ use tokio::sync::watch; use crate::config::*; use crate::imap; +use crate::auth; use crate::lmtp::*; use crate::login::ArcLoginProvider; use crate::login::{demo_provider::*, ldap_provider::*, static_provider::*}; @@ -17,6 +18,7 @@ pub struct Server { lmtp_server: Option<Arc<LmtpServer>>, imap_unsecure_server: Option<imap::Server>, imap_server: Option<imap::Server>, + auth_server: Option<auth::AuthServer>, pid_file: Option<PathBuf>, } @@ -31,6 +33,7 @@ impl Server { lmtp_server, imap_unsecure_server, imap_server: None, + auth_server: None, pid_file: config.pid, }) } @@ -51,6 +54,7 @@ impl Server { lmtp_server, imap_unsecure_server, imap_server, + auth_server: None, pid_file: config.pid, }) } |