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