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/config.rs | |
parent | f67f04129afaacc4cdeb69aa79e5c102ec7331bd (diff) | |
download | aerogramme-9a265a09e24f6bebf6a6e327da5dd9dfd4dfa866.tar.gz aerogramme-9a265a09e24f6bebf6a6e327da5dd9dfd4dfa866.zip |
WIP Dovecot Authentication Protocol Server
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 0269773..faaa1ba 100644 --- a/src/config.rs +++ b/src/config.rs @@ -21,6 +21,7 @@ pub struct ProviderConfig { pub imap: Option<ImapConfig>, pub imap_unsecure: Option<ImapUnsecureConfig>, pub lmtp: Option<LmtpConfig>, + pub auth: Option<AuthConfig>, pub users: UserManagement, } @@ -33,6 +34,11 @@ pub enum UserManagement { } #[derive(Serialize, Deserialize, Debug, Clone)] +pub struct AuthConfig { + pub bind_addr: SocketAddr, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] pub struct LmtpConfig { pub bind_addr: SocketAddr, pub hostname: String, |