aboutsummaryrefslogtreecommitdiff
path: root/src/lmtp.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-12 15:31:29 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-12 15:31:29 +0200
commit5d6e4f73322b26038e76e6f915c6c79c5f03566e (patch)
treefe052de771cb5fb6f28cbcba03c2c63993063c70 /src/lmtp.rs
parent7b888ed8cfecc30468c4a33e1f0a3e4bbced5df4 (diff)
downloadaerogramme-5d6e4f73322b26038e76e6f915c6c79c5f03566e.tar.gz
aerogramme-5d6e4f73322b26038e76e6f915c6c79c5f03566e.zip
cleanup
Diffstat (limited to 'src/lmtp.rs')
-rw-r--r--src/lmtp.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lmtp.rs b/src/lmtp.rs
index 05bb68c..28194e3 100644
--- a/src/lmtp.rs
+++ b/src/lmtp.rs
@@ -1,4 +1,3 @@
-use std::collections::HashMap;
use std::net::SocketAddr;
use std::{pin::Pin, sync::Arc};
@@ -8,7 +7,6 @@ use duplexify::Duplex;
use futures::{io, AsyncRead, AsyncReadExt, AsyncWrite};
use futures::{stream, stream::FuturesUnordered, StreamExt};
use log::*;
-use rusoto_s3::{PutObjectRequest, S3};
use tokio::net::TcpListener;
use tokio::select;
use tokio::sync::watch;
@@ -18,10 +16,8 @@ use smtp_message::{Email, EscapedDataReader, Reply, ReplyCode};
use smtp_server::{reply, Config, ConnectionMetadata, Decision, MailMetadata};
use crate::config::*;
-use crate::cryptoblob::*;
use crate::login::*;
use crate::mail::incoming::EncryptedMessage;
-use crate::mail::unique_ident::*;
pub struct LmtpServer {
bind_addr: SocketAddr,