add tests for UiUtils::Formatting::prettySize
[trojita.git] / docs / index.docbook
blob6c04a8c07861d234f10fcf6e36cc888b89dda49f
1 <?xml version="1.0" ?>
2 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN"
3 "dtd/kdex.dtd" [
4 <!ENTITY trojita "<application>Trojitá</application>">
5 <!ENTITY kappname "&trojita;">
6 <!ENTITY package "extragera-pim">
7 <!ENTITY % addindex "IGNORE">
8 <!ENTITY % English "INCLUDE">
9 ]>
10 <book id="trojita" lang="&language;">
12 <bookinfo>
13 <title>The &trojita; Handbook</title>
15 <authorgroup>
16 <author>
17 <personname>
18 <firstname>Randall</firstname>
19 <surname>Wood</surname>
20 </personname>
21 <email>randall+kde@woodbriceno.net</email>
22 </author>
23 <!-- TRANS:ROLES_OF_TRANSLATORS -->
24 </authorgroup>
26 <copyright>
27 <year>2013</year>
28 <holder>Randall Wood</holder>
29 </copyright>
30 <legalnotice>&FDLNotice;</legalnotice>
32 <date>2013-01-31</date>
34 <releaseinfo>0.3.92 (&kde; 4.9)</releaseinfo>
36 <abstract>
37 <para>
38 &trojita; is an email program ("client") for IMAP accounts. It is a
39 stand-alone program not associated with any Information Suites or equivalent.
40 It prioritizes efficient and fast data transfer, taking care not to re-download
41 any information that has already been downloaded, and being conservative about
42 network usage when you are paying by the minute. Currently
43 under intensive development, it is lacking some features but is evolving fast.
44 </para>
45 </abstract>
47 <keywordset>
48 <keyword>KDE</keyword>
49 <keyword>extragear</keyword>
50 <keyword>email</keyword>
51 <keyword>IMAP</keyword>
52 </keywordset>
54 </bookinfo>
56 <chapter id="introduction">
57 <title>Introduction</title>
59 <para>
60 &trojita; is an email program ("client") focused on IMAP email accounts,
61 where the mail remains on the server but is manipulated by the software you run
62 on the computer under your fingertips. It is designed to be simple (it can be
63 built using only one single dependent library), and fast and efficient over the
64 network, economizing resources and limiting data transfer. Its GUI is intended
65 to be uncluttered and efficient, and it provides "expensive mode" data transfer,
66 that reduces the length of its
67 conversation with the server to a minimum. It is a stand-alone program, not
68 part of a bigger or more complex suite. As it is under development, some
69 features are still missing.
70 </para>
71 </chapter>
73 <chapter id="using-kapp">
74 <title>Using &trojita;</title>
76 <para>
77 &trojita; allows you to read, write, organize, search for, and send
78 email. If you've got an IMAP email account, &trojita; will allow you to
79 access and use it. IMAP is a protocol that allows
80 your mail to stay on the server, rather than downloading it to your local
81 machine. However, &trojita; does in fact download parts of your
82 messages &ndash; even all of your messages &ndash; for convenience. In the
83 1990s, most people used POP3 mailboxes, and their email software downloaded
84 all their messages, removing them from the server. The disadvantage was that
85 if you used any other computer, your messages were not available. IMAP solves
86 that problem by keeping the mail on the server. The software you use on your
87 local computer/cellphone simply issues instructions ("reply to this email,"
88 "display this email," &etc;) for the server to execute.</para>
90 <para>First you need an IMAP account. There are many providers;
91 <ulink url="http://fastmail.fm">FastMail</ulink> is one;
92 <ulink url="http://tuffmail.com">Tuffmail</ulink> and
93 <ulink url="http://pobox.com">Pobox</ulink> are others.
94 Google's Gmail service provides IMAP access to your Gmail account (Outlook and
95 others do not). And if the manager of your &Microsoft; <application>Exchange</application> server has
96 configured it, you can access <application>Exchange</application> through IMAP as well. If you have
97 got an IMAP account, a user name and password, that is all you should
98 need to use &trojita; to access it.</para>
100 <para>Note that not all IMAP providers are equal and some offer service
101 that is frustratingly slow. &Microsoft;'s <application>Exchange</application> server too is
102 reported to be somewhat slow. If you choose a good provider and use fast
103 software, you'll be surprised how pleasant an experience it can be.</para>
105 <sect1 id="configure-account">
106 <title>Configuring your IMAP Account</title>
107 <para>First, click on the <guilabel>General</guilabel> tab of the Settings box. Add your IMAP
108 account as a new account, using these parameters:
110 <itemizedlist>
111 <listitem><para>Real Name: the name you want to show on your
112 emails (your own first and last name)</para></listitem>
113 <listitem><para>Email: your email address</para></listitem>
114 <listitem><para>Organisation: your company name (optional)</para></listitem>
115 <listitem><para>Signature: any text you want to appear at the
116 bottom of your emails, like your website name or a slogan</para></listitem>
117 </itemizedlist>
118 </para>
120 <para>These settings become an identity, and you can have several, if you
121 want, if for example, some of your mail is part of a mailing list where
122 your messages should look different (a different signature line, for
123 example). Note however that at present, &trojita; does not yet permit
124 multiple IMAP accounts (that is, use with multiple servers).</para>
126 <para>Next, add the connection parameters necessary to access your
127 account.
128 <itemizedlist>
129 <listitem><para>Method: choose SSL, if your provider requires
130 it. Otherwise, choose "TCP" for a connection that starts
131 unencrypted and may be upgraded to encryption while connecting. And if your
132 provider requires you to perform that upgrade to encryption, check the "perform
133 STARTTLS command" to ensure it does. "Local process" is for advanced users who,
134 for example, are connecting to their provider over another SSH agent (in this
135 case you'd put something like <userinput>ssh imap.provider.org dovecot --exec-mail imap</userinput>).
136 Generally, TCP or SSL are your two most likely choices.</para></listitem>
137 <listitem><para>IMAP Server: is your provider's server (&eg;
138 mail.host.com)</para></listitem>
139 <listitem><para>Port: this parameter should change
140 automatically depending on what you enter for "IMAP Server."
141 Typically it is 143 for unencrypted connections and 993 for
142 SSL connections.</para></listitem>
143 <listitem><para>Username: your username</para></listitem>
144 <listitem><para>Password: your password. At present, &trojita;
145 stores your user name
146 and password in a plain text file on your computer. This
147 is not secure! If that worries you, leave the password
148 field blank, and &trojita; will ask you once for your
149 password, and keep it in memory until the application exits.</para></listitem>
150 <listitem><para>Start in Offline Mode:</para></listitem>
151 <listitem><para>Blacklisted Capabilities: &trojita;
152 strives to be standards compliant. But some servers that
153 advertise standards compliance are not actually so. If
154 you're aware of some features that your provider advertises
155 but does not actually provide, listing them here allows
156 &trojita; to politely ignore them.</para></listitem>
157 </itemizedlist>
158 </para>
160 <para>The <guilabel>Offline</guilabel> mode tab is where you configure &trojita;'s
161 ability to store local copies of messages on your server. The advantage
162 of saving a copy locally is obvious: you can access it later without
163 reconnecting. The disadvantages include filling up your local hard disk,
164 and of course the security risk if anyone ever goes exploring on your
165 computer. &trojita;'s default is to store local copies
166 indefinitely, but here you may choose if you prefer to store up to a
167 certain number of days, or to not store at all. Note that the code to
168 clean the message cache has not yet been implemented, so at present you
169 should assume the message cache will not be pruned.</para>
171 <para>The <guilabel>SMTP</guilabel> tab is where you configure sending email.
172 <itemizedlist>
173 <listitem><para>Method: choose SMTP for unencrypted
174 connections, or "secure SMTP" if you prefer (and your
175 provider accepts) mail sent over SSL. If you choose
176 "local sendmail-compatible" &trojita; will simply
177 pass your mail to the sendmail app running on your local
178 computer (and if you haven't got one, it will fail).
179 Choosing this option requires you specify the sendmail
180 parameters for using your local sendmail.</para></listitem>
181 <listitem><para>SMTP server: the name of the server to
182 which your mail should be sent.</para></listitem>
183 <listitem><para>Port: This parameter should change
184 automatically depending on what you choose for "Method."
185 Typically, it's 587 for unencrypted mail, and 465 for mail
186 sent over SSL.</para></listitem>
187 <listitem><para>Sendmail Executable: is only required if
188 you've chosen "local sendmail-compatible" as your method. If
189 so, here you should put whatever command is required for your
190 message to be sent to your local sendmail app. The default is
191 "sendmail -bm -oi" but if your local configuration is
192 non-standard, you'll have to adjust this parameter
193 appropriately.</para></listitem>
194 <listitem><para>StartTLS: check this box if your provider
195 requires a TLS connection to send encrypted mail (this is not
196 the same as using SSL by choosing "Secure SMTP" as your method
197 above).</para></listitem>
198 <listitem><para>SMTP Auth: if you must input a user name and
199 password in order to send mail, check this box. In the modern
200 age, you almost always have to do so, as otherwise spammers
201 send unwanted messages through the server.</para></listitem>
202 <listitem><para>Username: your user name.</para></listitem>
203 <listitem><para>Your password.</para></listitem>
204 <listitem><para>Save outgoing mail: if you check this box,
205 &trojita; will save a copy of every mail you send.
206 This has been the default setting for all email programs for
207 so long now that few people even know it's possible to not do
208 so!</para></listitem>
209 <listitem><para>Sent folder name: If you do decide to keep a
210 local copy of your sent mail, choose in which folder you'd
211 like to keep it.</para></listitem>
212 <listitem><para>Send with BURL: The BURL extension is an extension to the IMAP
213 standard, implemented in 2006, so not all servers
214 make the service available. Imagine you have a huge email in
215 your inbox with an attachment, and you'd like to forward that
216 message. The normal way requires your IMAP client to download
217 that huge message, and then resend it (causing two large
218 network transfers). The BURL extension allows you to send
219 that message without having to download it first. If your
220 provider permits BURL, it's worth selecting this option.</para></listitem>
221 </itemizedlist>
223 </para>
224 </sect1>
227 <sect1 id="reading-mail">
228 <title>Reading Mail with &trojita;</title>
230 <para>&trojita; presents a three paned interface that should be
231 anyone who has ever used email before. On the left side is a list of all
232 your email folders, probably INBOX and some others. On the right side
233 are two panes: the top pane shows the list of all messages in the current
234 folder, and the bottom pane shows the message selected in the top pane.
235 &Microsoft; Outlook, &kmail; and many other email clients all use this
236 same layout. </para>
238 <para>Other layouts are available, however. Under the <guimenu>View</guimenu> menu, simply
239 select <menuchoice><guimenu>Layout</guimenu> <guimenuitem>Wide</guimenuitem></menuchoice>
240 to choose instead a three pane layout suitable for
241 larger, wider screens, where your folders are shown in the left column,
242 the messages of the selected folder in the center column, and the
243 contents of the selected message in the right column.</para>
245 <para>When you select a message, it will be displayed below. Right click
246 on the selected message in the top pane if you'd like to delete the
247 message, save it to disk as a text file, or view all the headers.</para>
249 <para>To respond to, or forward a message, use the buttons on the
250 toolbar, as no keystroke shortcuts are currently defined. Choose
251 <guibutton>Private Reply</guibutton> to respond only to the sender. Choose <guibutton>Reply to All</guibutton> if
252 you'd like to reply to the sender and everyone else on the To: or CC:
253 lines. If the message arrived through a properly-configured mailing
254 list, the <guibutton>Reply to Mailing List</guibutton> option will also be made available.</para>
256 <note><para>At present, the "Forward message" function has not yet been
257 included.</para></note>
259 </sect1>
261 <sect1 id="composing-mail">
262 <title>Writing/Composing Mail</title>
264 <para>To compose a new message, click the icon at the far left of the
265 toolbar. A new message window will appear, where you can choose your
266 recipients, compose your text, and send. If you get interrupted and need
267 to save a draft, you can do so by clicking on the little expander menu
268 next to the send button. A draft will then be saved in your drafts
269 folder.</para>
270 </sect1>
272 <sect1 id="address-book">
273 <title>Address Book</title>
275 <para>At present, &trojita; does not have a graphical addressbook,
276 though one is actively being developed. However, in the
277 meantime, there's a very effective work-around. Upon start up,
278 &trojita; reads the address book located in <filename role="directory">~/.abook/</filename>,
279 which you can create using the console-only program called <application>abook</application>.
280 Running <application>abook</application> in a terminal window like &konsole;, you can add,
281 delete, and edit address book entries. &trojita; doesn't
282 manipulate that address book in any way, so for example, it won't
283 add new entries as you write messages. But if you've got an
284 <filename role="extension">.abook</filename> address book, &trojita;
285 will auto-complete entries using it.</para></sect1>
287 </chapter>
289 <chapter id="commands">
290 <title>Command Reference</title>
293 <sect1 id="kapp-mainwindow">
294 <title>The main &trojita; window</title>
296 <sect2>
297 <title>The IMAP Menu</title>
298 <para>
299 <variablelist>
301 <varlistentry id="compose-new">
302 <term>
303 <menuchoice>
304 <guimenu>IMAP</guimenu>
305 <guimenuitem>Compose Mail...</guimenuitem>
306 </menuchoice>
307 </term>
308 <listitem><para><action>Opens a new message for
309 editing</action></para></listitem>
310 </varlistentry>
313 <varlistentry id="expunge">
314 <term>
315 <menuchoice>
316 <shortcut>
317 <keycombo action="simul">&Ctrl;<keycap>E</keycap></keycombo>
318 </shortcut>
319 <guimenu>IMAP</guimenu>
320 <guimenuitem>Expunge Mailbox</guimenuitem>
321 </menuchoice>
322 </term>
323 <listitem><para><action>Removes from the server any message already
324 marked for deletion in the currently selected
325 mailbox (folder).</action></para></listitem>
326 </varlistentry>
328 <varlistentry id="network-offline">
329 <term>
330 <menuchoice>
331 <guimenu>Network Access</guimenu>
332 <guimenuitem>Offline</guimenuitem>
333 </menuchoice>
334 </term>
335 <listitem><para><action>If selected, &trojita;
336 will not fetch any new data (messages) from your
337 server and will rather limit itself to the messages
338 you have previously downloaded. (It will still let
339 you compose new messages, however, even though you
340 won't be able to send them).</action></para></listitem>
341 </varlistentry>
343 <varlistentry id="network-expensive">
344 <term>
345 <menuchoice>
346 <guimenu>Network Access</guimenu>
347 <guimenuitem>Expensive Connection</guimenuitem>
348 </menuchoice>
349 </term>
350 <listitem><para><action>Use this if you're using
351 &trojita; on a cell-phone or other device
352 where it's important to reduce network traffic and be
353 efficient.</action></para></listitem>
354 </varlistentry>
357 <varlistentry id="network-free">
358 <term>
359 <menuchoice>
360 <guimenu>Network Access</guimenu>
361 <guimenuitem>Free Access</guimenuitem>
362 </menuchoice>
363 </term>
364 <listitem><para><action>Use this if you are on a
365 desktop computer with unlimited broadband internet
366 access. This permits &trojita; to more
367 aggressively preload data. That is, instead of just
368 downloading headers, for example, it will go right
369 ahead and download a local copy of the messages, too.
370 </action></para></listitem>
371 </varlistentry>
376 </variablelist>
377 </para>
378 </sect2>
380 <sect2>
381 <title>The View Menu</title>
382 <para>
383 <variablelist>
385 <varlistentry id="layout">
386 <term>
387 <menuchoice>
388 <guimenu>View</guimenu>
389 <guimenuitem>Layout</guimenuitem>
390 </menuchoice>
391 </term>
392 <listitem><para><action>Choose <guimenuitem>Wide</guimenuitem> for a modern,
393 three-panel view with the message list in the center
394 and the message itself on the right. Choose
395 <guimenuitem>Compact</guimenuitem> for the traditional three panel view with
396 the message list on top and the message itself on the
397 bottom.</action></para></listitem>
398 </varlistentry>
400 <varlistentry id="threads">
401 <term>
402 <menuchoice>
403 <guimenu>View</guimenu>
404 <guimenuitem>Show Messages in Threads</guimenuitem>
405 </menuchoice>
406 </term>
407 <listitem><para><action>Select this option to show
408 messages grouped into threads (conversations). This
409 is useful for mailing lists, for example. This
410 depends on your IMAP server supporting one or more
411 voluntary extensions, as &trojita; would
412 otherwise have to do more work to properly thread
413 messages.</action></para></listitem>
414 </varlistentry>
416 <varlistentry id="hide">
417 <term>
418 <menuchoice>
419 <guimenu>View</guimenu>
420 <guimenuitem>Hide Read Messages</guimenuitem>
421 </menuchoice>
422 </term>
423 <listitem><para><action>Choose this option if you
424 like only new messages to appear in the message list.</action></para></listitem>
425 </varlistentry>
427 <varlistentry id="subscribed">
428 <term>
429 <menuchoice>
430 <guimenu>View</guimenu>
431 <guimenuitem>Show Only Subscribed Folders</guimenuitem>
432 </menuchoice>
433 </term>
434 <listitem><para><action>Your mailbox may have more
435 folders than you actually need to monitor. Select
436 this option to limit the folders shown to only those
437 you've subscribed to. (This doesn't delete the other
438 folders, it just prevents them from being shown in
439 the list of folders).</action></para></listitem>
440 </varlistentry>
446 </variablelist>
447 </para>
448 </sect2>
450 <sect2>
451 <title>The Help Menu</title>
453 &help.menu.documentation;
455 </sect2>
457 </sect1>
458 </chapter>
460 <chapter id="credits">
462 <title>Credits and License</title>
464 <para>
465 &trojita;
466 </para>
467 <para>
468 Program copyright 2006-2013 Jan Kundrát <email>jkt@flaska.net</email>
469 </para>
470 <para>
471 Contributors:
472 <itemizedlist>
473 <listitem><para>Thomas Lübking <email>thomas.luebking@gmail.com</email></para>
474 </listitem>
475 </itemizedlist>
476 </para>
478 <para>
479 Documentation Copyright &copy; 2013 Randall Wood
480 <email>randall+kde@woodbriceno.net</email>
481 </para>
483 <!-- TRANS:CREDIT_FOR_TRANSLATORS -->
485 &underFDL;
486 &underGPL;
487 <para>Under the GPLv2/GPLv3 license and CC-BY-SA</para>
489 </chapter>
491 <appendix id="installation">
492 <title>Installation</title>
494 <sect1 id="getting-kapp">
495 <title>How to obtain &trojita;</title>
497 &install.intro.documentation;
499 </sect1>
501 <sect1 id="requirements">
502 <title>Requirements</title>
504 <para>
505 &trojita; has been designed to have a minimum of dependencies.
506 Currently, all you need are the Qt libraries. You can find the source code and
507 instructions for compilation at <ulink
508 url="https://projects.flaska.net/projects/trojita">the &trojita; home
509 page</ulink>.
510 </para>
512 </sect1>
515 </appendix>
517 &documentation.index;
518 </book>
520 <!--
521 Local Variables:
522 mode: xml
523 sgml-minimize-attributes:nil
524 sgml-general-insert-case:lower
525 sgml-indent-step:0
526 sgml-indent-data:nil
527 End:
529 vim:tabstop=2:shiftwidth=2:expandtab
530 kate: space-indent on; indent-width 2; tab-width 2; indent-mode none;