aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-31 17:07:34 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-31 17:07:34 +0200
commit553a15a82a700792986b23cb89e2a8ec070cc27d (patch)
tree8ea039322b39064fa8c66d9647f84b79f64f1921 /src/config.rs
parent01d82c14ca61e7c4de1e72c5f94456610464c064 (diff)
downloadaerogramme-553a15a82a700792986b23cb89e2a8ec070cc27d.tar.gz
aerogramme-553a15a82a700792986b23cb89e2a8ec070cc27d.zip
Implementn basic LMTP server
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 3fd0bd4..9ec0ea1 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -68,6 +68,7 @@ pub struct LoginLdapConfig {
#[derive(Deserialize, Debug, Clone)]
pub struct LmtpConfig {
pub bind_addr: SocketAddr,
+ pub hostname: String,
}
pub fn read_config(config_file: PathBuf) -> Result<Config> {