Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Multi-domain (server configuration) support for caldav, carddav and imap. #181

Open
wants to merge 229 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
4e00733
BackendCalDAV - ChangesSink implemented using sync-collection or fall…
fmbiete Apr 15, 2014
5b1da64
BackendCombined - Fair ChangesSink execution
fmbiete Apr 29, 2014
77c18e4
BackendCombined - Undefined variable in log line, copy-paste is bad
fmbiete Apr 29, 2014
0eba959
Issue #55 - We only have 1 Trash folder, but we could have 2 coincide…
fmbiete May 8, 2014
92f41ef
Rebase SVN trunk r1877
fmbiete May 8, 2014
97d7861
Check if the user is present for OPTIONS call. Fix testconnectivity.m…
fmbiete May 8, 2014
c575109
Update Net_SMTP library and add some missing return values
fmbiete May 11, 2014
6f06eb1
Update Mail library, and better support for Net_SMTP
fmbiete May 11, 2014
44ad77d
Net_SMTP remove 2 PEARException references
fmbiete May 12, 2014
272953f
BackendIMAP - Missing extra spaces
fmbiete May 14, 2014
c398bc0
Move function to TimeZoneUtil
fmbiete May 15, 2014
587585e
Extract MakeUTCDate function to Utils
fmbiete May 15, 2014
f3d73a1
Extract ParseTimezone function to Utils
fmbiete May 15, 2014
5357c4e
TimezoneUtil - New function and capitalize public function
fmbiete May 16, 2014
bcf032e
BackendIMAP::GetMessage - Initial support for receiving meetting noti…
fmbiete May 16, 2014
070e3f7
BackendIMAP::MeetingResponse - Empty function
fmbiete May 20, 2014
a89d188
BackendIMAP::GetMessage - Never truncate MIME messages, iOS devices a…
fmbiete May 20, 2014
6ed933b
iCalendar - new functions to modify values
fmbiete May 20, 2014
9d3255a
Mail_Mime : update to 1.8.9
fmbiete May 20, 2014
201510b
BackendCombined::MeetingResponse - Rename parameter
fmbiete May 20, 2014
864da3b
BackendIMAP::MeetingResponse and some refactoring to send messages
fmbiete May 20, 2014
589c0af
Samples y testing code for IMAP Meeting support
fmbiete May 20, 2014
30b2653
Rebase SVN trunk r1880
fmbiete May 20, 2014
7a7075c
BackendIMAP::SystemExtensionMimeTypes - For multi-extensions files th…
fmbiete May 20, 2014
1c05230
BackendLDAP - Changes proposed by fortiko. Issue #60
fmbiete May 24, 2014
071695d
Testing Parameteres()
fmbiete May 24, 2014
db514ba
Fix caldav default calendar/task handling, see [MSASCMD] section 2.2.…
nwolber May 27, 2014
41ffdad
Fix caldav default calendar/task handling, see [MSASCMD] section 2.2.…
nwolber May 27, 2014
3ee0202
Merge pull request #61 from SamBeyond/master
fmbiete May 29, 2014
980462c
Merge branch 'master' of https://github.com/fmbiete/Z-Push-contrib
fmbiete May 31, 2014
542f3ee
Resync to SVN trunk r1884
fmbiete May 31, 2014
1a24623
Merge branch 'master' of https://github.com/fmbiete/Z-Push-contrib
fmbiete Jun 2, 2014
105301e
BackendLDAP - Remove comment
fmbiete Jun 2, 2014
7993cd9
BackendIMAP - Change quotes for IMAP_FROM_SQL_QUERY example. Fixes #62
fmbiete Jun 2, 2014
ddef4bf
BackendIMAP global config smtp
fmbiete Jun 9, 2014
993ffa5
BackendIMAP - Fix #63. after refactoring SendMessage aline was left i…
fmbiete Jun 10, 2014
d0f1e18
BackendCalDAV - Fix by @fortiko - Issue #67
fmbiete Jun 14, 2014
3926a68
Fixes #59 errors with PHP 5.3
fmbiete Jun 21, 2014
8f48e93
BackendLDAP - Implements ASV_14 asbody attributes. Implements #64
fmbiete Jul 4, 2014
e4e363f
Rebase SVN trunk r1892
fmbiete Jul 4, 2014
987902f
BackendIMAP:getBodyRecursive - Don't get text from inline attached files
fmbiete Jul 10, 2014
a0acdc3
MailMimeDecode - Use ForceUTF8 library to convert text
fmbiete Jul 10, 2014
6e30aef
Remove IMAP_MBCONVERT related code
fmbiete Jul 10, 2014
9cde629
Mail_Mime 1.8.9
fmbiete Jul 10, 2014
7fe4561
Mail_mimeDecode - We mustn't try to fix some type of bodies; binary a…
fmbiete Jul 10, 2014
a77d134
BackendIMAP - Refactor reencode of MIME messages
fmbiete Jul 10, 2014
51cec57
Test - Reencode all the MIME messages in the samples folder fixing th…
fmbiete Jul 10, 2014
a57bd52
BackendIMAP - remove private to non-class function
fmbiete Jul 10, 2014
5fffe89
Mail_mimeDecode - Refactoring getBodyRecursive
fmbiete Jul 11, 2014
3763a33
S/MIME examples from RFC
fmbiete Jul 11, 2014
1c20394
BackendIMAP - Little optimization elseif
fmbiete Jul 11, 2014
a3986d7
BackendIMAP - Support to receive S/MIME messages
fmbiete Jul 11, 2014
f39ede7
BackendIMAP - Refactoring detection text/calendar parts
fmbiete Jul 11, 2014
1116390
Testing - Split MIME to create a send array without decoding anything
fmbiete Jul 11, 2014
02cb30f
BackendIMAP:SendMail - It should leave pass S/MIME without tampering …
fmbiete Jul 11, 2014
c295166
Resync files with trunk, no changes but differents EOL found
fmbiete Jul 12, 2014
08a6daf
Fix #69 - We are using Request::GetGETUser before calling Request::Au…
fmbiete Jul 12, 2014
adf55eb
Issue #70: undefined function is_mime()
fmbiete Jul 13, 2014
646c367
Issue #70: Non-static method Mail_mimeDecode::getBodyRecursive()
fmbiete Jul 13, 2014
6617d42
beautify README.ms
fmbiete Jul 13, 2014
58b058e
Issue #71 - missing include directive if not using BackendCalDAV
fmbiete Jul 13, 2014
ac87d44
Remove extra function
fmbiete Jul 20, 2014
ca8e6d7
Remove extra spaces
fmbiete Jul 20, 2014
0f43fdb
New message text, 4 bytes char (smileys), iOS devices
fmbiete Jul 20, 2014
a8c436b
Fixes #72 - Quoted-Encoded text already in utf-8 could have 4 bytes c…
fmbiete Jul 20, 2014
1725226
Remove debug log
fmbiete Jul 21, 2014
bf835b9
New message sample, emoticon utf-8 in text as base64
fmbiete Jul 23, 2014
0a58ab0
New sample message; emoticon utf8 in subject header
fmbiete Jul 23, 2014
bf5cbe4
Remove ForceUTF8, since it's breaking more messages that it's fixing.…
fmbiete Jul 23, 2014
1fa6ead
Removes the iconv E_NOTICE and refactor conversions, Issue #72
fmbiete Jul 23, 2014
62eba60
BackendIMAP - typo
fmbiete Jul 25, 2014
4e96fe6
New message sample; html with iso-8859-1 enconding
fmbiete Jul 25, 2014
a30ebdd
Issue #72 - some text cannot be corrected, we will remove the wrong c…
fmbiete Jul 25, 2014
3afa07b
Rebase svn trunk r1901
fmbiete Jul 31, 2014
f012f86
BackendIMAP - Implement GetUserFullName() for autodiscover
fmbiete Jul 31, 2014
5dec08f
Fixes #78 - When Sending S/MIME From headers is duplicated and Return…
fmbiete Aug 16, 2014
aa8ebf7
Rebase SVN trunk r1905
fmbiete Aug 16, 2014
f805828
Issue #77 - don't escape categories
fmbiete Aug 17, 2014
ab04117
autodiscover: the email address given in the request XML is more reli…
JoshData Aug 19, 2014
15dc853
BackendIMAP - Different folder names
fmbiete Aug 20, 2014
7136e0f
Merge pull request #80 from mail-in-a-box/master
fmbiete Aug 20, 2014
d1ad08f
Autodiscover - fixes undefined variable incomingXml on catch #81
fmbiete Aug 20, 2014
a08a43c
Autodiscover, reorder log line, Issue #81
fmbiete Aug 21, 2014
4cac355
Add Requirements for Backends Issue #71
fmbiete Aug 25, 2014
51d55fd
Testing - preg_split
fmbiete Aug 25, 2014
e874858
BackendCardDAV - Categories. Fix #77
fmbiete Aug 25, 2014
9a83387
BackendIMAP - #84 nativebodytype error. Fixed by @jpfox156, thanks!!!
fmbiete Aug 30, 2014
b312ade
BackendIMAP - #86 - ThreadTopic
fmbiete Aug 30, 2014
ba7117b
BackendIMAP - #84 - ThreadTopic
fmbiete Aug 30, 2014
454a3a1
Merge branch 'master' of https://github.com/fmbiete/Z-Push-contrib
fmbiete Aug 30, 2014
3fdd8fa
z_caldav - optional extra debug
fmbiete Aug 30, 2014
1528916
Issue #86 - CalDAV client; bad calendar-query for not syncing servers…
fmbiete Aug 31, 2014
34e06d4
BackendIMAP - add debug line
fmbiete Sep 1, 2014
3be8f35
Issue #88 - Testing file for SMTP send
fmbiete Sep 2, 2014
6b840ec
#88 - Net::SMTP; debug with ZLog
fmbiete Sep 2, 2014
4a0ee19
BackendCalDAV - SabreDAV supports calendar-sync
fmbiete Sep 2, 2014
def01ec
Testing Caldav - more testing cases
fmbiete Sep 2, 2014
88a4725
Fixes #86
fmbiete Sep 2, 2014
dee5643
Rebase SVN trunk r1907
fmbiete Sep 6, 2014
3cf836a
liverpoolfcfan fix for Outlook 2013 AS setup
fmbiete Sep 7, 2014
258c0f7
New testing sample in french
fmbiete Sep 8, 2014
05b9e4d
Fixes #89 - Last changes broke the encoding for the headers
fmbiete Sep 8, 2014
b935287
BackendIMAP - Rename GetUserFullName to GetUserDetail, for autodiscovery
fmbiete Sep 8, 2014
89efb42
Outlook 2013 AS Initial connection, drop support for AS 1.0, 2.0, 2.1
fmbiete Sep 9, 2014
d79fdc0
BackendIMAP - typo in comment
fmbiete Sep 14, 2014
146b0fe
BackendIMAP - Change MessageClass for SMIME messages
fmbiete Sep 15, 2014
631af11
BackendIMAP - Issue #94: presetting the sent folder when the server u…
fmbiete Sep 17, 2014
3329960
Issue #96 - SabreDav supports sync since 1.9.0. Put a note in the con…
fmbiete Sep 20, 2014
cc74cf4
Rebase svn trunk r1913
fmbiete Sep 20, 2014
d0cd5a4
bump version r1913
fmbiete Sep 20, 2014
2654db5
BackendIMAP:SendMail - Issue #99 - Only readd non-existent headers
fmbiete Sep 29, 2014
da9e10c
BackendIMAP - Inbox.Sent, Inbox.Draft, Inbox.Trash... those special f…
fmbiete Oct 5, 2014
2750adb
BackendIMAP - config, typo in comment
fmbiete Oct 9, 2014
ca7f3ac
Support local FROM/FULLNAME lookups through posix_getpwnam() against
Oct 9, 2014
566c52e
Merge pull request #104 from ixs/master
fmbiete Oct 9, 2014
0c8f1d7
supersimple typofix
Oct 9, 2014
d53147c
Merge pull request #105 from ixs/master
fmbiete Oct 10, 2014
264ee69
Rebase svn trunk r1920
fmbiete Oct 10, 2014
75f55b7
Merge branch 'master' of https://github.com/fmbiete/Z-Push-contrib
fmbiete Oct 10, 2014
ef1f777
fix(caldav): #110 - Default and user-created calendar and task types
fmbiete Nov 9, 2014
f9b8950
fix(imap_smtp): #103 - Send mail to Cc and Bcc with SMTP method
fmbiete Nov 10, 2014
d4fe69b
fix(#94): Add to config IMAP prefix
fmbiete Nov 14, 2014
957ad56
fix(#94): Add config options for different folders: Trash, Draft
fmbiete Nov 14, 2014
e042eec
chore(svn): Rebase to SVN trunk r1928
fmbiete Nov 14, 2014
c3c5a5a
chore(rebase): Rebase to svn r1931
fmbiete Dec 20, 2014
545ce09
fix(#113): Remove dots from tzname
fmbiete Dec 20, 2014
a7f5fa2
test(#120): Support to dbmail Shared folders
fmbiete Dec 27, 2014
4b41ae6
test(#120): Add instructions
fmbiete Dec 27, 2014
5092496
fix(#109): Change status_data type from TEXT type to LOB
fmbiete Dec 27, 2014
356ec4e
feat(#120): Support for shared folder prefixes in dbmail
fmbiete Dec 27, 2014
6052e6e
fix(#123): bind as value when no variable is defined
fmbiete Dec 28, 2014
a4088da
fix(#120): Missing $this prefix
fmbiete Dec 28, 2014
abe2ae5
fix(#102, #112, #124): Safer check for connected CalDAV
fmbiete Dec 28, 2014
f8b41d5
fix(#109): MySQL-PDO returns a string for LOB columns
fmbiete Dec 28, 2014
de9b47a
fix(#120): Setting correct parent and display name
fmbiete Dec 28, 2014
3bbd312
fix(#128): Get the number of devices authorized for user
fmbiete Jan 12, 2015
406d7fa
fix(#127): No organizer defined in dav event
fmbiete Jan 12, 2015
404b7c8
http_response_code , add compatibility for php < 5.4
franx Jan 14, 2015
f55012a
Merge pull request #132 from FrancescoGarofalo/master
fmbiete Jan 18, 2015
42b6036
fix: daylightsaving start/end day and week are mixed up
Jan 30, 2015
ec64151
Merge pull request #134 from ferbar/master
fmbiete Feb 1, 2015
f87faea
fix(sqlstatemachine): Remove not null from mediumblob column
Feb 24, 2015
2d782f5
fix(statemachine): LG-D802 is sending an empty deviceid instead of
Feb 25, 2015
67c5eaa
fix(#141): Remove undefined httpRequest
fmbiete Mar 1, 2015
64dca6e
chore(z_caldav): Add connect timeout; 30 seconds
fmbiete Mar 1, 2015
bf0fd1a
fix(mimeDecode): use input encoding on failed detection
gmta Mar 1, 2015
42af674
fix(z_carddav): treat HTTP 401 as invalid authentication
gmta Mar 1, 2015
803f630
BackendCombined - support username mapping
gmta Mar 1, 2015
06abbc6
Merge pull request #143 from GMTA/fix-autodetect-encoding
fmbiete Mar 2, 2015
a208e8e
Merge pull request #144 from GMTA/fix-carddav-401
fmbiete Mar 2, 2015
bc37987
Merge pull request #145 from GMTA/add-username-mapping
fmbiete Mar 2, 2015
10bc01a
Move http_response_code() compatibility function to compat.php
gmta Mar 2, 2015
8031603
Do not match anything after "Autodiscover.xml"
gmta Mar 2, 2015
df256b1
PHPDoc fix for ZPush::GetBackend() @return annotation
gmta Mar 2, 2015
daa1206
Use http_response_code() instead of custom header()
gmta Mar 2, 2015
808e1d4
Rely on the config's location for BASE_PATH
gmta Mar 2, 2015
4922555
Reuse Z-Push's central config for autodiscover
gmta Mar 2, 2015
5544bf3
Fix support for empty address groups (RFC822)
gmta Mar 3, 2015
6abb800
Generic whitespace cleanup.
gmta Mar 4, 2015
50a9146
Fix vCard group support as defined in RFC 6350 § 3.3
gmta Mar 4, 2015
e0c94d0
Add support for TITLE vCard property
gmta Mar 4, 2015
c62ab5c
Merge pull request #148 from GMTA/improve-rfc822-support
fmbiete Mar 5, 2015
fd90d99
Merge pull request #149 from GMTA/improve-vcard-support
fmbiete Mar 5, 2015
bfc5a46
Fix event organizer when mapping username in BackendCombined
gmta Mar 2, 2015
9c7449e
Merge pull request #146 from GMTA/autodiscover-improvements
fmbiete Mar 7, 2015
0f0e83d
Merge pull request #147 from GMTA/caldav-improvements
fmbiete Mar 7, 2015
12749f7
rebase(upstream): Rebase to trunk r1934
fmbiete Mar 7, 2015
9e8482b
chore(@echampet): Commit a4e4e88d562f34936d6131ca9692b7e77ce20723
fmbiete Mar 7, 2015
f30c4ed
fix(@echampet): Commit e9cbdba2d73148c4a90db318354a2ed894ff114a
fmbiete Mar 7, 2015
dfe6cef
feat(@echampet): Commit 87501b530c7e288fbd43de23dbabc0af0eeb9a89
fmbiete Mar 7, 2015
787bd14
fix(@echampet): Commit 37f3cf8837eb2c136a1a6135d6dfffb8b87bdb24
fmbiete Mar 7, 2015
6064e81
chore(@echampet): Commit e5d1b6f5a277ee04f8520193efd4cdb261eb9d8c
fmbiete Mar 7, 2015
47c67be
chore(@echampet): Commit a98e01748626dcd98362a0f28caed04678cf5a94
fmbiete Mar 7, 2015
2ea381b
chore(@echampet): Commit ba87c8d26b456ae9cdc2c22f5f2d05e27adcefdf
fmbiete Mar 7, 2015
ad85e04
chore(@echampet): Commit d0813447a7d97d09ad76c304c6de2d2da8da17ad
fmbiete Mar 7, 2015
fec14ec
chore(@echampet): Commit 4d2a793e44d537fc29c4f9f8b9d1b63b1bc7f758
fmbiete Mar 7, 2015
2666caf
fix(@echampet): Commit 81d873820d8b110d392ddb6e816ef4a7f112aa3e
fmbiete Mar 7, 2015
8157778
chore@echampet): Commit 16c6ba8ff2b3539a16fac48e827c9c2d703e444a
fmbiete Mar 7, 2015
f6282e9
chore(@echampet): Commit 342976f7648d288e0f53ca3fb0823b0007ce7a79
fmbiete Mar 7, 2015
c4c2c49
chore(@echampet): Commit cf0ebba6a0925c84753488c85c65497be813a1e6
fmbiete Mar 7, 2015
a52af3f
Fix missing braces in the code.
gmta Mar 7, 2015
3cdc197
Fix bad object dereference in ->getServerDelimiter()
gmta Mar 7, 2015
e4022d2
Improve a number of PHPDoc references (@return, @var)
gmta Mar 7, 2015
f7fc73d
Merge pull request #150 from GMTA/fix-php-syntax
fmbiete Mar 8, 2015
27301e3
Merge pull request #151 from GMTA/fix-imap-delimiter
fmbiete Mar 8, 2015
0cbf5b9
Merge pull request #152 from GMTA/improve-phpdoc
fmbiete Mar 8, 2015
dfcbf0f
test(imap): Get overviews and cleanupDate
fmbiete Mar 8, 2015
14bf91e
merge(master):
fmbiete Mar 8, 2015
d2e3864
Raise cleanupDate() failure logging to LOGLEVEL_WARN
gmta Mar 7, 2015
d4313fe
chore(@GMTA): Rework cleanupDate() regex
fmbiete Mar 8, 2015
6889ad6
chore(@GMTA): Remove extra white-spaces and new lines
fmbiete Mar 8, 2015
10d83e3
Use IMAP udate property instead of parsing date header
gmta Mar 7, 2015
5953873
Fix Thorsten Köster's name to be valid UTF-8
gmta Mar 8, 2015
dff4f02
Fix "Undefined index" PHP warnings on incorrect config
gmta Mar 8, 2015
c7a73b3
Merge pull request #154 from GMTA/fix-caldav-unsupported-sync
fmbiete Mar 8, 2015
19a03aa
merge(@echampet): Commit 45ea063087055718282c2578a29d983ce9d38229
fmbiete Mar 9, 2015
d063e7c
chore(zpush): Define ASV_141
fmbiete Mar 9, 2015
4aeae27
test(#155): Add testcase
fmbiete Mar 14, 2015
a7ebbc4
rebase(zarafa): SVN trunk r1935
fmbiete Mar 16, 2015
4527d0d
Bring code closer to original Mail_mimeDecode
gmta Mar 18, 2015
97d9daf
Fix broken CalDAVClient constructor
gmta Mar 18, 2015
b8d64cb
Whitespace cleanup in CalDAVClient
gmta Mar 18, 2015
2539b76
Cleanup ZLog action in CalDAVClient
gmta Mar 18, 2015
7d9adbc
Improve logging output for counts
gmta Mar 18, 2015
f2070b6
fix(core): Typo
fmbiete Mar 19, 2015
247863d
Merge pull request #158 from GMTA/sync-mime-decode
fmbiete Mar 19, 2015
28e1622
merge(master): I forgot to push my changes before accepting a
fmbiete Mar 19, 2015
114989e
Merge pull request #159 from GMTA/caldav-improvements
fmbiete Mar 19, 2015
bc62f15
Merge pull request #160 from GMTA/improve-phpdoc-return
fmbiete Mar 19, 2015
adca5fd
test(fix): Fix test case
fmbiete Mar 21, 2015
6ed4085
chore(imap): Refactor code for finding folders.
fmbiete Mar 21, 2015
678af2d
fix(#162): Missing $this-> on class calls
fmbiete Mar 22, 2015
242acef
fix(gmail config): Thanks to Javier Achirica by the working config
fmbiete Mar 23, 2015
654a12b
feat(imap): Add support for Archive and Junk folders
fmbiete Mar 23, 2015
6ce8818
feat(imap): Support for Out of Office requests for iOS devices
fmbiete Mar 23, 2015
1264088
fix(#164): Remove undefined constant in SMTP class
fmbiete Mar 27, 2015
6c48b4b
fix(#164): BackendIMAP: FROM, TO, CC, BCC headers need to be
fmbiete Mar 27, 2015
d491738
chore(caldav): Remove deprecated include; caldav client
fmbiete Mar 27, 2015
79fff50
feat(#166): Optional: Mark message as read before deleting
fmbiete Mar 30, 2015
ee57662
fix(docker): Check for cli execution with php_sapi_name since
Apr 2, 2015
2c97267
fix(#166): BackendIMAP: Optional - mark messages as seen when
fmbiete Apr 3, 2015
fd7b218
feat(#168): Add SSL options to SMTP config
fmbiete Apr 3, 2015
6e82620
fix(#171): BackendIMAP - We must use the new config options to find
fmbiete Apr 3, 2015
482151d
fix(#166): Define variable when used.
fmbiete Apr 3, 2015
2861fa5
fix(#171): BackendIMAP - I forgot to convert back the ID to imapId
fmbiete Apr 4, 2015
963a251
Added Gitter badge
gitter-badger Apr 4, 2015
495519e
Merge pull request #174 from gitter-badger/gitter-badge
fmbiete Apr 4, 2015
6f1ab9a
fix(smtp): Extra closing */.
fmbiete Apr 9, 2015
e6fe5ae
Multi-domain (server configuration) support for caldav, carddav and i…
Apr 20, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 22 additions & 16 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ http://doc.zarafa.com/trunk/Administrator_Manual/en-US/html/_zpush.html

Additional php packages
----------------------
To use the full featureset of Z-Push 2 and the z-push-top command line utility,
additional php packages are required. These provide SOAP support, access to
process control and shared memory.
To use the full featureset of Z-Push 2 and the z-push-top command line utility,
additional php packages are required. These provide SOAP support, access to
process control and shared memory.

These packages vary in names between the distributions.
- Generally install the packages: php-cli php-soap
- On Suse (SLES & OpenSuse) install the packages: php5 php5-soap php5-pcntl php5-sysvshm php5-sysvsem
- On Suse (SLES & OpenSuse) install the packages: php53 php53-soap php53-pcntl php53-sysvshm php53-sysvsem php53-posix
- On RHEL based systems install the package: php-cli php-soap php-process
To install this package you need to add an extra channel subscription from the
RHEL Server Optional channel.
In order to install these packages you need to add an extra channel subscription
from the RHEL Server Optional channel.


How to install
Expand Down Expand Up @@ -112,7 +112,7 @@ z-push directory so these settings are considered only there.
php_flag short_open_tag on
</Directory>

If you don't set this up correctly, you will not be
If you don't set this up correctly, you will not be
able to login correctly via z-push.

Please also set a memory_limit for php to 128M in php.ini.
Expand All @@ -121,12 +121,12 @@ Z-Push writes files to your file system like logs or data from the
FileStateMachine (which is default). In order to make this possible,
you either need to disable the php-safe-mode in php.ini or .htaccess with
php_admin_flag safe_mode off
or configure it accordingly, so Z-Push is allowed to write to the
or configure it accordingly, so Z-Push is allowed to write to the
log and state directories.

After doing this, you should be able to synchronize with your mobile device.

To use the command line tools, access the installation directory
To use the command line tools, access the installation directory
(usually /usr/share/z-push) and execute:
./z-push-top.php and/or
./z-push-admin.php
Expand All @@ -135,15 +135,15 @@ To facilitate the access symbolic links can be created, by executing:
ln -s /usr/share/z-push/z-push-admin.php /usr/sbin/z-push-admin
ln -s /usr/share/z-push/z-push-top.php /usr/sbin/z-push-top

With these symlinks in place the cli tools can be accessed from any
With these symlinks in place the cli tools can be accessed from any
directory and without the php file extension.


Upgrade
-------
Upgrading to a newer Z-Push version follows the same path as the
initial installation.
When upgrading to a new minor version e.g. from Z-Push 1.4 t
When upgrading to a new minor version e.g. from Z-Push 1.4 to
Z-Push 1.4.1, the existing Z-Push directory can be overwritten
when extracting the archive. When installing a new major version
it is recommended to extract the tarball to another directory and
Expand All @@ -170,10 +170,16 @@ and re-create profiles on every device.

*Important*
States of Z-Push 2.0 and Z-Push 2.1 are not compatible. A state migration
script is available in the tools folder.
script called migrate-2.0.x-2.1.0.php is available in the tools folder.

*Important*
When running Z-Push seperately from your Zarafa installation you had in
the past to configure MAPI_SERVER directly in the config.php of Z-Push.
This setting has now moved to the config.php file of the Zarafa backend
(backend/zarafa/config.php).

Please also observe the published release notes of the new Z-Push version.
For some releases it is necessary to e.g. resynchronize the mobile.
For some releases it is necessary to e.g. resynchronize the mobile.


S/MIME
Expand All @@ -199,7 +205,7 @@ Symantec or Comodo or community-driven e.g. CAcert.org.
Both most popular directory services Microsoft Active Directory (MS AD)
and free open source solution OpenLDAP allow to save certificates. Private
keys/certificates reside in user’s directory or on a smartcard. Public
certificates are saved in directory. MS AD and OpenLDAP both use
certificates are saved in directory. MS AD and OpenLDAP both use
serCertificate attribute to save it.

In Active Directory the public key for contacts from GAB is saved in
Expand All @@ -219,7 +225,7 @@ Other user plugin options like db or unix might not work correctly and
are not supported.

For in-depth information please refer to:
http://www.zarafa.com/blog/post/2013/05/smime-z-push-signing-and-en-decrypting-emails-mobile-devices
http://www.zarafa.com/blog/post/2013/05/smime-z-push-signing-and-en-decrypting-emails-mobile-devices

Setting up your mobile device
-----------------------------
Expand Down Expand Up @@ -279,4 +285,4 @@ it works fine with the WebApp/Webaccess. The solution is to add:

setlocale(LC_CTYPE, "en_US.UTF-8");

to the config.php file.
to the config.php file.
47 changes: 25 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Z-Push-contrib
==============

[![Join the chat at https://gitter.im/fmbiete/Z-Push-contrib](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/fmbiete/Z-Push-contrib?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

This is a Z-Push fork with changes that I will try to put into the contrib branch, so they can get into the official Z-Push

IMPORTANT:
Expand Down Expand Up @@ -31,53 +33,54 @@ You can find some configuration guidelines in the Wiki https://github.com/fmbiet

Requisites
==========
PHP 5.5 (5.3 should also work, 5.4 it's fine, but 5.5 is better)
NGINX or APACHE
PHP-FPM or MOD_PHP
- PHP 5.5 (5.3 should also work, 5.4 it's fine, but 5.5 is better)
- NGINX or APACHE
- PHP-FPM or MOD_PHP

Configuration
=============

NGINX, 1.4 at least or you will need to enable chunkin mode (Use google for Apache configuration)

server {
listen 443;
server_name zpush.domain.com;
server {
listen 443;
server_name zpush.domain.com;

ssl on;
ssl_certificate /etc/ssl/certs/zpush.pem;
ssl_certificate_key /etc/ssl/private/zpush.key;
ssl on;
ssl_certificate /etc/ssl/certs/zpush.pem;
ssl_certificate_key /etc/ssl/private/zpush.key;

root /usr/share/www/z-push-contrib;
index index.php;
root /usr/share/www/z-push-contrib;
index index.php;

error_log /var/log/nginx/zpush-error.log;
access_log /var/log/nginx/zpush-access.log;
error_log /var/log/nginx/zpush-error.log;
access_log /var/log/nginx/zpush-access.log;

location / {
location / {
try_files $uri $uri/ index.php;
}
}

location /Microsoft-Server-ActiveSync {
location /Microsoft-Server-ActiveSync {
rewrite ^(.*)$ /index.php last;
}
}

location ~ .php$ {
location ~ .php$ {
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
fastcgi_param HTTPS on;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass unix:/var/run/php5-fpm.sock;
# Z-Push Ping command will be alive for 470s, but be safe
fastcgi_read_timeout 630;
}
}
}

PHP-FPM
max_execution_time=600
short_open_tag=On

And configure enough php-fpm processes, you will need 1.5 x number users
max_execution_time=600
short_open_tag=On

And configure enough php-fpm processes, as a rough estimation you will need 1.5 x number users.


Backends
Expand Down
Loading