Log on server startup
This commit is contained in:
parent
9c14e9cd9e
commit
8f3a34da33
1 changed files with 1 additions and 2 deletions
|
@ -130,13 +130,12 @@ impl Server {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn run(self: Self) -> Result<()> {
|
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 = ImapServer::new(self.incoming).serve(Instance::new(self.mailstore.clone()));
|
||||||
let _ = server.await?;
|
let _ = server.await?;
|
||||||
|
|
||||||
/*let creds = self.login_provider.login("quentin", "poupou").await?;
|
/*let creds = self.login_provider.login("quentin", "poupou").await?;
|
||||||
|
|
||||||
let mut mailbox = Mailbox::new(&creds, "TestMailbox".to_string()).await?;
|
let mut mailbox = Mailbox::new(&creds, "TestMailbox".to_string()).await?;
|
||||||
|
|
||||||
mailbox.test().await?;*/
|
mailbox.test().await?;*/
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue