|
@@ -1,29 +1,31 @@
|
1
|
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
2
|
<clientConfig version="1.1">
|
3
|
|
- <emailProvider id="{{ domain }}">
|
4
|
|
- <domain>{{ domain }}</domain>
|
5
|
|
- <displayName>{{ domain }}</displayName>
|
6
|
|
- <displayShortName>{{ domain }}</displayShortName>
|
|
3
|
+{% for vd in virtual_domains %}
|
|
4
|
+ <emailProvider id="{{ vd.name }}">
|
|
5
|
+ <domain>{{ vd.name }}</domain>
|
|
6
|
+ <displayName>{{ vd.name }}</displayName>
|
|
7
|
+ <displayShortName>{{ vd.name }}</displayShortName>
|
7
|
8
|
<incomingServer type="imap">
|
8
|
|
- <hostname>{{ mail_server_hostname }}</hostname>
|
|
9
|
+ <hostname>{{ mail_server_subdomain }}.{{ vd.name }}</hostname>
|
9
|
10
|
<port>993</port>
|
10
|
11
|
<socketType>SSL</socketType>
|
11
|
12
|
<authentication>password-cleartext</authentication>
|
12
|
13
|
<username>%EMAILADDRESS%</username>
|
13
|
14
|
</incomingServer>
|
14
|
15
|
<incomingServer type="pop3">
|
15
|
|
- <hostname>{{ mail_server_hostname }}</hostname>
|
|
16
|
+ <hostname>{{ mail_server_subdomain }}.{{ vd.name }}</hostname>
|
16
|
17
|
<port>995</port>
|
17
|
18
|
<socketType>SSL</socketType>
|
18
|
19
|
<authentication>password-cleartext</authentication>
|
19
|
20
|
<username>%EMAILADDRESS%</username>
|
20
|
21
|
</incomingServer>
|
21
|
22
|
<outgoingServer type="smtp">
|
22
|
|
- <hostname>{{ mail_server_hostname }}</hostname>
|
|
23
|
+ <hostname>{{ mail_server_subdomain }}.{{ vd.name }}</hostname>
|
23
|
24
|
<port>587</port>
|
24
|
25
|
<socketType>STARTTLS</socketType>
|
25
|
26
|
<authentication>password-cleartext</authentication>
|
26
|
27
|
<username>%EMAILADDRESS%</username>
|
27
|
28
|
</outgoingServer>
|
28
|
29
|
</emailProvider>
|
|
30
|
+{% endfor %}
|
29
|
31
|
</clientConfig>
|