<?xml version="1.0"?>
<clientConfig version="1.1">
  <emailProvider id="heptapod.dev">
    <domain>heptapod.dev</domain>
    <domain>chronos-tachyon.net</domain>
    <domain>dlking.cc</domain>

    <displayName>heptapodMail</displayName>
    <displayShortName>heptapodMail</displayShortName>

    <incomingServer type="imap">
      <hostname>mail.heptapod.dev</hostname>
      <port>143</port>
      <socketType>STARTTLS</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </incomingServer>

    <incomingServer type="imap">
      <hostname>mail.heptapod.dev</hostname>
      <port>993</port>
      <socketType>SSL</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </incomingServer>

    <outgoingServer type="smtp">
      <hostname>mail.heptapod.dev</hostname>
      <port>587</port>
      <socketType>STARTTLS</socketType> 
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username> 
      <addThisServer>true</addThisServer>
    </outgoingServer>
  </emailProvider>

  <addressBook type="carddav">
    <username>%EMAILLOCALPART%</username>
    <authentication>http-basic</authentication>
    <serverURL>https://mail.heptapod.dev/dav/self/addressbook</serverURL>
  </addressBook>

  <calendar type="caldav">
    <username>%EMAILLOCALPART%</username>
    <authentication>http-basic</authentication>
    <serverURL>https://mail.heptapod.dev/dav/self/calendar</serverURL>
  </calendar>

  <fileShare type="webdav">
    <username>%EMAILLOCALPART%</username>
    <authentication>http-basic</authentication>
    <serverURL>https://webdav.heptapod.dev</serverURL>
  </fileShare>

  <clientConfigUpdate url="https://heptapod.dev/.well-known/autoconfig/mail/config-v1.1.xml" />
</clientConfig>
