Complete stack for a personnal mail system including SMTP receiver, sender, webmail, mailing list, ...
MIT License
Byemail is a complete stack for a personal mail system including SMTP receiver, sender, webmail, mailing list and more. Install only one tool to rules them all.
E-mails are still a popular means of communication today. We use email to communicate in company, to send messages to our friends, to keep in touch with family members, etc. Despite the explosion of social networks and new means of communication, the mail system still has a bright future ahead of it.
If we believe in the decentralization of the web, it is difficult to believe that most emails are managed by a handful of private companies that lead the market. Why ?
Because, despite their long existence and the dependence of a large part of the population, mail servers are still difficult to install, configure and maintain mainly because they implement features that are not necessary for most end users and their architecture is no longer adapted to today's uses.
To create a complete mail system, we have to install a SMTP server to receive/send emails then an IMAP or POP3 server to gather the mails and finally a client to read them. Don't forget to configure your DNS and pray that your IP will not be banned for misuse.
To fulfill all ours needs we also need to add modules like:
All this results in a complex system to set up and which requires great skills to administrate, not to mention the many security vulnerabilities that can be created without even noticing it. All the people who tried the adventure were afraid to create an open relay SMTP server so used by spammers or to be marked as spam from major mail systems.
Byemail is fully compatible with the current email system but the objective is to create a simpler and more secure stack first, then add functionality that is currently inaccessible due to the complexity of the architecture and the aging of the technology to meet the expectations of users with new needs.
With Byemail, you install only one tool for your email communication. Some common use cases on the roadmap:
Some technical advantages:
You can install byemail in a virtualenv by doing a:
$ pip install byemail
Create and move to any directory, then execute:
$ byemail init
A new set of file are created in the current directory. Now Customize the settings.py. You should at least add one account using the given example in the file.
Then execute:
$ byemail start
You can now log to http://: to check new mails. Mail can be send to http://:8025.
To configure your DNS correctly, execute:
$ byemail dnsconfig
And copy (and adapt if necessary) the command result to your domain dns config.
As root you can make a tunnel to the 25 port without root permission for the server by doing:
$ socat tcp-listen:25,reuseaddr,fork tcp:<hostname>:8025 > nohupsocket.out &
DISCLAIMER: This is an early functional version. Don't hope using it in production for now but don't be afraid to try it and help us.