Skip to content

Novus Mail - disposable email server with an easy setup

License

Notifications You must be signed in to change notification settings

Th0rum/NovusMail

Repository files navigation

Novus Mail

Please star this repo if you find it useful, thank you! image

Purpose 🎯

Whenever you sign up with your email on a website, your email address is stored and sometimes sold to advertisers. This is where you get your bulk of spam emails. Whenever a data breach happens, you also risk having your primary email address leaked and informations stolen.

Using Nortix Mail, you can create disposable email addresses that can be used to sign up to website that requires email verification. This is very useful when you just want to try out new website / services without giving away your real email address. It significantly enhances privacy, security and reduces spam. It's like running your own Gmail server.

Why it's better than other similar services ⚡

Email servers are notoriously difficult to set up, Nortix Mail aims to make it as simple as possible by making TLS optional and it can automatically detect your domain if you choose to use TLS. If you change your domain, it can automatically detect it and requires no additional configuration. If you want to move the data to another server, just copy the data folder.

Run without docker 🖥️

  1. make sure that nodejs & npm is installed
  2. run npm install
  3. run cd front
  4. run npm install
  5. run npm run build
  6. run cd ..
  7. run node main.js

or use the combined command: npm install && cd front && npm install && npm run build && cd .. && node main.js
The http server will be listening on port 80. Make sure that your port 25 is accessible to receive mails

Run with docker 🐋

  1. git clone / download this repo
  2. open terminal inside NortixMail folder
  3. run docker compose up -d

In the docker-compose.yaml file, port 25:25 is mapped by default. It is recommended to not change this setting if you are using a reverse proxy as some of them cannot forward smtp packets

Adding TLS / Encryption (optional) 🔒

copy your certificate and private key files into the data folder (usually, the file extensions are .crt and .key). The file name and extension don't actually matter as Nortix Mail can automatically detect which one is which

Is it safe if I don't use TLS? 🔍

The current mail transfer protocol is very old and by default it doesn't require TLS to function. This means that when another server sends an email to your server, anyone in between can theoretically read the mail if they actively try to intercept. However, this is unlikely to happen as the people who have this capability are mostly ISPs and hosting providers. For better security, setting up TLS is still recommended.

Contributing 🤝

This repository currently doesn't accept any pull request. However, you can open an issue if you want to request a feature, report bugs or ask me a question.