Skip to main content

byemail

Project description

What is it ?

Byemail is a complete stack for a personnal 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 complet 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 module like:

  • an authentification system
  • a spam filter,
  • a webmail,
  • a mailing list manager,
  • ...

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:

  • Access your webmail from everywhere,
  • Receiving and sending mail for a family or small business,
  • Create a mailing list on the fly,
  • Share huge attachment without thinking of it and without flooding the net,
  • Send "burn after reading" email,
  • Cancel mail sent by mistake,
  • Create tempory address on the fly for spam protection,
  • Really secure mail even if the recipient doesn't have configured any gpg key,
  • Auto update your DNS configuration,
  • Spam protect you with captcha,
  • Easy quitting by easily export all your data to import them in another instance,
  • ActivityPub compatibility,
  • and more ...

Some technical advantages:

  • Easy backup: you only have one directory to save,
  • Easy configuration, everything in one python file,
  • Middleware to filter/modify/... incoming and outgoing mails,
  • Secure by design, open relay can't be done at all,
  • Use DKIM, SPF, DMARC to allow better receiveability,
  • ...

Installation

/!\ We are yet in dev mode so some technical steps are necessary /!\

After cloning it, install byemail in a virtualenv:

$ cd <clone_dir>
$ python setup.py install

Now build the client:

$ cd byemail/client
$ nvm use # If you have nvm
$ npm i
$ npm run build

Create and move to any directory, then execute:

$ byemail init

A new set of file are created in the current directory. Customize the settings.py file for your needs 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 poorly functional version. Don't hope using it in production for now but don't be afraid to help me.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

byemail-0.0.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

byemail-0.0.1-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file byemail-0.0.1.tar.gz.

File metadata

  • Download URL: byemail-0.0.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for byemail-0.0.1.tar.gz
Algorithm Hash digest
SHA256 01bd4e9fcca5ab549666368d9f6de1c2c198bde56066e27d46b5d70a8ce671a0
MD5 ad66014352f038b7deffd72c0911e598
BLAKE2b-256 20d341b2be6df16d4be19e4e0eca606bbc4a1d9323d5153ef4d175ca004dd45a

See more details on using hashes here.

File details

Details for the file byemail-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: byemail-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for byemail-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0c49b2dc62a6d4871a8313aec414071ecf54fdd8de9cdc3c9391186bcce543a
MD5 caffe6d40068c01807ac5453cbebc66a
BLAKE2b-256 d29681a198fb503e004410e9515dcc3dc075a10b588536096a7be3fce1df682d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page