aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mailserver/templates/var_www_autoconfig_mail_config-v1.1.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mailserver/templates/var_www_autoconfig_mail_config-v1.1.j2')
-rw-r--r--roles/mailserver/templates/var_www_autoconfig_mail_config-v1.1.j229
1 files changed, 29 insertions, 0 deletions
diff --git a/roles/mailserver/templates/var_www_autoconfig_mail_config-v1.1.j2 b/roles/mailserver/templates/var_www_autoconfig_mail_config-v1.1.j2
new file mode 100644
index 0000000..8ca98ab
--- /dev/null
+++ b/roles/mailserver/templates/var_www_autoconfig_mail_config-v1.1.j2
@@ -0,0 +1,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>