Project

General

Profile

The ungleich mail infrastructure » History » Version 12

Nico Schottelius, 02/01/2019 12:40 PM

1 1 Nico Schottelius
h1. The ungleich mail infrastructure
2
3 12 Nico Schottelius
{{toc}}
4 9 Dominique Roux
5 1 Nico Schottelius
h2. Status
6
7 3 Nico Schottelius
This document is *IN PROGRESS*.
8 1 Nico Schottelius
9 4 Nico Schottelius
h2. Mail overview
10
11 5 Nico Schottelius
* "Webmail":https://webmail.ungleich.ch/
12 4 Nico Schottelius
13 2 Nico Schottelius
h2. The primary mx configuration
14 1 Nico Schottelius
15 11 Dominique Roux
* Is found in the cdist type __ungleich_mx_primary (in our ungleich internally used dot-cdist)
16 4 Nico Schottelius
17
h2. How to add a new user
18 1 Nico Schottelius
19 9 Dominique Roux
* Have the user run doveadm to create a hash (@doveadm pw -s sha512-crypt@)
20 4 Nico Schottelius
* Have the user submit the hash to an admin
21
* Modify type/__ungleich_mx_primary/files/dovecot/vpasswd to include the mail account
22
** Username should be firstname.lastname@ungleich.ch for staff
23
** Commit & push
24 10 Dominique Roux
* Run cdist config mx.place5.ungleich.ch
25 1 Nico Schottelius
26 9 Dominique Roux
h2. How to add a new domains
27
28
* Edit type/__ungleich_mx_primary/files/postfix/vdomain
29
** Add the new domain
30
* Commit & push
31 10 Dominique Roux
* Run cdist config mx.place5.ungleich.ch
32 9 Dominique Roux
33 4 Nico Schottelius
h2. How to add a new mail alias
34
35 1 Nico Schottelius
* Edit type/__ungleich_mx_primary/files/postfix/valiases
36
** Add alias mail (First one is the alias => Will send incoming mail to the following email addresses)
37
* Commit & push
38 10 Dominique Roux
* Run cdist config mx.place5.ungleich.ch
39
40
h2. How to update the mail server
41
42
Since all the configuration is located in cdist a simple @cdist config mx.place5.ungleich.ch@ does the trick.
43 4 Nico Schottelius
44
45 7 Yury Komarov
h2. Sieve filters
46 6 Yury Komarov
47
Can be configured via:
48 8 Yury Komarov
* "Webmail":https://webmail.ungleich.ch/ - go to Settings - Filters
49
or
50 6 Yury Komarov
* Thunderbird "sieve plugin":https://addons.thunderbird.net/thunderbird/addon/sieve/
51 4 Nico Schottelius
52 2 Nico Schottelius
53 1 Nico Schottelius
h2. The backup mx configuration
54
55
<to be filled in by Jin-Guk>