<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.qnap.com/mediawiki/index.php?title=Zarafa_Configuration&amp;feed=atom&amp;action=history</id>
	<title>Zarafa Configuration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.qnap.com/mediawiki/index.php?title=Zarafa_Configuration&amp;feed=atom&amp;action=history"/>
	<link rel="alternate" type="text/html" href="https://wiki.qnap.com/mediawiki/index.php?title=Zarafa_Configuration&amp;action=history"/>
	<updated>2022-09-01T03:53:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.qnap.com/mediawiki/index.php?title=Zarafa_Configuration&amp;diff=957&amp;oldid=prev</id>
		<title>Glenn: +Category:Zarafa</title>
		<link rel="alternate" type="text/html" href="https://wiki.qnap.com/mediawiki/index.php?title=Zarafa_Configuration&amp;diff=957&amp;oldid=prev"/>
		<updated>2015-10-26T10:08:08Z</updated>

		<summary type="html">&lt;p&gt;+&lt;a href=&quot;/wiki/Category:Zarafa&quot; title=&quot;Category:Zarafa&quot;&gt;Category:Zarafa&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:08, 26 October 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l621&quot; &gt;Line 621:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 621:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Zarafa| ]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Glenn</name></author>
	</entry>
	<entry>
		<id>https://wiki.qnap.com/mediawiki/index.php?title=Zarafa_Configuration&amp;diff=267&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;{| border=&quot;0&quot; |- valign=&quot;top&quot; | &lt;br&gt; Zarafa  | '''Zarafa QPKG Features:'''&lt;br&gt;  {| width=&quot;100%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;0&quot; |- | width=...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.qnap.com/mediawiki/index.php?title=Zarafa_Configuration&amp;diff=267&amp;oldid=prev"/>
		<updated>2015-06-18T08:09:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| border=&amp;quot;0&amp;quot; |- valign=&amp;quot;top&amp;quot; | &amp;lt;br&amp;gt; &lt;a href=&quot;/wiki/File:Zarafa_100.jpg&quot; title=&quot;File:Zarafa 100.jpg&quot;&gt;Zarafa&lt;/a&gt;  | &amp;#039;&amp;#039;&amp;#039;Zarafa QPKG Features:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;  {| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; |- | width=...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;br&amp;gt; [[Image:Zarafa 100.jpg|Zarafa]] &lt;br /&gt;
