diff options
author | Bryan Newbold <bnewbold@archive.org> | 2019-01-16 13:24:08 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2019-01-16 13:24:30 -0800 |
commit | 427427ec3bcb58eadaa9c62477f70a5f3c6f39e0 (patch) | |
tree | cf3e6030e2cfd158bf118965ffd79b44bba40ba9 /roles/mailserver/templates/var_www_autoconfig_mail_config-v1.1.j2 | |
parent | 619285adf88d3ea78a1501108888d0d2d23d0a06 (diff) | |
download | infra-427427ec3bcb58eadaa9c62477f70a5f3c6f39e0.tar.gz infra-427427ec3bcb58eadaa9c62477f70a5f3c6f39e0.zip |
mailserver role
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.j2 | 29 |
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> |