selfprivacy.org/content/en/docs/Services/email/_index.md

77 lines
2.5 KiB
Markdown
Raw Normal View History

2023-01-11 16:53:46 +00:00
---
title: "E-mail"
date: 2023-01-11T17:10:29+03:00
description: >
2023-05-11 10:59:43 +00:00
Self-hosted e-mail service
2023-01-11 16:53:46 +00:00
---
2023-05-20 20:05:18 +00:00
E-mail is a time-tested protocol that needs no introduction. A personal mail server will provide special privacy for all correspondence and is useful for registering in online services and personal correspondence, especially for [Delta.Chat]({{< ref "delta-chat.md" >}}).
2023-05-17 17:33:53 +00:00
## Authentication
2023-01-11 16:53:46 +00:00
Users from the "users" tab of your app are used.
### Connection configuration
Login must the username with the domain. For example, `user@domain.tld`.
#### SMTP
SMTP Server: `your domain`
SMTP Port: `587`
Authentication: `STARTLS`
2023-01-11 16:53:46 +00:00
Username: `your username @ your domain` (your full email address)
2023-01-11 16:53:46 +00:00
#### IMAP
IMAP Server: `your domain`
IMAP Port: `143`
2023-01-11 16:53:46 +00:00
Authentication: `STARTLS`
2023-01-11 16:53:46 +00:00
Username: `your username @ your domain` (your full email address)
2023-01-11 16:53:46 +00:00
## Recommended E-mail Clients
2023-01-11 16:53:46 +00:00
- [Mozilla Thunderbird](https://www.thunderbird.net) (GNU/Linux, Windows, MacOS)
- [FairEmail](https://f-droid.org/packages/eu.faircode.email/) (Android)
2023-01-11 16:53:46 +00:00
Configuration example for [Mozilla Thunderbird](https://www.thunderbird.net)
2023-08-30 17:17:25 +00:00
{{< imgproc thunderbird Fill "1000x950" />}}
2023-09-01 15:59:26 +00:00
## What do we use as our email server?
On the deployed server, the following components are responsible for sending, receiving, filtering emails:
2023-09-01 15:42:08 +00:00
- Postfix — SMTP server;
- Dovecot 2 — IMAP server;
- Rspamd — SPAM filter;
2023-01-11 16:53:46 +00:00
## Tips
#### Alias for addresses
Use aliases for questionable services or one-time needs.
Messages for `user+alias@domain.com` will go to `user@domain.com`. It can be useful for spam origin analysis if a unique alias is used for each online service when registering.
For example, `bank+user@domain.com`, `cryptoexchenge+user@domain.com`, and so on.
#### Directory Filter
Create directories of filters for different purposes. This will help protect against phishing and clogging your inbox.
The message for `user-dir@domain.com` will create a `dir` directory in the `user@domain.com` mailbox and all mail will arrive in the `dir` directory.
Examples:
- `user-w@domain.com` - for registering with web services
- `user-shops` - for web-stores
- `user-pay` - payment systems
- `user-forum` - forum notifications
2023-05-18 03:01:07 +00:00
## Features
- Email is over 50 years old. In IT, this is a sign of maturity and reliability of the technology.
- Email is the most popular way to get infected with viruses (after hacked software and cracks).
- Beware of phishing (fraudulent emails), it can rob you of your savings and control over your digital life.