A Basic IMAP Server written in Rust (WIP)
Join the discussion at #IMAPServer-rs:matrix.ffslfl.net !
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
- You need to install cargo. Use rustup to install it
- You need the sqlite3 dev packages for your system
A step by step series of examples that tell you have to get the IMAP server running
Install using cargo:
cargo install IMAPServer
Clone the repository:
git clone https://github.com/Nordgedanken/IMAPServer-rs.git
Build the binary
cd IMAPServer-rs cargo build
Open the needed Ports
To add a new user to your database install the cli:
cargo install IMAPServer-cli
cd cli cargo build
Running the cli:
mailbox-cli add --username=<email_address> --password=<password>
All passwords are saved using the argon2 hashing algorithm.
Running the tests
After cloning this repository Cargo has a simple test command. You can simply use
cargo test --release
- Rust - The framework used
- MTRNord - Initial work - MTRNord
See also the list of contributors who participated in this project.
This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details