aboutsummaryrefslogtreecommitdiff
path: root/src/server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server.rs b/src/server.rs
index fbeecc9..ba89111 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -130,13 +130,12 @@ impl Server {
}
pub async fn run(self: Self) -> Result<()> {
+ tracing::info!("Starting server on {:#}", self.incoming.local_addr);
let server = ImapServer::new(self.incoming).serve(Instance::new(self.mailstore.clone()));
let _ = server.await?;
/*let creds = self.login_provider.login("quentin", "poupou").await?;
-
let mut mailbox = Mailbox::new(&creds, "TestMailbox".to_string()).await?;
-
mailbox.test().await?;*/
Ok(())