Please star this repo if you find it useful, thank you!
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.
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.
- make sure that nodejs & npm is installed
- run
npm install
- run
cd front
- run
npm install
- run
npm run build
- run
cd ..
- 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
- git clone / download this repo
- open terminal inside NortixMail folder
- 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
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
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.
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.