> sudo apt-get update; sudo apt-get install python-dev python-virtualenv git
> git clone https://github.com/bdeweygit/grpc-mailman.git
> cd grpc-mailman
> ./setup.sh
> source ./env/bin/activate
> nohup python3 server.py &
# you need python 3.6+ and virtualenv installed on your machine
> git clone https://github.com/bdeweygit/grpc-mailman.git
> cd grpc-mailman
# edit the MAILMAN_ADDRESS in client.py to connect to the IP address of your server
> ./setup.sh
> source ./env/bin/activate
> ./mailman.sh # will show usage
add register a mailbox
rm remove a mailbox
get get mail
send send mail
ls list mailboxes
> add "mailbox_name"
> rm "mailbox_name" "password"
> get "mailbox_name" "password"
> send "source_mailbox_password" "source_mailbox_name" "destination_mailbox_name" "message"
> ls "query"
To test this project, simply make some mailboxes, send some mail, get some mail, try out the different commands, you get the idea. The mailman comes every two minutes; mail will not be delivered until then.