summaryrefslogtreecommitdiff
path: root/Administrator_Guide/pot/Upgrading_Cyrus_IMAP_from_2.3_to_2.4.pot
blob: c1c5679342fd54c7570dbcf28e6c28985df8aa6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
# 
# AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
"POT-Creation-Date: 2012-11-20T12:43:37\n"
"PO-Revision-Date: 2012-11-20T12:43:37\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
"Content-Type: application/x-publican; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. Tag: title
#, no-c-format
msgid "Upgrading Cyrus IMAP from 2.3 to 2.4"
msgstr ""

#. Tag: para
#, no-c-format
msgid "As a seperate set of procedures, we have documented for you, the process of upgrading Cyrus IMAP 2.3 to Cyrus IMAP 2.4 on the same server system. This process involves getting some information out of Cyrus IMAP 2.3 before shutting it down and upgrading Cyrus IMAP 2.3 to 2.4."
msgstr ""

#. Tag: title
#, no-c-format
msgid "Preparations"
msgstr ""

#. Tag: para
#, no-c-format
msgid "During the migration, the Kolab 2 server cannot be allowed to;"
msgstr ""

#. Tag: para
#, no-c-format
msgid "Receive new email."
msgstr ""

#. Tag: para
#, no-c-format
msgid "Let users post/submit new data."
msgstr ""

#. Tag: para
#, no-c-format
msgid "The easiest way to prevent any of this happening is to shut down the MTA and restrict access to the IMAP and POP services through firewalling."
msgstr ""

#. Tag: para
#, no-c-format
msgid "Remember to create a backup of the data."
msgstr ""

#. Tag: title
#, no-c-format
msgid "Upgrading to Cyrus IMAP 2.4"
msgstr ""

#. Tag: para
#, no-c-format
msgid "List the existing folder annotations, and save them to a file:"
msgstr ""

#. Tag: screen
#, no-c-format
msgid "# <userinput>kolab list-mailbox-metadata \\</userinput>\n"
"&gt; <userinput>\"user/*@example.org\" &gt; metadata.txt</userinput>\n"
"# <userinput>kolab list-mailbox-metadata \\</userinput>\n"
"&gt; <userinput>\"shared/*@example.org\" &gt;&gt; metadata.txt</userinput>"
msgstr ""

#. Tag: para
#, no-c-format
msgid "Stop the Cyrus IMAP 2.3 service."
msgstr ""

#. Tag: para
#, no-c-format
msgid "Convert the annotations database to flat. This example converts the database from skiplist:"
msgstr ""

#. Tag: screen
#, no-c-format
msgid "# <userinput>/path/to/cvt_cyrusdb /path/to/annotations.db skiplist /path/to/annotations.txt flat</userinput>"
msgstr ""

#. Tag: para
#, no-c-format
msgid "Copy both annotations.db and annotations.txt to a safe location."
msgstr ""

#. Tag: para
#, no-c-format
msgid "Upgrade to Cyrus IMAP 2.4."
msgstr ""

#. Tag: para
#, no-c-format
msgid "Start the Cyrus IMAP 2.4 service:"
msgstr ""

#. Tag: screen
#, no-c-format
msgid "# <userinput>service cyrus-imapd start</userinput>"
msgstr ""

#. Tag: para
#, no-c-format
msgid "Users should not yet be allowed to interact with the system at this point. We suggest closing access to the system through the firewall."
msgstr ""

#. Tag: para
#, no-c-format
msgid "Verify annotations have been preserved:"
msgstr ""

