Project

General

Profile

The ungleich mail infrastructure » History » Version 13

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