Commit
+1 -0 +/-1 browse
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; |