Ajout : roundcube.
[lhc/ateliers.git] / etc / dovecot / autoconfig.xml
diff --git a/etc/dovecot/autoconfig.xml b/etc/dovecot/autoconfig.xml
new file mode 100644 (file)
index 0000000..e0e9f48
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<clientConfig version="1.1">
+       <emailProvider id="%EMAILDOMAIN%">
+               <!-- <displayName>L’Heureux Cyclage</displayName> -->
+               <!-- <displayShortName>LHC</displayShortName> -->
+               <domain>%EMAILDOMAIN%</domain>
+               <incomingServer type="imap">
+                       <hostname>imap.%EMAILDOMAIN%</hostname>
+                       <port>993</port>
+                       <socketType>SSL</socketType>
+                       <username>%EMAILADDRESS%</username>
+                       <authentication>password-cleartext</authentication>
+                </incomingServer>
+               <!--
+               <incomingServer type="pop3">
+                       <hostname>pop3.%EMAILDOMAIN%</hostname>
+                       <port>995</port>
+                       <socketType>SSL</socketType>
+                       <username>%EMAILADDRESS%</username>
+                       <authentication>password-cleartext</authentication>
+                       <pop3>
+                               <leaveMessagesOnServer>false</leaveMessagesOnServer>
+                               <downloadOnBiff>true</downloadOnBiff>
+                        </pop3>
+                </incomingServer>
+                -->
+               <outgoingServer type="smtp">
+                       <hostname>smtp.%EMAILDOMAIN%</hostname>
+                       <port>465</port>
+                       <socketType>SSL</socketType> <!-- see above -->
+                       <username>%EMAILADDRESS%</username> <!-- if smtp-auth -->
+                       <authentication>password-cleartext</authentication>
+                       <!-- <restriction>client-IP-address</restriction> -->
+                       <addThisServer>true</addThisServer>
+                       <useGlobalPreferredServer>false</useGlobalPreferredServer>
+                </outgoingServer>
+        </emailProvider>
+       <!-- <clientConfigUpdate url="https://www.example.com/config/mozilla.xml" /> -->
+ </clientConfig>