Reference new hidden options (address_search_wildcard and folder_search_wildcard)
[claws.git] / manual / advanced.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <section id="ch_advanced">
3   <title>Advanced features</title>
4   <section id="adv_actions">
5     <title>Actions</title>
6     <para>
7         Actions allow you to use all the power of the Unix command-line with 
8         your emails. You can define various commands, taking parameters such 
9         as the current email file, a list of emails, the currently selected 
10         text, and so on. In this way, you'll be able to perform various tasks
11         such as editing a raw mail in your text editor, 
12         <emphasis>hide</emphasis> what you mean using ROT-13, apply patches 
13         contained in emails directly, and so on. The only limit is your 
14         imagination. You can create and configure Actions via the
15         <quote>/Configuration/Actions...</quote> menu.
16     </para>
17     <para>
18         The <quote>Tools/Actions/</quote> menu will contain one submenu
19         item for each action that you have created. When you have selected
20         one or more messages in the Message List, or are viewing a message
21         in the Message View, selecting one of these menu items will invoke
22         the action, and, depending on how it was defined, will pass the
23         message(s) to it.
24     </para>
25     <para>
26         Additionally, it is possible to add toolbar entries for your
27         actions. To do so, open the <quote>Configuration/Preferences</quote>
28         menu and select <quote>Toolbars/Main Window</quote>.
29         Select <quote>User Action</quote> in the <quote>Item type</quote>
30         dropdown menu, then select the Action in the <quote>Event executed on click</quote>
31         dropdown menu, and click the <quote>Icon</quote> button to select the
32         icon that you want to use.
33     </para>
34     <blockquote>
35       <example>
36         <title>Simple <quote>Open With...</quote></title>
37         <variablelist>
38           <varlistentry>
39             <term>
40         Menu name: <emphasis>Open with/kate</emphasis> 
41         Command Line: <command>kate %p</command>
42             </term>
43             <listitem>
44               <para>
45         Opens the file of the selected decoded MIME part 
46         (<emphasis>%p</emphasis>) with the <emphasis>kate</emphasis> text 
47         editor.
48               </para>
49             </listitem>
50           </varlistentry>
51         </variablelist>
52       </example>
53       <example>
54         <title>Spam management using <ulink 
55           url="http://bogofilter.sourceforge.net/">Bogofilter</ulink>
56         </title>
57         <variablelist>
58           <varlistentry>
59             <term>
60         Menu name: <emphasis>Bogofilter/Mark as Ham</emphasis> 
61         Command Line: <command>bogofilter -n -v -B "%f"</command>
62             </term>
63             <listitem>
64               <para>
65         Marks the currently selected mails (<emphasis>%f</emphasis>) as
66         <quote>not spam</quote> using <emphasis>Bogofilter</emphasis>.
67               </para>
68             </listitem>
69           </varlistentry>
70           <varlistentry>
71             <term>
72         Menu name: <emphasis>Bogofilter/Mark as Spam</emphasis> 
73         Command Line: <command>bogofilter -s -v -B "%f"</command>
74             </term>
75             <listitem>
76               <para>
77         Marks the currently selected mails (<emphasis>%f</emphasis>) as 
78         <quote>spam</quote> using <emphasis>Bogofilter</emphasis>.
79               </para>
80             </listitem>
81           </varlistentry>
82         </variablelist>
83       </example>
84       <example>
85         <title>Search Google using an external script</title>
86         <variablelist>
87           <varlistentry>
88             <term>
89         Menu name: <emphasis>Search/Google</emphasis> 
90         Command Line: <command>|/path/to/google_search.pl</command>
91             </term>
92             <listitem>
93               <para>
94         Searches Google for the currently selected text 
95         (<emphasis>|</emphasis>) using the external script <emphasis><ulink 
96         url="http://www.claws-mail.org/tools.php"
97         >google_search.pl</ulink></emphasis>.
98               </para>
99             </listitem>
100           </varlistentry>
101         </variablelist>
102       </example>
103     </blockquote>
104   </section>
105   <section id="adv_templates">
106     <title>Templates</title>
107     <para>
108         Templates are used in composition windows, and act as a model for 
109         emails. Templates can be filled with static text and dynamic parts, 
110         such as the original sender's name (<quote>Dear %N, ...</quote>), 
111         the date, etc. When applying a template, the dynamic fields will be 
112         replaced with the relevant values. You can configure templates via 
113         the <quote>Tools</quote> menu.
114     </para><para>
115         When applying a template, you will be asked to <quote>Insert</quote>
116         or <quote>Replace</quote>, the difference between replacing and 
117         inserting is only concerned with the message body. 
118         <quote>Replace</quote> will replace the current composition window 
119         message body with the body defined in the template, clearing it if 
120         the template body is empty. <quote>Insert</quote> will insert 
121         the template's body, if set, at the current cursor position.
122     </para><para>
123         Whether you choose to Insert or Replace, any To, Cc or Bcc field 
124         that is defined in the template will be appended to the compose 
125         window's recipients list. If it is defined, the template's Subject 
126         will always replace the compose window's Subject.
127     </para><para>
128         Symbols can be used in all parts of the templates and will be 
129         substituted with their respective dynamic value if possible, otherwise 
130         no value will be used. This often makes more sense if you apply a 
131         template when replying or forwarding, otherwise most of the symbols 
132         value will be undefined. There is no restriction on which symbols can 
133         be used in template parts, even if inserting the body (%M or %Q) may 
134         make no sense in common situations.
135     </para><para>
136         When applying a template, the body is processed first, then the To, Cc,
137         Bcc and Subject fields follow.
138     </para><para>
139         Further information and examples of usage can be found in the 
140         user-contributed FAQ on the Claws Mail website <ulink 
141         url="http://www.claws-mail.org/faq/"
142         >http://www.claws-mail.org/faq/</ulink>.
143     </para>
144    </section>
145   <section id="adv_processing">
146     <title>Processing</title>
147     <para>
148         Processing rules are the same as Filtering rules, except that they are 
149         applied when entering a folder or when manually applied from a folder's
150         context menu and apply only     to this folder. You can use them to automatically
151         move old mails into an archive folder, or for further dispatching of
152         emails, and more. You can set each folder's Processing rules by
153         right-clicking on it.
154     </para><para>
155         Processing rules are accompanied by Pre-processing and Post-processing 
156         rules. Like Processing rules, they apply when opening a folder or manually
157         applying them from a folder's context menu, but like Filtering rules,
158         they are shared across all folders. You can configure them from the
159         <quote>Tools</quote> menu. Pre-processing rules are executed before the
160         folder's specific Processing rules, while Post-processing rules are executed
161         afterwards.
162     </para>
163   </section>
164   <section id="adv_colour_labels">
165     <title>Colour Labels</title>
166     <para>
167         Colour labels can be used to denote a message as having a particular 
168         significance. To set a colour label simply right-click a message in the
169         Message List and use the <quote>Color label</quote> submenu.
170     </para><para>
171         Colour labels are user-configurable. Both the colour and the label can 
172         be set by the user. Preferences can be found on the 
173         <quote>Configuration/Preferences/Display/Colors</quote> page.
174     </para>
175   </section>
176   <section id="adv_tags">
177     <title>Tags</title>
178     <para>
179         Tags are short text notes which may be set on messages. They are useful
180         for classifying messages with your own words. These tags can be used
181         later to find the mails with Quick Search or to manage them with
182         filtering or processing rules, for example.
183     </para><para>
184         Tagged messages are displayed with a yellow background at the top of
185         the Message View. This line shows all tags associated with the
186         message. You can enable the "Tags" column in the Message List, so
187         tagged items can be seen without having to open the message.
188     </para><para>
189         Setting of tags is done by right-clicking on the message in the Message
190         List or by the corresponding option in Message menu. A panel with the
191         existing tags is shown and you can select some of them or just add a
192         new one. Removal of existing tags is also allowed, of course.
193     </para><para>
194         Once tags exist it's even easier, as the context menu allows you to
195         set and unset tags with just one click to the selected messages.
196         Mixed selections of tagged and untagged messages are allowed, and
197         Claws Mail is clever enough to do what you want to do in any case.
198     </para>
199   </section>
200   <section id="adv_ml_support">
201     <title>Mailing-List support</title>
202     <para>
203         Claws Mail offers mailing-list support from the 
204         <quote>Message/Mailing-List/</quote> submenu. When you have a 
205         mailing-list message selected, the submenu allows you to quickly 
206         initiate subscribing, unsubscribing, posting, getting help, contacting 
207         the list owner, and viewing the list archive; either by opening a new 
208         Compose window with the appropriate address pre-filled, or by opening 
209         the URL in your web browser.
210     </para>
211   </section>
212   <section id="adv_plugins">
213     <title>Plugins</title>
214     <para>
215         Plugins are the mechanism for extending Claws Mail' capabilities. 
216         For example, imagine that you want to store your mails in a remote 
217         <acronym>SQL</acronym> database. In most mailers out there this is 
218         simply impossible without reworking the internals of the mailer. With 
219         Claws Mail you can simply write a plugin to achieve the task.
220     </para><para>
221         This is just an example of the possibilities. A good number of plugins 
222         developed for Claws Mail already exist, and more are to come. The 
223         <link linkend="ch_plugins">Extending Claws Mail section</link> 
224         gives details of them.
225     </para>
226   </section>
227   <section id="deploying">
228     <title>Deploying Claws Mail</title>
229     <para>
230         The initial configuration wizard tries to guess various fields using 
231         information gathered from the system, such as username, hostname, and 
232         more. As it is oriented towards general use, the default values often 
233         have to be fixed. However, this wizard is customisable, in a manner 
234         designed to allow system administrators to deploy Claws Mail easily
235         over various users of one machine, or even over multiple machines 
236         installed via some replication tool.
237     </para><para>
238         The first part consists of creating a wizard configuration template 
239         and setting the various default parameters of a new Claws Mail 
240         installation.
241     </para>
242     <itemizedlist>
243       <listitem>
244         <para>
245         Start with a user who does not have a <filename class="directory"
246         >~/.claws-mail</filename> directory, ideally a new user.
247         </para>
248       </listitem>
249       <listitem>
250         <para>
251         Start Claws Mail and go through the wizard. The values you fill in 
252         will be of no use for the future deployment, so you can click 
253         next-next-next.
254         </para>
255       </listitem>
256       <listitem>
257         <para>
258         Once the wizard is finished and you have Claws Mail' main window 
259         opened, configure the various defaults you want to have in the master. 
260         You can load plugins, add people or LDAP servers in the addressbook, 
261         create filtering rules, and so on.
262         </para>
263       </listitem>
264       <listitem>
265         <para>
266         If needed, and if the deployed Claws Mail will use MH folders, you 
267         can create subdirectories in the mailbox.
268         </para>
269       </listitem>
270       <listitem>
271         <para>
272         Next, quit Claws Mail.
273         </para>
274       </listitem>
275       <listitem>
276         <para>
277         Now, edit the newly created wizard template file, 
278         <filename>~/.claws-mail/accountrc.tmpl</filename>. In this file, 
279         you will see different variables, corresponding to the wizard's fields.
280         You can leave some commented, in which case the usual default will be 
281         used, or specify values or variables. Not all fields can contain 
282         variables; for example, <literal>smtpauth</literal>, 
283         <literal>smtpssl</literal> and <literal>recvssl</literal> are booleans,
284         either 0 or 1, and <literal>recvtype</literal> is an integer value. The
285         other fields, like <literal>name</literal>, <literal>email</literal>, 
286         or <literal>recvuser</literal>, are parsed by the wizard and the 
287         variables they contain are replaced by values. This allows you to 
288         specify everything as needed for your site, even if you have strange 
289         server names or server logins.
290         </para>
291       </listitem>
292       <listitem>
293         <para>
294         Save this file, and delete both 
295         <filename>~/.claws-mail/accountrc</filename>, (which contains your 
296         dummy account) and 
297         <filename>~/.claws-mail/folderlist.xml</filename>, (so that the 
298         folder tree will be correctly parsed for new users). Recursively copy 
299         <filename class="directory">.claws-mail</filename> to 
300         <filename class="directory">/etc/skel/</filename>; if the deployed 
301         Claws Mail will use MH folders, also copy the created 
302         <filename class="directory">Mail</filename> directory. chown all of 
303         <filename class="directory">/etc/skel/.claws-mail</filename> 
304         and <filename class="directory">/etc/skel/Mail</filename> to 
305         <literal>root:root</literal> for security reasons.
306         </para>
307       </listitem>
308       <listitem>
309         <para>
310         Test! Create a new user, login as that user, run Claws Mail. If you
311         filled everything as you wanted, this user will just have to fill in 
312         his passwords.
313         </para>
314       </listitem>
315       <listitem>
316         <para>
317         Now, if you're creating a master for a site-wide deployment, you can 
318         continue with this process. If you were just doing it for one machine, 
319         you're done!
320         </para>
321       </listitem>
322     </itemizedlist>
323     <para>
324     Here are the different variables of the <filename>accountrc.tmpl</filename>
325     file:
326     </para>
327     <variablelist>
328       <varlistentry>
329         <term><literal>domain</literal></term>
330         <listitem>
331           <para>
332         Your domain name (example.com). If not set, it'll be extracted from the
333         hostname.
334           </para>
335         </listitem>
336       </varlistentry>
337       <varlistentry>
338         <term><literal>name</literal></term>
339         <listitem>
340           <para>
341         The user's name. If not set, it'll be extracted from Unix login 
342         information, which is usually ok.
343           </para>
344         </listitem>
345       </varlistentry>
346       <varlistentry>
347         <term><literal>email</literal></term>
348         <listitem>
349           <para>
350         The user's email. If not set, it'll be extracted from 
351         <literal>$name</literal> and <literal>$domain</literal>.
352           </para>
353         </listitem>
354       </varlistentry>
355       <varlistentry>
356         <term><literal>organization</literal></term>
357         <listitem>
358           <para>
359         Your organization. If not set, it'll be empty.
360           </para>
361         </listitem>
362       </varlistentry>
363       <varlistentry>
364         <term><literal>smtpserver</literal></term>
365         <listitem>
366           <para>
367         The SMTP server to use. If not set, it'll be 
368         <literal>smtp.$domain</literal>.
369           </para>
370         </listitem>
371       </varlistentry>
372       <varlistentry>
373         <term><literal>smtpauth</literal></term>
374         <listitem>
375           <para>
376         0 or 1. Whether to authenticate on the SMTP server. If not set, it'll 
377         be 0.
378           </para>
379         </listitem>
380       </varlistentry>
381       <varlistentry>
382         <term><literal>smtpuser</literal></term>
383         <listitem>
384           <para>
385         The login on the SMTP server. If not set, it'll be empty (same login as
386         for reception will be used).
387           </para>
388         </listitem>
389       </varlistentry>
390       <varlistentry>
391         <term><literal>smtppass</literal></term>
392         <listitem>
393           <para>
394         The password on the SMTP server. If not set, it'll be empty (if 
395         <literal>smtppass</literal> is empty but <literal>smtpuser</literal> is
396         not, the user will be asked for the password).
397           </para>
398         </listitem>
399       </varlistentry>
400       <varlistentry>
401         <term><literal>recvtype</literal></term>
402         <listitem>
403           <para>
404         The type of server to receive from. 0 for POP3, 3 for IMAP4, 5 for a 
405         local MBOX file. If not set, it'll be 0 (POP3).
406           </para>
407         </listitem>
408       </varlistentry>
409       <varlistentry>
410         <term><literal>recvserver</literal></term>
411         <listitem>
412           <para>
413         The reception server. If not set, it'll be 
414         <literal>(pop|imap).$domain</literal>, depending on 
415         <literal>$recvtype</literal>.
416           </para>
417         </listitem>
418       </varlistentry>
419       <varlistentry>
420         <term><literal>recvuser</literal></term>
421         <listitem>
422           <para>
423         The login on the reception server. If not set, it'll be extracted from 
424         the Unix login information.
425           </para>
426         </listitem>
427       </varlistentry>
428       <varlistentry>
429         <term><literal>recvpass</literal></term>
430         <listitem>
431           <para>
432         The password on the reception server. If not set, it'll be empty (the 
433         user will be asked for it once per session).
434           </para>
435         </listitem>
436       </varlistentry>
437       <varlistentry>
438         <term><literal>imapdir</literal></term>
439         <listitem>
440           <para>
441         The IMAP subdirectory. If not set, it'll be empty, which is often 
442         sufficient.
443           </para>
444         </listitem>
445       </varlistentry>
446       <varlistentry>
447         <term><literal>mboxfile</literal></term>
448         <listitem>
449           <para>
450         The MBOX file to receive from if <literal>$recvtype</literal> is 5. 
451         If not set, <literal>/var/mail/$LOGIN</literal>.
452           </para>
453         </listitem>
454       </varlistentry>
455       <varlistentry>
456         <term><literal>mailbox</literal></term>
457         <listitem>
458           <para>
459         The MH mailbox to store mail in (for <literal>$recvtype</literal> 0 or 
460         5). If not set, it'll be <quote>Mail</quote>.
461           </para>
462         </listitem>
463       </varlistentry>
464       <varlistentry>
465         <term><literal>smtpssl</literal></term>
466         <listitem>
467           <para>
468         0 or 1. Whether to use SSL for sending mail. If not set, it'll be 0.
469           </para>
470         </listitem>
471       </varlistentry>
472       <varlistentry>
473         <term><literal>recvssl</literal></term>
474         <listitem>
475           <para>
476         0 or 1. Whether to use SSL for receiving mail. If not set, it'll be 0.
477           </para>
478         </listitem>
479       </varlistentry>
480     </variablelist>
481     <para>
482         Here are the different variables you can use in the 
483         <literal>domain</literal>, <literal>name</literal>, 
484         <literal>email</literal>, <literal>organization</literal>, 
485         <literal>smtpserver</literal>, <literal>smtpuser</literal>, 
486         <literal>smtppass</literal>, <literal>recvserver</literal>, 
487         <literal>recvuser</literal>, <literal>recvpass</literal>, 
488         <literal>imapdir</literal>, <literal>mboxfile</literal> and 
489         <literal>mailbox</literal> fields:
490     </para>
491     <variablelist>
492       <varlistentry>
493         <term><literal>$DEFAULTDOMAIN</literal></term>
494         <listitem>
495           <para>
496         The domain name as extracted from Unix hostname information. 
497         Often wrong.
498           </para>
499         </listitem>
500       </varlistentry>
501       <varlistentry>
502         <term><literal>$DOMAIN</literal></term>
503         <listitem>
504           <para>
505         The domain name as set in the domain variable, the first of the 
506         template file.
507           </para>
508         </listitem>
509       </varlistentry>
510       <varlistentry>
511         <term><literal>$USERNAME</literal></term>
512         <listitem>
513           <para>The user's real name.</para>
514         </listitem>
515       </varlistentry>
516       <varlistentry>
517         <term><literal>$LOGIN</literal></term>
518         <listitem>
519           <para>The user's Unix login.</para>
520         </listitem>
521       </varlistentry>
522       <varlistentry>
523         <term><literal>$NAME_MAIL</literal></term>
524         <listitem>
525           <para>
526         The user's real name as set in the name variable of the template field,
527         in lowercase and with spaces replaced by dots. 
528         <quote>Colin Leroy</quote> becomes <quote>colin.leroy</quote>.
529           </para>
530         </listitem>
531       </varlistentry>
532       <varlistentry>
533         <term><literal>$EMAIL</literal></term>
534         <listitem>
535           <para>
536         The email address as set in the email variable of the template field.
537           </para>
538         </listitem>
539       </varlistentry>
540     </variablelist>
541     <para>
542         Be sure not to use a variable before defining it.
543     </para>
544   </section>
545   <section id="adv_hidden">
546     <title>Hidden preferences</title>
547     <para>
548         There are a number of hidden preferences in Claws Mail, preferences
549         that some users who we wanted to please couldn't live without, but 
550         which did not have a place in the GUI in our opinion. You can find the 
551         following, and change them while Claws Mail is not running, in 
552         <filename>~/.claws-mail/clawsrc</filename>.
553     </para>
554     <para>
555         There's a small tool written in Perl-GTK called Clawsker which 
556         provides a user-friendly GUI for tweaking these settings instead of
557         direct editing of <filename>clawsrc</filename>. You can read more
558         about it on the <ulink 
559         url="http://www.claws-mail.org/clawsker.php">Clawsker page</ulink>.
560     </para>
561     <variablelist>
562       <varlistentry>
563         <term><literal>address_search_wildcard</literal></term>
564         <listitem>
565           <para>
566         TAB-address completion in the Compose window and other GUI places will match any part of the
567         string (1) or just the start of the string (0).
568           </para>
569         </listitem>
570       </varlistentry>
571       <varlistentry>
572         <term><literal>addressbook_use_editaddress_dialog</literal></term>
573         <listitem>
574           <para>
575         Use a separate dialogue to edit a person's details. 
576         '0' will use a form embedded in the addressbook's main window.
577           </para>
578         </listitem>
579       </varlistentry>
580       <varlistentry>
581         <term><literal>bold_unread</literal></term>
582         <listitem>
583           <para>
584         Show unread messages in the Message List using a bold font.
585           </para>
586         </listitem>
587       </varlistentry>
588       <varlistentry>
589         <term><literal>cache_max_mem_usage</literal></term>
590         <listitem>
591           <para>
592         The maximum amount of memory to use to cache messages, in kB.
593           </para>
594         </listitem>
595       </varlistentry>
596       <varlistentry>
597         <term><literal>cache_min_keep_time</literal></term>
598         <listitem>
599           <para>
600         The minimum time in minutes to keep a cache in memory. Caches more 
601         recent than this time will not be freed, even if the memory usage is 
602         too high.
603           </para>
604         </listitem>
605       </varlistentry>
606       <varlistentry>
607         <term><literal>compose_no_markup</literal></term>
608         <listitem>
609           <para>
610         Don't use bold and italic text in Compose dialogue's account selector.
611           </para>
612         </listitem>
613       </varlistentry>
614       <varlistentry>
615         <term><literal>diff_added_color</literal></term>
616         <term><literal>diff_deleted_color</literal></term>
617         <term><literal>diff_hunk_color</literal></term>
618         <listitem>
619           <para>
620         Colors to use when displaying attachments in unified diff format.
621           </para>
622         </listitem>
623       </varlistentry>
624       <varlistentry>
625         <term><literal>emphasis_color</literal></term>
626         <listitem>
627           <para>
628         The colour used for the X-Mailer line when its value is Claws Mail.
629           </para>
630         </listitem>
631       </varlistentry>
632       <varlistentry>
633         <term><literal>enable_avatars</literal></term>
634         <listitem>
635           <para>
636         Enables capture and/or rendering of internal avatars (Face and
637         also X-Face headers if built with compface support). 
638         '0' disables both, '1' enables capture only, '2' enables rendering
639         only and '3' enables both.
640           </para>
641           <para>
642         Note that external plugins already providing these features may
643         disable partially or completely this to speed up process, regardless
644         of the configured value.
645           </para>
646         </listitem>
647       </varlistentry>
648       <varlistentry>
649         <term><literal>enable_hscrollbar</literal></term>
650         <listitem>
651           <para>
652         Enable the horizontal scrollbar in the Message List.
653           </para>
654         </listitem>
655       </varlistentry>
656       <varlistentry>
657         <term><literal>enable_swap_from</literal></term>
658         <listitem>
659           <para>
660         Display the sender's email address in the To column of the
661         Sent folder instead of the recipient's.
662           </para>
663         </listitem>
664       </varlistentry>
665       <varlistentry>
666         <term><literal>folder_search_wildcard</literal></term>
667         <listitem>
668           <para>
669         The type-ahead function in the Select Folder window will match any
670         part of the folder name (1) or just the start of the folder name (0).
671           </para>
672         </listitem>
673       </varlistentry>
674       <varlistentry>
675         <term><literal>folderview_vscrollbar_policy</literal></term>
676         <listitem>
677           <para>
678         Specify the policy of vertical scrollbar of Folder List.
679         '0' is always shown, '1' is automatic, '2' is always hidden.
680           </para>
681         </listitem>
682       </varlistentry>
683       <varlistentry>
684         <term><literal>hover_timeout</literal></term>
685         <listitem>
686           <para>
687         Time in milliseconds that will cause a folder tree to expand 
688         when the mouse cursor is held over it during drag 'n' drop.
689           </para>
690         </listitem>
691       </varlistentry>
692       <varlistentry>
693         <term><literal>live_dangerously</literal></term>
694         <listitem>
695           <para>
696         Don't ask for confirmation before definitive deletion of emails.
697           </para>
698         </listitem>
699       </varlistentry>
700       <varlistentry>
701         <term><literal>log_error_color</literal></term>
702         <term><literal>log_in_color</literal></term>
703         <term><literal>log_msg_color</literal></term>
704         <term><literal>log_out_color</literal></term>
705         <term><literal>log_warn_color</literal></term>
706         <term><literal>log_status_ok_color</literal></term>
707         <term><literal>log_status_nok_color</literal></term>
708         <term><literal>log_status_skip_color</literal></term>
709         <listitem>
710           <para>
711         The colours used in the log window.
712           </para>
713         </listitem>
714       </varlistentry>
715       <varlistentry>
716         <term><literal>msgview_date_format</literal></term>
717         <listitem>
718           <para>
719         0 or 1. Use the same user-defined date format in the Message
720         View as is used in the Message List. Default is 0, turned off.
721           </para>
722         </listitem>
723       </varlistentry>      
724       <varlistentry>
725         <term><literal>outgoing_fallback_to_ascii</literal></term>
726         <listitem>
727           <para>
728         0 or 1. The outgoing encoding of a message will use 7bit US-ASCII
729         whenever it is suitable for the message content, ignoring the
730         <quote>Outgoing encoding</quote> option unless it is necessary. Turning
731         this option off forces the user-defined encoding to be used, regardless
732         of message content. Default is 1, turned on.
733           </para>
734         </listitem>
735       </varlistentry>
736       <varlistentry>
737         <term><literal>primary_paste_unselects</literal></term>
738         <listitem>
739           <para>
740         0 or 1. Causes the primary buffer to be cleared and the insertion
741         point to be repositioned when the middle mouse button is used
742         for pasting text. Default is 0, turned off.
743           </para>
744         </listitem>
745       </varlistentry>
746       <varlistentry>
747         <term><literal>respect_flowed_format</literal></term>
748         <listitem>
749           <para>
750         0 or 1. Respect format=flowed on text/plain message parts. This
751         will cause some mails to have long lines, but will fix some URLs
752         that would otherwise be wrapped. Default is 0, turned off.
753           </para>
754         </listitem>
755       </varlistentry>
756       <varlistentry>
757         <term><literal>save_parts_readwrite</literal></term>
758         <listitem>
759           <para>
760         Saves temporary files when opening attachment with write bit set.
761           </para>
762         </listitem>
763       </varlistentry>
764        <varlistentry>
765         <term><literal>show_compose_margin</literal></term>
766         <listitem>
767           <para>
768         0 or 1. Adds margins to the message text area in the Compose window.
769         Default is 0, turned off.
770           </para>
771         </listitem>
772       </varlistentry>
773       <varlistentry>
774         <term><literal>show_inline_attachments</literal></term>
775         <listitem>
776           <para>
777         0 or 1. Show inline attachments in MimeView.
778         Default is 1, turned on.
779           </para>
780         </listitem>
781       </varlistentry>
782       <varlistentry>
783         <term><literal>skip_ssl_cert_check</literal></term>
784         <listitem>
785           <para>
786         Disables the verification of SSL certificates.
787           </para>
788         </listitem>
789       </varlistentry>
790       <varlistentry>
791         <term><literal>statusbar_update_step</literal></term>
792         <listitem>
793           <para>
794         Update stepping in progress bars.
795           </para>
796         </listitem>
797       </varlistentry>
798       <varlistentry>
799         <term><literal>stripes_color_offset</literal></term>
800         <listitem>
801         <para>
802         Specify the value to use when creating alternately coloured lines in
803         GtkTreeView components. The smaller the value, the less visible the
804         difference in the alternating colours of the lines.
805         </para>
806         </listitem>
807       </varlistentry>
808       <varlistentry>
809         <term><literal>summary_from_show</literal></term>
810         <listitem>
811         <para>
812         Controls the data displayed in the From column in the Message List.
813         Default value 0 displays name, 1 displays address and 2 displays both
814         name and address. 
815         </para>
816         </listitem>
817       </varlistentry>
818       <varlistentry>
819         <term><literal>textview_cursor_visible</literal></term>
820         <listitem>
821           <para>
822         Display the cursor in the message view.
823           </para>
824         </listitem>
825       </varlistentry>
826       <varlistentry>
827         <term><literal>thread_by_subject_max_age</literal></term>
828         <listitem>
829           <para>
830         Number of days to include a message in a thread when using 
831         <quote>Thread using subject in addition to standard headers</quote>.
832           </para>
833         </listitem>
834       </varlistentry>
835       <varlistentry>
836         <term><literal>toolbar_detachable</literal></term>
837         <listitem>
838           <para>
839         Show handles in the toolbars.
840           </para>
841         </listitem>
842       </varlistentry>
843       <varlistentry>
844         <term><literal>two_line_vertical</literal></term>
845         <listitem>
846           <para>
847         Spread message list information over two lines when using the
848         three column layout.
849           </para>
850         </listitem>
851       </varlistentry>
852       <varlistentry>
853         <term><literal>unsafe_ssl_certs</literal></term>
854         <listitem>
855         <para>
856         Allows Claws to remember multiple SSL certificates for a given 
857         server/port. This is disabled by default.
858         </para>
859         </listitem>
860       </varlistentry>
861       <varlistentry>
862         <term><literal>use_networkmanager</literal></term>
863         <listitem>
864         <para>
865         Use NetworkManager to switch offline automatically. This is enabled
866         by default.
867         </para>
868         </listitem>
869       </varlistentry>
870       <varlistentry>
871         <term><literal>use_stripes_everywhere</literal></term>
872         <listitem>
873         <para>
874         Enable alternately coloured lines in GtkTreeView components.
875         </para>
876         </listitem>
877       </varlistentry>
878       <varlistentry>
879         <term><literal>use_stripes_in_summaries</literal></term>
880         <listitem>
881         <para>
882         Enable alternately coloured lines in the main window GtkTreeView
883         components, (Folder List and Message List). The only useful way to
884         use this option is to set it to 0 when use_stripes_everywhere is set
885         to 1.
886         </para>
887         </listitem>
888       </varlistentry>
889       <varlistentry>
890         <term><literal>utf8_instead_of_locale_for_broken_mail</literal></term>
891         <listitem>
892           <para>
893         Use UTF-8 encoding for broken mails instead of current locale.
894           </para>
895         </listitem>
896       </varlistentry>
897       <varlistentry>
898         <term><literal>warn_dnd</literal></term>
899         <listitem>
900           <para>
901         Display a confirmation dialogue on drag 'n' drop of folders.
902           </para>
903         </listitem>
904       </varlistentry>
905       <varlistentry>
906         <term><literal>zero_replacement_char</literal></term>
907         <listitem>
908           <para>
909         Character to show in Folder List counter columns when a folder contains
910         no messages. Default value is 0.
911           </para>
912         </listitem>
913       </varlistentry>
914     </variablelist>
915   </section>
916   <section id="adv_autofaces">
917     <title>Autofaces</title>
918     <para>
919         Claws Mail allows setting the Face and X-Face headers directly
920         from files, either globally for all defined accounts 
921         or on a per-account basis. These files must be placed in the
922         <filename>~/.claws-mail/autofaces/</filename> directory.
923     </para>
924     <para>
925         If they exist, the global Face and/or X-Face headers for all
926         accounts are taken from the <filename>face</filename> and/or
927         <filename>xface</filename> files respectively. In a similar
928         manner, Face and/or X-Face headers for a specific account can
929         be provided by <filename>face.</filename><emphasis>accountname</emphasis>
930         and/or <filename>xface.</filename><emphasis>accountname</emphasis>,
931         where <emphasis>accountname</emphasis> is the name of the account you 
932         want this header to be associated with.
933    </para>
934    <para>
935         If the name of the account contains characters which may be unsuitable 
936         for the underlying filesystem (including spaces) these are replaced by 
937         underscores (<quote>_</quote>) when searching for the autofaces of 
938         that account. For example, if your account is called 
939         <quote>&lt;My Mail&gt;</quote>, the name for the X-Face filename for
940         that account would be
941         <filename>~/.claws-mail/autofaces/xface._My_Mail_</filename>.
942         Be aware that this feature doesn't check the content of the files,
943         or for duplication of headers, (most mailers, including Claws 
944         Mail, will ignore duplicates and display the last one only). 
945     </para>
946   </section>
947 </section>
948