Project

General

Profile

ContactAddress » History » Version 8

Denis 'GNUtoo' Carikli, 04/12/2020 04:49 PM

1 1 Denis 'GNUtoo' Carikli
h1. ContactAddress
2
3 2 Denis 'GNUtoo' Carikli
h2. Description
4
5 1 Denis 'GNUtoo' Carikli
For the DNS part, see [[DNS]].
6 2 Denis 'GNUtoo' Carikli
7 8 Denis 'GNUtoo' Carikli
For now this uses OpenSMTPD just because the person implementing that system initially (GNUtoo) already used OpenSMTPD at home, so it was faster as the configurations could be partially reused and the setup compared.
8 2 Denis 'GNUtoo' Carikli
9 6 Denis 'GNUtoo' Carikli
h2. Design
10 1 Denis 'GNUtoo' Carikli
11 6 Denis 'GNUtoo' Carikli
This system was designed to be as simple as possible:
12 7 Denis 'GNUtoo' Carikli
It was designed in a way that enables it to receive mail but it does not to need to send any mail:
13
* There is no need of reverse DNS for the IP address
14
* We don't have to have DKIM
15
* It's easier to get the setup right and secure
16
17
If we want to send mail we would need to implement all that.
18
19
We could also whitelist the servers used by the people receiving this mail through this system, through SPF, if we want people to send mail to the same address they received it from (which is probably not very important).
20
21
The DNS zones are configured to set the MX to the Replicant vm at the FSF.
22 6 Denis 'GNUtoo' Carikli
23
h2. Maintenance
24
25 2 Denis 'GNUtoo' Carikli
h3. Add new people
26
27
* Create an account for the new person: @useradd -m <lowercase_username>@
28
* Add the lower_case_username to /etc/smtpd/aliases
29 4 Denis 'GNUtoo' Carikli
* run @smtpctl update table aliases@
30 5 Denis 'GNUtoo' Carikli
31
Notes:
32
* The Maildir directory is created automatically when receiving the first mail
33
* There is no need to setup a password for the account
34 1 Denis 'GNUtoo' Carikli
* I didn't look how much we can lock down the accounts and still make openstmtpd work.
35 6 Denis 'GNUtoo' Carikli
36
h3. Switching to more recent OpenSMTPD
37
38
The configuration format changed in newer OpenSMTPD.
39
40
We will probably have to migrate the configuration when switching to to Trisquel 9.
41
42
TODO: Document the format change.