Author:
Hash:
Timestamp:
+1 -0 +/-1 browse
Kevin Schoon [me@kevinschoon.com]
aa9046a41ef96fd62b60a0cca25384f201ddb861
Sun, 04 Aug 2024 11:17:08 +0000 (10 months ago)
1 | diff --git a/maitred/src/session.rs b/maitred/src/session.rs |
2 | index 9bc01da..88b7620 100644 |
3 | --- a/maitred/src/session.rs |
4 | +++ b/maitred/src/session.rs |
5 | @@ -115,6 +115,7 @@ impl Session { |
6 | self.hostname = Some(Host::parse(host).map_err(|e| { |
7 | Response::General(SmtpResponse::new(500, 0, 0, 0, e.to_string())) |
8 | })?); |
9 | + self.initialized = Some(Mode::Extended); |
10 | let mut resp = EhloResponse::new(format!("Hello {}", host)); |
11 | resp.capabilities = opts.capabilities; |
12 | resp.size = opts.maximum_size as usize; |