ContactAddress » History » Version 6
Denis 'GNUtoo' Carikli, 04/12/2020 04:41 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 | For now this uses OpenSMTPD. |
||
| 8 | |||
| 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 | * It was designed in a way that enables it 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 | ** We can probably whitelist individual servers through SPF for sending mail |
||
| 17 | |||
| 18 | h2. Maintenance |
||
| 19 | |||
| 20 | 2 | Denis 'GNUtoo' Carikli | h3. Add new people |
| 21 | |||
| 22 | * Create an account for the new person: @useradd -m <lowercase_username>@ |
||
| 23 | * Add the lower_case_username to /etc/smtpd/aliases |
||
| 24 | 4 | Denis 'GNUtoo' Carikli | * run @smtpctl update table aliases@ |
| 25 | 5 | Denis 'GNUtoo' Carikli | |
| 26 | Notes: |
||
| 27 | * The Maildir directory is created automatically when receiving the first mail |
||
| 28 | * There is no need to setup a password for the account |
||
| 29 | 1 | Denis 'GNUtoo' Carikli | * I didn't look how much we can lock down the accounts and still make openstmtpd work. |
| 30 | 6 | Denis 'GNUtoo' Carikli | |
| 31 | h3. Switching to more recent OpenSMTPD |
||
| 32 | |||
| 33 | The configuration format changed in newer OpenSMTPD. |
||
| 34 | |||
| 35 | We will probably have to migrate the configuration when switching to to Trisquel 9. |
||
| 36 | |||
| 37 | TODO: Document the format change. |