summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2011-12-15 17:15:05 +0000
committermanu <manu@pkgsrc.org>2011-12-15 17:15:05 +0000
commitc51fe5d06a5ce49ebe2c3e27a8654ae30a6a6df5 (patch)
tree6f90583afe2e1a1ebfda2d78df8f93fc7fc0a2a8 /www
parenta41ce3a3931b8a08876b932b1c1d1e3b690deef6 (diff)
downloadpkgsrc-c51fe5d06a5ce49ebe2c3e27a8654ae30a6a6df5.tar.gz
Missing commit (sorry!)
Diffstat (limited to 'www')
-rwxr-xr-xwww/SOGo/files/sogo-conf.sh49
1 files changed, 49 insertions, 0 deletions
diff --git a/www/SOGo/files/sogo-conf.sh b/www/SOGo/files/sogo-conf.sh
new file mode 100755
index 00000000000..046db3be455
--- /dev/null
+++ b/www/SOGo/files/sogo-conf.sh
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+su -m @SOGOUSER@ << EOT
+mkdir -p ~@SOGOUSER@/GNUstep/Defaults
+
+defaults write sogod SOGoTimeZone "Europe/Paris"
+defaults write sogod SOGoMailDomain "example.net"
+defaults write sogod SOGoLanguage French
+defaults write sogod SOGoAppointmentSendEMailNotifications YES
+defaults write sogod SOGoFoldersSendEMailNotifications YES
+defaults write sogod SOGoACLsSendEMailNotifications YES
+
+defaults write sogod SOGoUserSources '({
+ CNFieldName = cn;
+ IDFieldName = uid;
+ UIDFieldName = uid;
+ IMAPHostFieldName = netExampleMailhost;
+ baseDN = "dc=example,dc=net";
+ bindDN = "";
+ bindPassword = "";
+ canAuthenticate = YES;
+ displayName = "ExampleNet SARL";
+ bindFields = (uid);
+ hostname = "ldap.example.net";
+ id = public;
+ isAddressBook = YES;
+ port = 636;
+ encryption = SSL;
+ filter = "(objectClass='inetOrgPerson')";
+})'
+defaults write sogod SOGoProfileURL 'mysql://sogo:sogo@localhost/sogo/sogo_user_profile'
+defaults write sogod OCSFolderInfoURL 'mysql://sogo:sogo@localhost/sogo/sogo_folder_info'
+defaults write sogod OCSSessionsFolderURL 'mysql://sogo:sogo@localhost/sogo/sogo_sessions_folder'
+
+defaults write sogod SOGoMailingMechanism smtp
+defaults write sogod SOGoSMTPServer smtp.example.net
+
+defaults write sogod SOGoDraftsFolderName Drafts
+defaults write sogod SOGoSentFolderName Sent
+defaults write sogod SOGoTrashFolderName Trash
+defaults write sogod SOGoIMAPServer imaps://localhost:993
+
+defaults write sogod SOGoPageTitle "Agenda "ExampleNet SARL"
+defaults write sogod SOGoLoginModule "Calendar"
+defaults write sogod SOGoZipPath "/usr/pkg/bin/zip"
+
+EOT
+
+/etc/rc.d/sogod restart