#. Tag: screen
#, no-c-format
msgid "# <userinput>kolab -c conf/kolab-kolab2.example.org.conf \\</userinput>\n"
"&gt; <userinput>list-mailbox-metadata \"user/john.doe/Calendar*@example.org\"</userinput>\n"
"Folder user/john.doe/Calendar@example.org\n"
"  /shared/vendor/cmu/cyrus-imapd/lastpop\n"
"  /shared/vendor/cmu/cyrus-imapd/partition&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default\n"
"  /shared/vendor/cmu/cyrus-imapd/lastupdate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8-Aug-2012 16:16:06 +0200\n"
"  /shared/vendor/cmu/cyrus-imapd/size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;266564\n"
"  /shared/vendor/cmu/cyrus-imapd/pop3newuidl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;true\n"
"  /shared/vendor/cmu/cyrus-imapd/sharedseen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;false\n"
"  /shared/vendor/kolab/folder-type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event.default\n"
"  /shared/vendor/cmu/cyrus-imapd/condstore&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;true\n"
"  /shared/vendor/cmu/cyrus-imapd/duplicatedeliver&nbsp;&nbsp;&nbsp;false\n"
"  /shared/vendor/kolab/incidences-for&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;admins\n"
"  /shared/vendor/kolab/folder-test&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;true\n"
"Folder user/john.doe/Calendar/Private@example.org\n"
"  /shared/vendor/cmu/cyrus-imapd/lastpop\n"
"  /shared/vendor/cmu/cyrus-imapd/partition&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default\n"
"  /shared/vendor/cmu/cyrus-imapd/lastupdate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8-Aug-2012 16:08:58 +0200\n"
"  /shared/vendor/cmu/cyrus-imapd/condstore&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;true\n"
"  /shared/vendor/cmu/cyrus-imapd/pop3newuidl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;true\n"
"  /shared/vendor/cmu/cyrus-imapd/size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;305426\n"
"  /shared/vendor/cmu/cyrus-imapd/sharedseen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;false\n"
"  /shared/vendor/kolab/folder-type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event\n"
"  /shared/vendor/cmu/cyrus-imapd/duplicatedeliver&nbsp;&nbsp;&nbsp;false\n"
"# <userinput>kolab list-mailbox-metadata \"user/john.doe/Calendar*@example.org\"</userinput>\n"
"Folder user/john.doe/Calendar@example.org\n"
"  /shared/vendor/cmu/cyrus-imapd/lastpop\n"
"  /shared/vendor/cmu/cyrus-imapd/partition&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default\n"
"  /shared/vendor/cmu/cyrus-imapd/lastupdate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8-Aug-2012 16:16:27 +0200\n"
"  /shared/vendor/cmu/cyrus-imapd/duplicatedeliver&nbsp;&nbsp;&nbsp;false\n"
"  /shared/vendor/cmu/cyrus-imapd/pop3newuidl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;true\n"
"  /shared/vendor/cmu/cyrus-imapd/size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;266564\n"
"  /shared/vendor/cmu/cyrus-imapd/sharedseen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;false\n"
"  /shared/vendor/kolab/folder-type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event.default\n"
"Folder user/john.doe/Calendar/Private@example.org\n"
"  /shared/vendor/cmu/cyrus-imapd/lastpop\n"
"  /shared/vendor/cmu/cyrus-imapd/partition&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default\n"
"  /shared/vendor/cmu/cyrus-imapd/lastupdate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8-Aug-2012 16:27:44 +0200\n"
"  /shared/vendor/cmu/cyrus-imapd/duplicatedeliver&nbsp;&nbsp;&nbsp;false\n"
"  /shared/vendor/cmu/cyrus-imapd/pop3newuidl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;true\n"
"  /shared/vendor/cmu/cyrus-imapd/size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;305426\n"
"  /shared/vendor/cmu/cyrus-imapd/sharedseen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;false"
msgstr ""

#. Tag: para
#, no-c-format
msgid "If not, like in the example, use the previously saved <filename>metadata.txt</filename> to restore the annotations:"
msgstr ""

#. Tag: programlisting
#, no-c-format
msgid "#!/bin/bash\n"
"\n"
"# Interesting Annotations\n"
"declare -a ia\n"
"\n"
"ia[${#ia[@]}]=\"/shared/vendor/kolab/folder-type\"\n"
"ia[${#ia[@]}]=\"/shared/vendor/kolab/folder-test\"\n"
"\n"
"cat metadata.txt | \\\n"
"    while read line; do\n"
"        if [ ! -z \"$(echo $line | grep ^Folder)\" ]; then\n"
"            current_folder=$(echo $line | cut -d' ' -f2-)\n"
"\n"
"            echo \"Folder: '${current_folder}'\"\n"
"        else\n"
"            annotation_key=$(echo $line | awk '{print $1}')\n"
"            annotation_value=$(echo $line | awk '{print $2}')\n"
"\n"
"            i=0\n"
"            set_annotation=0\n"
"            while [ $i -lt ${#ia[@]} ]; do\n"
"                if [ \"${ia[$i]}\" == \"${annotation_key}\" ]; then\n"
"                    set_annotation=1\n"
"                    break\n"
"                fi\n"
"                let i++\n"
"            done\n"
"\n"
"            if [ ${set_annotation} -eq 0 ]; then\n"
"                continue\n"
"            fi\n"
"\n"
"            echo \"Setting ${annotation_key} to ${annotation_value}\"\n"
"\n"
"            kolab set-mailbox-metadata \"${current_folder}\" \\\n"
"                \"${annotation_key}\" \"${annotation_value}\"\n"
"        fi\n"
"    done"
msgstr ""