aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mailserver/templates/var_www_autoconfig_mail_config-v1.1.j2
blob: 8ca98abe740a6ce867e195e26995428e5a729670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
    <emailProvider id="{{ domain }}">
        <domain>{{ domain }}</domain>
        <displayName>{{ domain }}</displayName>
        <displayShortName>{{ domain }}</displayShortName>
        <incomingServer type="imap">
            <hostname>{{ mail_server_hostname }}</hostname>
            <port>993</port>
            <socketType>SSL</socketType>
            <authentication>password-cleartext</authentication>
            <username>%EMAILADDRESS%</username>
        </incomingServer>
        <incomingServer type="pop3">
            <hostname>{{ mail_server_hostname }}</hostname>
            <port>995</port>
            <socketType>SSL</socketType>
            <authentication>password-cleartext</authentication>
            <username>%EMAILADDRESS%</username>
        </incomingServer>
        <outgoingServer type="smtp">
            <hostname>{{ mail_server_hostname }}</hostname>
            <port>587</port>
            <socketType>STARTTLS</socketType>
            <authentication>password-cleartext</authentication>
            <username>%EMAILADDRESS%</username>
        </outgoingServer>
    </emailProvider>
</clientConfig>