<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
  <emailProvider id="chamagnieu.fr">
    <domain>chamagnieu.fr</domain>
    <displayName>Commune de Chamagnieu</displayName>
    <displayShortName>Chamagnieu</displayShortName>
    
    <!-- Configuration de la réception (IMAP avec SSL/TLS) -->
    <incomingServer type="imap">
      <hostname>z8.sitiv.fr</hostname>
      <port>993</port>
      <socketType>SSL</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </incomingServer>
    
    <!-- Configuration de l'envoi (SMTP avec STARTTLS via port 587) -->
    <outgoingServer type="smtp">
      <hostname>z8.sitiv.fr</hostname>
      <port>587</port>
      <socketType>STARTTLS</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </outgoingServer>

    <!-- Synchronisation automatique des agendas (CalDAV) -->
    <calendar>
      <type>caldav</type>
      <url>https://courriels.chamagnieu.fr/dav/%EMAILADDRESS%/Calendar</url>
    </calendar>

    <!-- Synchronisation automatique des contacts (CardDAV) -->
    <addressBook>
      <type>carddav</type>
      <url>https://courriels.chamagnieu.fr/dav/%EMAILADDRESS%/Contacts</url>
    </addressBook>

  </emailProvider>
</clientConfig>
