diff options
author | manu <manu@pkgsrc.org> | 2011-12-15 17:15:05 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2011-12-15 17:15:05 +0000 |
commit | c51fe5d06a5ce49ebe2c3e27a8654ae30a6a6df5 (patch) | |
tree | 6f90583afe2e1a1ebfda2d78df8f93fc7fc0a2a8 /www/SOGo | |
parent | a41ce3a3931b8a08876b932b1c1d1e3b690deef6 (diff) | |
download | pkgsrc-c51fe5d06a5ce49ebe2c3e27a8654ae30a6a6df5.tar.gz |
Missing commit (sorry!)
Diffstat (limited to 'www/SOGo')
-rwxr-xr-x | www/SOGo/files/sogo-conf.sh | 49 |
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 |