| '''Zarafa QPKG Features:'''&amp;lt;br&amp;gt; &lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;50%&amp;quot; | &lt;br /&gt;
*Groupware functions: &lt;br /&gt;
**Addressbook &lt;br /&gt;
**Calendar &lt;br /&gt;
**Notes &lt;br /&gt;
**Tasks &lt;br /&gt;
**Personal Folders / Public Outlook Folders &lt;br /&gt;
**Permissions for every User and Folder configurable &lt;br /&gt;
**Meeting invitation and free/busy option &lt;br /&gt;
**Resources planning&amp;lt;br&amp;gt; &lt;br /&gt;
*includes Postfix&amp;lt;br&amp;gt; &lt;br /&gt;
*includes Fetchmail&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| width=&amp;quot;50%&amp;quot; | &lt;br /&gt;
*Active Sync for mobile access (Z-Push) &lt;br /&gt;
**Connect nearly every mobile device which supports ActiveSync &lt;br /&gt;
**Tested with iPhone/iPad/WindowsPhone7/Android&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*POP3 server &lt;br /&gt;
*IMAP server &lt;br /&gt;
*Ical Server&lt;br /&gt;
&lt;br /&gt;
*Powerful ajax based webmail interface (Outlook Webaccess alike) &lt;br /&gt;
**Available in many different languages&lt;br /&gt;
&lt;br /&gt;
*Full Outlook support (like Exchange) &lt;br /&gt;
*Integration of many different MTAs (postfix described in wiki)&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Zarafa_Webaccess_mail.png|Zarafa Webaccess: E-Mail&lt;br /&gt;
File:Zarafa_Webaccess_calendar.png|Calendar in Zarafa Webaccess&lt;br /&gt;
File:Zarafa_Webaccess_Contacts.png|Contacts in Zarafa Webaccess&lt;br /&gt;
&amp;lt;/gallery&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Overview  ==&lt;br /&gt;
&lt;br /&gt;
This page describes how to install the Zarafa QPKG on your QNAP Device. Additional information may be found in the [http://forum.qnap.com/viewforum.php?f=265 support forum] and in the official [http://doc.zarafa.com/7.0/Administrator_Manual/en-US/html/index.html documentation]. &lt;br /&gt;
&lt;br /&gt;
=== What is Zarafa?  ===&lt;br /&gt;
&lt;br /&gt;
Zarafa - is a Open Source Email &amp;amp;amp; Collaboration Software. Store all your contacts / emails / notes / task on your QNAP device. It has a powerful webfrontend (Outlook Webaccess alike) and provides Active Sync Support to easily connect mobile devices. It acts like a exchange server to Microsoft Outlook (sync all contacts / task etc.). POP3 and IMAP connections are also possible. &lt;br /&gt;
&lt;br /&gt;
To send and receive emails, it is necessary to setup postfix / fetchmail (included in the QPKG). &lt;br /&gt;
&lt;br /&gt;
If you want to compile Zarafa (not recommended&amp;amp;nbsp;/ needed) instead of using the QPKG look at this howto: [[Zarafa Installation On QNAP]] &lt;br /&gt;
&lt;br /&gt;
=== What does the QPKG (currently) include?  ===&lt;br /&gt;
&lt;br /&gt;
*Zarafa ZCP 7.0.3 &lt;br /&gt;
*Z-Push 1.5.5 (for Active Sync support) &lt;br /&gt;
*Licensed for Zarafa (only x86) &lt;br /&gt;
*Postfix 2.8.7&amp;lt;br&amp;gt; &lt;br /&gt;
*Fetchmail 6.3.21&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Setup Types  ===&lt;br /&gt;
&lt;br /&gt;
Depending on your current situation you can setup zarafa in many different ways. Two setup / configurations are described here. You can access Zarafa via many different ways: &lt;br /&gt;
&lt;br /&gt;
*with Microsoft Outlook &lt;br /&gt;
*via Active Sync with your Smarphone &lt;br /&gt;
*via Zarafa Webaccess &lt;br /&gt;
*via POP3/IMAP Gateway of Zarafa&lt;br /&gt;
&lt;br /&gt;
==== Zarafa with postfix and own domain  ====&lt;br /&gt;
&lt;br /&gt;
In this setup you have your own domain (like myemailadress@mydomain.com). Postfix has to be configured to send and receive emails. Zarafa sends emails to postfix, and receives emails from postfix. &amp;lt;br&amp;gt; [[Image:Zarafa Schema mailserver.jpg|border|center|750px|Zarafa_Schema_mailserver.jpg]] &lt;br /&gt;
&lt;br /&gt;
==== Zarafa with postfix and fetchmail for POP3 / IMAP mailboxes  ====&lt;br /&gt;
&lt;br /&gt;
In this setup you have a email address from a provider (like myemailaddress@yahoo.com etc.). In this configuration fetchmail receives you email from the providers pop3/imap mailbox and delivers it to Zarafa. Zarafa sends emails to postfix which delivers it to your providers SMTP Server. &amp;lt;br&amp;gt; [[Image:Zarafa Schema pop3.jpg|border|center|750px|Zarafa_Schema_pop3.jpg]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Installing the QPKG  ==&lt;br /&gt;
&lt;br /&gt;
Most of the install is done in the QNAP webinterface &lt;br /&gt;
&lt;br /&gt;
=== Prerequisites  ===&lt;br /&gt;
&lt;br /&gt;
Make sure that you have a x86 or ARM-X19 based QNAP device. The Zarafa QPKG is reported to work on: TS219P+ / TS239 / TS259 Pro+ / TS659 Pro. It should work on the QNAP devices with firmware 3.5.x or greater. &lt;br /&gt;
&lt;br /&gt;
==== Install Optware  ====&lt;br /&gt;
&lt;br /&gt;
[[Install Optware IPKG]] &lt;br /&gt;
&lt;br /&gt;
==== Setup/Enable Webserver  ====&lt;br /&gt;
&lt;br /&gt;
(make sure that SSL is enabled for Z-Push/ActiveSync support) [[Image:Zarafa Webserver Configuration.png|border|center|400px|Zarafa Webserver Configuration.png]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Setup/Enable Mysql Server  ====&lt;br /&gt;
&lt;br /&gt;
Simply enable the Mysql Server [[Image:Zarafa MYSQL Configuration.png|border|center|400px|Zarafa MYSQL Configuration.png]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Download and Install Zarafa QPKG  ====&lt;br /&gt;
&lt;br /&gt;
You can download the latest QPKG from the [http://community.zarafa.com/pg/plugins/project/4338/developer/jdo/zarafa-for-qnap-nas Zarafa Community Hub]. Select the correct release (x86/ARM-X19), download and extract the ZIP file on your computer. Then go to the webinterface under Application Servers =&amp;amp;gt; QPKG Plugins and select Installation &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; [[Image:Zarafa QPKG Install.png|border|center|400px|Zarafa_QPKG_Install.png]] It can take up to 2 minutes to install Zarafa. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; After that you can enable the Zarafa QPKG: [[Image:Zarafa QPKG Enable.png|border|center|400px|Zarafa_QPKG_Enable.png]] &lt;br /&gt;
&lt;br /&gt;
=== Zarafa Webaccess  ===&lt;br /&gt;
&lt;br /&gt;
The webaccess is available under: http://YOURNASIP/webaccess &lt;br /&gt;
&lt;br /&gt;
== Configure Zarafa  ==&lt;br /&gt;
&lt;br /&gt;
The configuration of Zarafa is done via SSH. &lt;br /&gt;
&lt;br /&gt;
=== Create Zarafa Users  ===&lt;br /&gt;
&lt;br /&gt;
 zarafa-admin -c &amp;amp;lt;username&amp;amp;gt; -P -e &amp;amp;lt;email&amp;amp;gt; -f &amp;quot;&amp;amp;lt;full name&amp;amp;gt;&amp;quot;&lt;br /&gt;
 zarafa-admin -l&lt;br /&gt;
 zarafa-admin --details &amp;amp;lt;username&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Zarafa Configuration files  ===&lt;br /&gt;
&lt;br /&gt;
The Zarafa Configuration files are located in: &lt;br /&gt;
&lt;br /&gt;
 /etc/zarafa/&lt;br /&gt;
&lt;br /&gt;
=== View logfiles  ===&lt;br /&gt;
&lt;br /&gt;
The logfiles are located under /var/log/zarafa/ &lt;br /&gt;
&lt;br /&gt;
To view the logfile of the zarafa server type in: &lt;br /&gt;
&lt;br /&gt;
 tail /var/log/zarafa/server.log&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Starting / Stopping Zarafa  ===&lt;br /&gt;
&lt;br /&gt;
Start: &lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/Zarafa.sh start&lt;br /&gt;
&lt;br /&gt;
Stop: &lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/Zarafa.sh stop&lt;br /&gt;
&lt;br /&gt;
Restart: &lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/Zarafa.sh restart&lt;br /&gt;
&lt;br /&gt;
== Postfix / Fetchmail Configuration&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
Postfix can be used in various scenarios (Mailserver for a single domain, postfix with smarthost and getting mails from POP3/IMAP with fetchmail). &lt;br /&gt;
&lt;br /&gt;
This document currently describes the following configuration: &lt;br /&gt;
&lt;br /&gt;
*Postfix with smarthost and fetchmail for receiving mails from POP3/IMAP mailboxes &lt;br /&gt;
*Postfix with your own domain (without user database) &lt;br /&gt;
*Postfix with your own domain (virtual user database) &lt;br /&gt;
*Postfix with your own domain (mysql zarafa user database)&lt;br /&gt;
&lt;br /&gt;
Please look in the configuration description for the advantages. Usually the local user database configuration option should do the job. Please note also that you have to configure the MX records of your domain to point to your QNAP device. The port 25 is also needed to be forwarded when you want to use postfix with your own domain. More information about postfix information can be found [http://www.zarafa.com/wiki/index.php/MTA_integration here] or in the official Zarafa and postfix documentation. &lt;br /&gt;
&lt;br /&gt;
=== Prerequisites  ===&lt;br /&gt;
&lt;br /&gt;
Postfix and Fetchmail will be disabled by default setup. To enable them edit /etc/init.d/Zarafa.sh (you can also use vi as the editor if you want, if you want to install nano type in:&amp;amp;nbsp;ipkg install nano):&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 nano /etc/init.d/Zarafa.sh&lt;br /&gt;
&lt;br /&gt;
And find these lines: &lt;br /&gt;
&lt;br /&gt;
 # Change to TRUE to enable POSTFIX or Fetchmail&lt;br /&gt;
 POSTFIX_ENABLED=&amp;quot;FALSE&amp;quot;&lt;br /&gt;
 FETCHMAIL_ENABLED=&amp;quot;FALSE&amp;quot; &lt;br /&gt;
&lt;br /&gt;
and change them to (if you don't want to use one of them, simply don't change it&amp;amp;nbsp;:-) &lt;br /&gt;
&lt;br /&gt;
 # Change to TRUE to enable POSTFIX or Fetchmail&lt;br /&gt;
 POSTFIX_ENABLED=&amp;quot;TRUE&amp;quot;&lt;br /&gt;
 FETCHMAIL_ENABLED=&amp;quot;TRUE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
As QNAP does not have syslogd enabled by default and postfix logs to syslog, it is important to start syslogd once if you want to view logmessages. The syslog (with postfix messages) can be viewed in /var/log/messages &lt;br /&gt;
&lt;br /&gt;
 /sbin/syslogd&lt;br /&gt;
&lt;br /&gt;
=== Configure Postfix with smarthost and fetchmail for receiving mails from POP3/IMAP mailboxes  ===&lt;br /&gt;
&lt;br /&gt;
This section describes how to configure postfix/fetchmail for the following configuration &lt;br /&gt;
&lt;br /&gt;
*Emails will be received with fetchmail by using POP3/IMAP &lt;br /&gt;
*Fetchmail stores this emails into Zarafa &lt;br /&gt;
*Zarafa sends emails to postfix, which uses a smarthost/relay to deliver emails&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Postfix configuration  ====&lt;br /&gt;
&lt;br /&gt;
Open the main configuration file of postfix with nano &lt;br /&gt;
&lt;br /&gt;
 nano /etc/postfix/main.cf&lt;br /&gt;
&lt;br /&gt;
Search for the following line: &lt;br /&gt;
&lt;br /&gt;
 sendmail_path = /usr/sbin/sendmail&lt;br /&gt;
&lt;br /&gt;
and change it to: &lt;br /&gt;
&lt;br /&gt;
 sendmail_path = /usr/sbin/sendmail-postfix&lt;br /&gt;
&lt;br /&gt;
Please add the following configuration at the end of the file: &lt;br /&gt;
&lt;br /&gt;
 #Default user for postfix (this is nobody by default, QNAP NAS don't have nobody)&lt;br /&gt;
 default_privs = guest&lt;br /&gt;
 &lt;br /&gt;
 smtpd_sasl_auth_enable = yes&lt;br /&gt;
 smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination&lt;br /&gt;
 &lt;br /&gt;
 #Change SMARTHOST to the mailserver of your provider (the [] are important, do not remove them!)&lt;br /&gt;
 #Example: smtp.mail.yahoo.de&lt;br /&gt;
 relayhost = [SMARTHOST]&lt;br /&gt;
 smtp_sasl_auth_enable = yes&lt;br /&gt;
 smtp_sasl_security_options = noanonymous&lt;br /&gt;
 &lt;br /&gt;
 #This file contains the username and password of your provider&lt;br /&gt;
 smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd&lt;br /&gt;
 &lt;br /&gt;
 #Uncomment the following line to get debug output in case of problems with the smarthost&lt;br /&gt;
 #debug_peer_list = SMARTHOST&lt;br /&gt;
&lt;br /&gt;
Now you have to create the saslpasswd file for postfix. &lt;br /&gt;
&lt;br /&gt;
 nano /etc/postfix/saslpasswd&lt;br /&gt;
&lt;br /&gt;
Create one line with the smarthost that you selected in the main.cf and then add the username and password of your provider. &lt;br /&gt;
&lt;br /&gt;
 SMARTHOST      USERNAME:PASSWORD&lt;br /&gt;
&lt;br /&gt;
You have to create .db files of the saslpasswd file and the aliases files, so that postfix can read it (you have to repeat this everytime you change one of these files). &lt;br /&gt;
&lt;br /&gt;
Note: When you run postmap on aliases, you will get some warning messages - you can ignore them. If you get a message &amp;quot;postmap not found etc.&amp;quot; try to run it with /opt/sbin/postmap or /usr/sbin/postmap. If you&amp;amp;nbsp;get a message like &amp;quot;libdb-4.2.so not found&amp;quot; check for the libdb-4.2.so file in /opt/lib and create a symbolic link in /usr/lib with 'ln -s /opt/lib/libdb-4.2.so /usr/lib/libdb-4.2.so'.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 postmap /etc/postfix/saslpasswd&lt;br /&gt;
 postmap /etc/postfix/aliases&lt;br /&gt;
&lt;br /&gt;
Now it is time to test the configuration. &lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/Zarafa.sh restart&lt;br /&gt;
&lt;br /&gt;
Now you can view the postfix logfile. Try to send a email from zarafa webaccess. &lt;br /&gt;
&lt;br /&gt;
 tail -f /var/log/messages&lt;br /&gt;
&lt;br /&gt;
If you modified your configuration you have to restart postfix. If you want to try to resend your mails enter: postfix flush &lt;br /&gt;
&lt;br /&gt;
==== Configure fetchmail  ====&lt;br /&gt;
&lt;br /&gt;
Fetchmail retrieves emails from POP3 and IMAP accounts. This example shows how to query a POP3 account. &lt;br /&gt;
&lt;br /&gt;
 nano /etc/fetchmail/fetchmailrc&lt;br /&gt;
&lt;br /&gt;
 # every 60 seconds fetchmail tries to download new mail&lt;br /&gt;
 set daemon 60&lt;br /&gt;
 # Replace POP3SERVER and USERNAME with the correct values from your provider&lt;br /&gt;
 poll POP3SERVER protocol pop3 port 995 user USERNAME&lt;br /&gt;
 # Replace PASSWORD_OF_USERNAME with the password of the username &lt;br /&gt;
 password PASSWORD_OF_USERNAME ssl&lt;br /&gt;
 smtpaddress localhost&lt;br /&gt;
 # Replace ZARAFAUSER with the username of your local zarafauser where the mail shoud be delivered to.&lt;br /&gt;
 flush forcecr mda &amp;quot;/usr/bin/zarafa-dagent ZARAFAUSER&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You can start fetchmail with: &lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/Zarafa.sh restart&lt;br /&gt;
&lt;br /&gt;
Logfiles can be viewed with: &lt;br /&gt;
&lt;br /&gt;
 tail -f /var/log/fetchmail&lt;br /&gt;
&lt;br /&gt;
=== Configure Postfix with your own domain (without user database)  ===&lt;br /&gt;
&lt;br /&gt;
Edit the file /etc/postfix/master.cf and add the zarafa part seen below: &lt;br /&gt;
&lt;br /&gt;
 nano /etc/postfix/master.cf&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 # ==========================================================================&lt;br /&gt;
 # service type  private unpriv  chroot  wakeup  maxproc command + args&lt;br /&gt;
 #               (yes)   (yes)   (yes)   (never) (100)&lt;br /&gt;
 # ==========================================================================&lt;br /&gt;
 smtp      inet  n       -       n       -       -       smtpd&lt;br /&gt;
 zarafa    unix  -       n       n       -       10      pipe&lt;br /&gt;
 flags= user=vmail argv=/usr/bin/zarafa-dagent $(user)&lt;br /&gt;
 #smtp      inet  n       -       n       -       1       postscreen&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
(Note: before flags is a whitspace!!) &lt;br /&gt;
&lt;br /&gt;
Use this main.cf for postifx (modify myhostname, and mydomain and set them to your domain) &lt;br /&gt;
&lt;br /&gt;
 nano /etc/postfix/main.cf&lt;br /&gt;
&lt;br /&gt;
 # The queue_directory specifies the location of the Postfix queue.&lt;br /&gt;
 queue_directory = /var/spool/postfix&lt;br /&gt;
 # The command_directory parameter specifies the location of all&lt;br /&gt;
 # postXXX commands.&lt;br /&gt;
 command_directory = /usr/sbin&lt;br /&gt;
 # The daemon_directory parameter specifies the location of all Postfix&lt;br /&gt;
 # daemon programs (i.e. programs listed in the master.cf file). This&lt;br /&gt;
 # directory must be owned by root.&lt;br /&gt;
 daemon_directory = /usr/libexec/postfix&lt;br /&gt;
 # The data_directory parameter specifies the location of Postfix-writable&lt;br /&gt;
 # data files (caches, random numbers). This directory must be owned&lt;br /&gt;
 # by the mail_owner account (see below).&lt;br /&gt;
 data_directory = /var/lib/postfix&lt;br /&gt;
 mail_owner = postfix&lt;br /&gt;
 # DEBUGGING CONTROL&lt;br /&gt;
 # The debug_peer_level parameter specifies the increment in verbose&lt;br /&gt;
 # logging level when an SMTP client or server host name or address&lt;br /&gt;
 # matches a pattern in the debug_peer_list parameter.&lt;br /&gt;
 debug_peer_level = 2&lt;br /&gt;
 # INSTALL-TIME CONFIGURATION INFORMATION&lt;br /&gt;
 # sendmail_path: The full pathname of the Postfix sendmail command.&lt;br /&gt;
 # This is the Sendmail-compatible mail posting interface.&lt;br /&gt;
 sendmail_path = /usr/sbin/sendmail-postfix&lt;br /&gt;
 # newaliases_path: The full pathname of the Postfix newaliases command.&lt;br /&gt;
 # This is the Sendmail-compatible command to build alias databases.&lt;br /&gt;
 newaliases_path = /usr/bin/newaliases&lt;br /&gt;
 # mailq_path: The full pathname of the Postfix mailq command.  This&lt;br /&gt;
 # is the Sendmail-compatible mail queue listing command.&lt;br /&gt;
 mailq_path = /usr/bin/mailq&lt;br /&gt;
 # setgid_group: The group for mail submission and queue management&lt;br /&gt;
 # commands.  This must be a group name with a numerical group ID that&lt;br /&gt;
 # is not shared with other accounts, not even with the Postfix account.&lt;br /&gt;
 setgid_group = postdrop&lt;br /&gt;
 #the hostname&lt;br /&gt;
 myhostname = MYHOSTNAME&lt;br /&gt;
 #the domain you will receive mails from&lt;br /&gt;
 mydomain = MYDOMAIN.TLD&lt;br /&gt;
 mailbox_transport = zarafa:&lt;br /&gt;
 local_recipient_maps =&lt;br /&gt;
 zarafa_destination_recipient_limit = 1&lt;br /&gt;
 #information which domains are served by this postfix installation&lt;br /&gt;
 mydestination = $myhostname, $myhostname.local, localhost, $mydomain&lt;br /&gt;
 smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_unauth_destination&lt;br /&gt;
 smtpd_sender_restrictions = reject_unknown_address&lt;br /&gt;
 default_privs = guest&lt;br /&gt;
&lt;br /&gt;
Create a user named &amp;quot;vmail&amp;quot; (e.g. by using the QNAP administration page). &lt;br /&gt;
&lt;br /&gt;
Furthermore make sure that the variable &amp;quot;local_admin_users&amp;quot; in /etc/zarafa/server.cfg contains user &amp;quot;vmail&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;local_admin_users = admin vmail&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Create a valid aliases database with postmap (ignore the warning messages) &lt;br /&gt;
&lt;br /&gt;
 postmap /etc/postfix/aliases&lt;br /&gt;
&lt;br /&gt;
Then you can restart Zarafa with &lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/Zarafa.sh restart&lt;br /&gt;
&lt;br /&gt;
=== Configure Postfix with your own domain(s) (virtual user database)  ===&lt;br /&gt;
&lt;br /&gt;
In this configuration every user of zarafa who should receive emails has to be placed in a virtual userdatabase of postfix. If you add a new user to zarafa you have to modify the virtual userdatabse too. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; Edit the file /etc/init.d/Zarafa.sh to enable dagent and postfix &lt;br /&gt;
&lt;br /&gt;
 nano /etc/init.d/Zarafa.sh&lt;br /&gt;
&lt;br /&gt;
modify line 272 to enable zarafa-dagent: &lt;br /&gt;
&lt;br /&gt;
 #${QPKG_DIR}/etc/init.d/zarafa-dagent start&lt;br /&gt;
&lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
 ${QPKG_DIR}/etc/init.d/zarafa-dagent start&lt;br /&gt;
&lt;br /&gt;
Use this main.cf for postfix (modify myhostname, and virtual_mailbox_domain and set them to your domain) &lt;br /&gt;
&lt;br /&gt;
 # The queue_directory specifies the location of the Postfix queue.&lt;br /&gt;
 queue_directory = /var/spool/postfix&lt;br /&gt;
 # The command_directory parameter specifies the location of all&lt;br /&gt;
 # postXXX commands.&lt;br /&gt;
 command_directory = /usr/sbin&lt;br /&gt;
 # The daemon_directory parameter specifies the location of all Postfix&lt;br /&gt;
 # daemon programs (i.e. programs listed in the master.cf file). This&lt;br /&gt;
 # directory must be owned by root.&lt;br /&gt;
 daemon_directory = /usr/libexec/postfix&lt;br /&gt;
 # The data_directory parameter specifies the location of Postfix-writable&lt;br /&gt;
 # data files (caches, random numbers). This directory must be owned&lt;br /&gt;
 # by the mail_owner account (see below).&lt;br /&gt;
 data_directory = /var/lib/postfix&lt;br /&gt;
 mail_owner = postfix&lt;br /&gt;
 # DEBUGGING CONTROL&lt;br /&gt;
 # The debug_peer_level parameter specifies the increment in verbose&lt;br /&gt;
 # logging level when an SMTP client or server host name or address&lt;br /&gt;
 # matches a pattern in the debug_peer_list parameter.&lt;br /&gt;
 debug_peer_level = 2&lt;br /&gt;
 # INSTALL-TIME CONFIGURATION INFORMATION&lt;br /&gt;
 # sendmail_path: The full pathname of the Postfix sendmail command.&lt;br /&gt;
 # This is the Sendmail-compatible mail posting interface.&lt;br /&gt;
 sendmail_path = /usr/sbin/sendmail-postfix&lt;br /&gt;
 # newaliases_path: The full pathname of the Postfix newaliases command.&lt;br /&gt;
 # This is the Sendmail-compatible command to build alias databases.&lt;br /&gt;
 newaliases_path = /usr/bin/newaliases&lt;br /&gt;
 # mailq_path: The full pathname of the Postfix mailq command.  This&lt;br /&gt;
 # is the Sendmail-compatible mail queue listing command.&lt;br /&gt;
 mailq_path = /usr/bin/mailq&lt;br /&gt;
 # setgid_group: The group for mail submission and queue management&lt;br /&gt;
 # commands.  This must be a group name with a numerical group ID that&lt;br /&gt;
 # is not shared with other accounts, not even with the Postfix account.&lt;br /&gt;
 setgid_group = postdrop&lt;br /&gt;
 #the hostname&lt;br /&gt;
 myhostname = MYHOSTNAME&lt;br /&gt;
 virtual_mailbox_domains = EXAMPLE.NET, EXAMPLE.COM&lt;br /&gt;
 virtual_mailbox_maps = hash:/etc/postfix/virtual&lt;br /&gt;
 virtual_alias_maps = hash:/etc/postfix/virtual&lt;br /&gt;
 virtual_transport = lmtp:127.0.0.1:2003&lt;br /&gt;
 #information which domains are served by this postfix installation&lt;br /&gt;
 mydestination = $myhostname, $myhostname.local, localhost, $mydomain&lt;br /&gt;
 smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_unauth_destination&lt;br /&gt;
 smtpd_sender_restrictions = reject_unknown_address&lt;br /&gt;
 default_privs = guest&lt;br /&gt;
&lt;br /&gt;
Next create/edit the virtual userdatabase(contains mapping between postfix and zarafa users) adapt it to your needs &lt;br /&gt;
&lt;br /&gt;
 nano /etc/postfix/virtual&lt;br /&gt;
&lt;br /&gt;
 #Emailaddress or alias        primary mailaddress of zarafa user&lt;br /&gt;
 john@example.com              john@example.com&lt;br /&gt;
 user1@example.com             user1@example.com&lt;br /&gt;
 user1@example.net             user1@example.com&lt;br /&gt;
 alias_user1@example.com       user1@example.com&lt;br /&gt;
 info@example.com              user2@example.com, user1@example.com&lt;br /&gt;
&lt;br /&gt;
Next create the virtual.db file with postmap and create a valid aliases database with postmap (ignore the warning messages) &lt;br /&gt;
&lt;br /&gt;
 postmap /etc/postfix/aliases&lt;br /&gt;
 postmap /etc/postfix/virtual&lt;br /&gt;
&lt;br /&gt;
Then you can restart Zarafa with &lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/Zarafa.sh restart&lt;br /&gt;
&lt;br /&gt;
=== Configure Postfix with your own domain (mysql zarafa user database)  ===&lt;br /&gt;
&lt;br /&gt;
In this configuration postfix queries the zarafa user database (stored in the mysql database). When you create a Zarafa user, postfix knows this automaticly. &lt;br /&gt;
&lt;br /&gt;
Edit the file /etc/postfix/master.cf and add the zarafa part seen below: &lt;br /&gt;
&lt;br /&gt;
 nano /etc/postfix/master.cf&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 # ==========================================================================&lt;br /&gt;
 # service type  private unpriv  chroot  wakeup  maxproc command + args&lt;br /&gt;
 #               (yes)   (yes)   (yes)   (never) (100)&lt;br /&gt;
 # ==========================================================================&lt;br /&gt;
 smtp      inet  n       -       n       -       -       smtpd&lt;br /&gt;
 zarafa    unix  -       n       n       -       10      pipe&lt;br /&gt;
 flags= user=vmail argv=/usr/bin/zarafa-dagent $(user)&lt;br /&gt;
 #smtp      inet  n       -       n       -       1       postscreen&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
(Note: before flags is a whitspace!!) &lt;br /&gt;
&lt;br /&gt;
Use this main.cf for postifx (modify myhostname, and mydomain and set them to your domain) &lt;br /&gt;
&lt;br /&gt;
 nano /etc/postfix/main.cf&lt;br /&gt;
&lt;br /&gt;
 # The queue_directory specifies the location of the Postfix queue.&lt;br /&gt;
 queue_directory = /var/spool/postfix&lt;br /&gt;
 # The command_directory parameter specifies the location of all&lt;br /&gt;
 # postXXX commands.&lt;br /&gt;
 command_directory = /usr/sbin&lt;br /&gt;
 # The daemon_directory parameter specifies the location of all Postfix&lt;br /&gt;
 # daemon programs (i.e. programs listed in the master.cf file). This&lt;br /&gt;
 # directory must be owned by root.&lt;br /&gt;
 daemon_directory = /usr/libexec/postfix&lt;br /&gt;
 # The data_directory parameter specifies the location of Postfix-writable&lt;br /&gt;
 # data files (caches, random numbers). This directory must be owned&lt;br /&gt;
 # by the mail_owner account (see below).&lt;br /&gt;
 data_directory = /var/lib/postfix&lt;br /&gt;
 mail_owner = postfix&lt;br /&gt;
 # DEBUGGING CONTROL&lt;br /&gt;
 # The debug_peer_level parameter specifies the increment in verbose&lt;br /&gt;
 # logging level when an SMTP client or server host name or address&lt;br /&gt;
 # matches a pattern in the debug_peer_list parameter.&lt;br /&gt;
 debug_peer_level = 2&lt;br /&gt;
 # INSTALL-TIME CONFIGURATION INFORMATION&lt;br /&gt;
 # sendmail_path: The full pathname of the Postfix sendmail command.&lt;br /&gt;
 # This is the Sendmail-compatible mail posting interface.&lt;br /&gt;
 sendmail_path = /usr/sbin/sendmail-postfix&lt;br /&gt;
 # newaliases_path: The full pathname of the Postfix newaliases command.&lt;br /&gt;
 # This is the Sendmail-compatible command to build alias databases.&lt;br /&gt;
 newaliases_path = /usr/bin/newaliases&lt;br /&gt;
 # mailq_path: The full pathname of the Postfix mailq command.  This&lt;br /&gt;
 # is the Sendmail-compatible mail queue listing command.&lt;br /&gt;
 mailq_path = /usr/bin/mailq&lt;br /&gt;
 # setgid_group: The group for mail submission and queue management&lt;br /&gt;
 # commands.  This must be a group name with a numerical group ID that&lt;br /&gt;
 # is not shared with other accounts, not even with the Postfix account.&lt;br /&gt;
 setgid_group = postdrop&lt;br /&gt;
 #the hostname&lt;br /&gt;
 myhostname = MYHOSTNAME&lt;br /&gt;
 #the domain you will receive mails from&lt;br /&gt;
 mydomain = MYDOMAIN&lt;br /&gt;
 #alias map file which contains the information how to connect to zarafa databse&lt;br /&gt;
 virtual_alias_maps = mysql:/etc/postfix/mysql-aliases.cf&lt;br /&gt;
 #information which domains are served by this postfix installation&lt;br /&gt;
 mydestination = $myhostname, $myhostname.local, localhost, $mydomain&lt;br /&gt;
 smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, permit_sasl_authenticated,  reject_unauth_destination&lt;br /&gt;
 smtpd_sender_restrictions = reject_unknown_address&lt;br /&gt;
 #Transport method of the mails =&amp;amp;gt; Zarafa dagent&lt;br /&gt;
 mailbox_transport = zarafa&lt;br /&gt;
 zarafa_destination_recipient_limit = 1&lt;br /&gt;
 mailbox_command = /usr/bin/zarafa-dagent &amp;quot;$USER&amp;quot;&lt;br /&gt;
 default_privs = guest&lt;br /&gt;
&lt;br /&gt;
Now create/edit the file /etc/postfix/mysql-aliases.cf &lt;br /&gt;
&lt;br /&gt;
 nano /etc/postfix/mysql-aliases.cf&lt;br /&gt;
&lt;br /&gt;
 # The user name and password to log into the mysql server.&lt;br /&gt;
 user = root&lt;br /&gt;
 password = admin&lt;br /&gt;
 hosts = 127.0.0.1&lt;br /&gt;
 dbname = zarafa&lt;br /&gt;
 # For Postfix 2.2 and later The SQL query template.&lt;br /&gt;
 # See mysql_table(5) for details.&lt;br /&gt;
 query = select value from objectproperty where objectid=(select objectid from objectproperty where value='%s' limit 1) and propname='loginname';&lt;br /&gt;
&lt;br /&gt;
Create a user named &amp;quot;vmail&amp;quot; (e.g. by using the QNAP administration page). &lt;br /&gt;
&lt;br /&gt;
Furthermore make sure that the variable &amp;quot;local_admin_users&amp;quot; in /etc/zarafa/server.cfg contains user &amp;quot;vmail&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;local_admin_users = admin vmail&amp;lt;/pre&amp;gt; &lt;br /&gt;
Then create the aliases.db if not done before: &lt;br /&gt;
&lt;br /&gt;
 postmap /etc/postfix/aliases&lt;br /&gt;
&lt;br /&gt;
Please make sure that you have enabled postfix in the file /etc/init.d/Zarafa.sh and restart zarafa &lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/init.d/Zarafa.sh restart&amp;lt;/pre&amp;gt; &lt;br /&gt;
== Backup&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
Zarafa consists of three types of files:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
#Program data&amp;lt;br&amp;gt; &lt;br /&gt;
#Configuration data&amp;lt;br&amp;gt; &lt;br /&gt;
#Mail data&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Program data&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
Program data is the data installed by the QPKG, so if you keep a copy of the latest QPKG, you are covered.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Configuration data&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
Configuration data is found in /etc/component. Untill now three components are used:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Zarafa&amp;lt;br&amp;gt; &lt;br /&gt;
*Postfix&amp;lt;br&amp;gt; &lt;br /&gt;
*Fetchmail&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A simple backup of these folders is sufficient. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
To make a backup of these folders the following commands must be used in a script:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;rsync -avr /etc/zarafa/ /share/Public/Zarafa/etc/Zarafa&lt;br /&gt;
rsync -avr /etc/fetchmail/ /share/Public/Zarafa/etc/fetchmail&lt;br /&gt;
rsync -avr /etc/postfix/ /share/Public/Zarafa/etc/postfix&amp;lt;/pre&amp;gt; &lt;br /&gt;
Rsync is used, because the files will be the same and the standard CP command will not overwrite an existing file on the target location, rsync is with the above syntax forced to overwrite.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The target location is the default public share of the QNAP, it is advised to keep an eye on security on the public share, or pick an alternate location.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Mail data&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
Mail data is the tricky one, as the mail data is stored in the MYSQL database. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
To export the database, the following command needs to be executed (watch the password string, this needs to be your own password for MYSQL):&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/local/mysql/bin/mysqldump --single-transaction -p zarafa &amp;amp;gt;/share/Public/Zarafa/zarafa.dmp --password=password&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
The last password needs to be replaced with your MYSQL password.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If you have chosen to store the attachments not in the database, you have to copy the attachment location also with the Rsync command.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
All commands combined in one script are as follows:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;rsync -avr /etc/zarafa/ /share/Public/Zarafa/etc/Zarafa&lt;br /&gt;
rsync -avr /etc/fetchmail/ /share/Public/Zarafa/etc/fetchmail&lt;br /&gt;
rsync -avr /etc/postfix/ /share/Public/Zarafa/etc/postfix&lt;br /&gt;
/usr/local/mysql/bin/mysqldump --single-transaction -p zarafa &amp;amp;gt;/share/Public/Zarafa/zarafa.dmp --password=password&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
This script should run on a daily basis in order to keep your data safe. &lt;br /&gt;
&lt;br /&gt;
Now all data is placed in one tree, but it still sits on the QNAP, so QNAP dead, data lost. &lt;br /&gt;
&lt;br /&gt;
To prevent data loss, the next step must be to backup the data to a secondary device, a PC&amp;amp;nbsp;for instance. &lt;br /&gt;
&lt;br /&gt;
After getting the data external your Zarafa config and data is safe! &lt;br /&gt;
&lt;br /&gt;
The above script does not garantee stages, all is overwritten every backup. So if you delete email and want to restore this email after a few days, this script will not help. This script does help in case of a disaster (a dead QNAP for instance) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
= Creating the .QPKG (for current and upcoming releases)  =&lt;br /&gt;
&lt;br /&gt;
In this section the maintenance to the package will be described in order to keep the package &amp;quot;open&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>