Common operations on IPv4-to-IPv6-Proxy » History » Version 2
Timothée Floure, 02/20/2020 02:47 PM
Add SMTP entry
1 | 1 | Timothée Floure | h1. Common operations on IPv4-to-IPv6-Proxy |
---|---|---|---|
2 | |||
3 | {{toc}} |
||
4 | |||
5 | *%{color:red}This document only concerns operations by ungleich staff. See [[How to use the IPv4-to-IPv6-Proxy]] page for user documentation.%* |
||
6 | |||
7 | h2. Status |
||
8 | |||
9 | This document is *IN PRODUCTION*. |
||
10 | |||
11 | h2. HTTP / HTTPS proxying. |
||
12 | |||
13 | * It's configured by cdist, type @__ungleich_haproxy@ |
||
14 | * To add a domain, edit manifest/ungleich |
||
15 | ** Find ipv6-proxy.ungleich.ch |
||
16 | ** Verify that the domain has an AAAA entry |
||
17 | ** Add the domain using the "--v4proxy DOMAIN" parameter |
||
18 | ** Commit in git, push |
||
19 | * Run cdist: @cdist config ipv6-proxy.ungleich.ch@ |
||
20 | |||
21 | h3. Troubleshooting |
||
22 | |||
23 | If the customer domain does not exist (anymore), haproxy will refuse to reload. In this case the customer domain has to be removed and the customer to be notified. |
||
24 | 2 | Timothée Floure | |
25 | h2. SMTP proxying (experimental) |
||
26 | |||
27 | * Configured by cdist, type @__ungleich_smtp_proxy@. |
||
28 | * To add an entry, edit @manifest/ungleich@. |
||
29 | ** Find configuration entry for @ipv6-mx.ungleich.ch@. |
||
30 | ** Add @--proxy mail-domain.tld,mail-server.tld@ entry to the @__ungleich_smtp_proxy@ type. |
||
31 | ** Commit, push. |
||
32 | * Deploy with @cdist config -v ipv6-mx.ungleich.ch@. |
||
33 | |||
34 | h3. Troubleshooting |
||
35 | |||
36 | Postfix's logs can be found in @/var/log/messages@ on @ipv6-mx.ungleich.ch@. |