The following commands are for documentary purpose mainly. It may help you to install Tine 2.0 automated (by script). Refer also to the official wiki entry for how to install Tine 2.0.The example given will
The notation ist for multi-line commands (improve readability). Please replace the variables
php setup.php --install Tinebase,Addressbook,Calendar,Tasks,Felamimail,\
ActiveSync,Filemanager,CoreData,MailFiler \
adminLoginName="admin" adminPassword="admin" adminEmailAddress="admin@tine.local" acceptedTermsVersion=1000 \
imap="host:localhost,port:143,useSystemAccount:1,ssl:tls,domain:example.org,backend:standard" \
smtp="backend:standard,hostname:localhost,port:25,ssl:tls,auth:plain,primarydomain:,username:,password:,from:" \
sieve="hostname:localhost" \
authentication="backend:ldap,host:ldap://localhost,username:cn=binder\,dc=tine\,dc=local,password:tine,\
bindRequiresDn:true,useStartTls:0,baseDn:ou=people\,dc=tine\,dc=local,\
accountFilterFormat:(&(objectClass=posixAccount)(uid=%s)),accountCanonicalForm:2,\
accountDomainName:,accountDomainNameShort:,tryUsernameSplit:0" \
accounts="backend:ldap,host:ldap://localhost,username:cn=binder\,dc=tine\,dc=local,password:tine,\
bindRequiresDn:true,useStartTls:0,pwEncType:SSHA,userDn:ou=people\,dc=tine\,dc=local,\
userFilter:objectclass=posixaccount,userSearchScope:1,groupsDn:ou=groups\,dc=tine\,dc=local,\
groupFilter:objectclass=posixgroup,groupSearchScope:1,useRfc2307bis:0,\
minUserId:20000,maxUserId:29999,minGroupId:20000,maxGroupId:21099,\
groupUUIDAttribute:entryUUID,userUUIDAttribute:entryUUID,\
defaultUserGroupName:Users,defaultAdminGroupName:Administrators,readonly:0"
The above command uses admin@tine.local as super user and server name. Note the special user for binding to ldap and I also changed the default ID-numbers.
After installing which will sync with Ldap-Backend as well you can change the backend settings.
php setup.php --setconfig -- configkey=smtp configvalue='{"active":true,"backend":"ldap_simplemail",\
"hostname":"localhost","port":25,"ssl":"tls","auth":"plain","primarydomain":"tine.local",\
"secondarydomains":"ldap:\/\/localhost\/ou=domains,ou=mailConfig,dc=tine,dc=local?dc?one?objectclass=domain",\
"from":"tine20@tine.local","username":"tine-notification","password":"notification","name":"localhost",\
"postfix":{"port":3306},"simplemail":{"base":"ou=routing,ou=mailConfig,dc=tine,dc=local","scope":1,\
"skeleton":{"objectclass":["simplemail","mailrouting"],"mailUserDN":"%s"},"readonly":false,\
"storage_base":"ou=routing,ou=mailConfig,dc=tine,dc=local","storage_rdn":"cn=%u{tine20}",\
"property_mapping":{"emailAliases":"mailalternateaddress","emailForwards":"mailforwardingaddress",\
"emailForwardOnly":"maildiscard:boolean"}}}'
The herewith configured Smtp-Backend (simpleMail) is a special backend to integrate more flexible into ldap. If you are on a standard configuration it may be not the right choice for you.
Bisher hat niemand diese Seite kommentiert.
RSS Feed für die Kommentare auf dieser Seite | RSS feed für alle Kommentare