]> gitweb.pimeys.fr Git - scripts-20-100.git/blob - regenconf_sogo.sh.example
[import caff] --no-auto-check-trustdb pour aller plus vite
[scripts-20-100.git] / regenconf_sogo.sh.example
1 #!/bin/bash
2
3 # Général
4 defaults write sogod SOGoTimeZone "France/Paris"
5 defaults write sogod SOGoMailDomain "crans.org"
6 defaults write sogod SOGoLanguage French
7 defaults write sogod SOGoAppointmentSendEMailNotifications YES
8 defaults write sogod SOGoFoldersSendEMailNotifications YES
9 defaults write sogod SOGoACLsSendEMailNotifications YES
10
11 echo "T'as pensé à changer le mot de passe de la base LDAP ?"
12 # LDAP
13 defaults write sogod SOGoUserSources '({CNFieldName = cn;
14 IDFieldName = aid; UIDFieldName = uid;
15 baseDN = "ou=data,dc=crans,dc=org";
16 bindDN = "cn=readonly,dc=crans,dc=org";
17 bindFields= (uid);
18 bindPassword = prout; canAuthenticate = YES; displayName =
19 "Shared Addresses"; hostname = "ldap.adm.crans.org"; id = public;
20 isAddressBook = YES; port=389})'
21 defaults write sogod SOGoAuthenticationType "ldap"
22
23
24 # PgSQL
25 defaults write sogod SOGoProfileURL 'postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile'
26 defaults write sogod OCSFolderInfoURL 'postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info'
27 defaults write sogod OCSSessionsFolderURL 'postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder'
28
29 # SMTP
30 defaults write sogod SOGoMailingMechanism smtp
31 defaults write sogod SOGoSMTPServer smtp.crans.org
32
33 # IMAP
34 defaults write sogod SOGoDraftsFolderName Drafts
35 defaults write sogod SOGoSentFolderName Sent
36 defaults write sogod SOGoTrashFolderName Trash
37 defaults write sogod SOGoIMAPServer imaps://imap.crans.org
38
39
40 # Facultatif
41 defaults write sogod SOGOLoginModule Mail
42 defaults write sogod SOGoPageTitle "SOGo Cr@ns"
43 # si les américains veulent commencer leur semaine le Dimanche, grand bien leur fasse
44 defaults write sogod SOGoFirstDayOfWeek 1
45
46 defaults write sogod SOGoFaviconRelativeURL /SOGo/WebServerResources/favicon_crans.ico