Fix url
[kdepim.git] / doc / kmail / faq.docbook
blob78fcbe3c48307040f02cc7328697889033fe7ec3
1 <chapter id="faq">
3 <chapterinfo>
4 <authorgroup>
5 <author>&Daniel.Naber; &Daniel.Naber.mail;</author>
6 <author>&David.Rugge; &David.Rugge.mail;</author>
7 <!-- TRANS:ROLES_OF_TRANSLATORS -->
8 </authorgroup>
9 <date>2013-12-20</date>
10 <releaseinfo>&kde; 4.12</releaseinfo>
11 </chapterinfo>
13 <title>Frequently Asked Questions (&FAQ;)</title>
14 <!-- TODO: split into categories? unfortunately this will produce several files, eg. with <section> -->
16 <qandaset id="faq-set">
18 <qandaentry><question><para>How to set Firefox as your default browser?</para></question>
19 <answer>
20   <para>You want to click on a link in &kmail; and have it opened in <application>Firefox</application>. At the moment, another browser is used. You want to change this.</para>
21   <para>This solution will affect all of &kde;, not just &kmail;. Start <menuchoice><guimenu>&systemsettings;</guimenu><guisubmenu>Default Applications</guisubmenu><guimenuitem>Web Browser</guimenuitem><guimenuitem>Open http and https &URL;s in the following browser</guimenuitem><guimenuitem>firefox</guimenuitem></menuchoice>.</para>
22   <para>If you are an administrator and want to set this setting automatically for your users, it is</para>
23   <itemizedlist>
24     <listitem>
25       <para>in your user directory in <filename>$(kde4-config --localprefix)/share/config/kdeglobals</filename> add the line
26       <userinput>BrowserApplication[$e]=!firefox</userinput> under category <guilabel>[General]</guilabel>
27       </para>
28     </listitem>
29   </itemizedlist>
30 <para>You can also use the script in <ulink url="http://userbase.kde.org/Special:myLanguage/Tutorials/Modify_KDE_Software_Defaults">Tutorials/Modify_KDE_Software_Defaults</ulink></para>
31 </answer>
32 </qandaentry>
34 <qandaentry><question><para>How to control your Roaming profile's connection?</para></question>
35 <answer>
36   <para>You set up a <emphasis>Roaming profile</emphasis> to access your home server while you are on the road, but it keeps trying to connect even when you are at home. Auto-connection is disabled in the setup screens.</para>
37   <para><menuchoice><guimenu>Settings</guimenu><guisubmenu>Configure KMail</guisubmenu><guimenuitem>Accounts</guimenuitem><guimenuitem>Receiving (tab)</guimenuitem><guimenuitem>(select the account to exclude)</guimenuitem><guimenuitem>Retrieval Options</guimenuitem></menuchoice>, uncheck <guilabel>Include in Manual Mail Check</guilabel>. This will exclude the profile when you hit the download icon, but the profile will still be available from the drop-down list, making it easy to get your mail while away from home.</para>
38 </answer>
39 </qandaentry>
41 <qandaentry><question><para>How to store sent mails in a special folder?</para></question>
42 <answer>
43   <para><emphasis>Symptom:</emphasis> You want to store mails in a special folder. Maybe you are using an &imap; server and want to store your mails on the server, not in the client.</para>
44   <para><emphasis>Solution:</emphasis> In &kmail;, choose <menuchoice><guimenu>Settings</guimenu><guisubmenu>Configure KMail</guisubmenu><guimenuitem>Identities</guimenuitem><guimenuitem>(Choose an identity)</guimenuitem><guimenuitem>Modify</guimenuitem><guimenuitem>Advanced</guimenuitem><guimenuitem>Sent-mail folder</guimenuitem></menuchoice></para>
45 </answer>
46 </qandaentry>
48 <qandaentry><question><para>How to store trash mails in a special folder?</para></question>
49 <answer>
50   <para><emphasis>Symptom:</emphasis> You want to store mails in a special folder. Maybe you are using an &imap; server and want Trashed mails to be stored on the server, not in the client.</para>
51   <para>In the settings dialog select an &imap; account on the <guilabel>Accounts</guilabel> page.
52   Click on <guibutton>Modify</guibutton> and change the trash folder location on the <guilabel>Advanced</guilabel> tab.</para>
53 </answer>
54 </qandaentry>
56 <qandaentry><question><para>How to store encrypted mails as unencrypted?</para></question>
57 <answer>
58   <para><emphasis>Symptom:</emphasis> You exchange encrypted mail with a friend, but would like to store it unencrypted, once you have opened the message.</para>
59   <para><emphasis>Solution:</emphasis> To store emails that have been decrypted once in unencrypted format henceforth, add this to your <filename>kmail2rc</filename> configuration file, in the [Reader] section:</para>
60   <para><userinput>store-displayed-messages-unencrypted=true</userinput></para>
61   <para>This may only work with <emphasis>SMIME</emphasis> but implementation for <emphasis>OpenPGP</emphasis> is being worked on.</para>
62 </answer>
63 </qandaentry>
65 <qandaentry><question><para>How to filter spam on an &imap; server?</para></question>
66   <!--FIXME replace this with a link to the sieve section?-->
67 <answer>
68   <para><emphasis>Symptom:</emphasis> You intend moving on to reading your mail from an &imap; server, and wonder how filtering and spam handling will occur?</para>
69   <para><emphasis>Solution:</emphasis> The machine that already has your mail can become your &imap; server. You will need to configure a server application. <guilabel>Dovecot</guilabel> is one such, and the guidance on the project web pages make it easy to set up. That still leaves you with the problem of filtering, as it makes sense to do it on the server (when you point &kmail; at the server you will see the folders that you have created on the server). Again there are options, but one of the best known is <guilabel>procmail</guilabel>. Again there is plenty of information on the Internet on how to set this up. You give it a set of <quote>recipes</quote> - here's an example:</para>
70   <para><screen><markup>    :0
71     * (^To|^CC|^List-ID): .*kde-linux
72     ${MAILDIR}.INBOX.KDE-Lists.kde-users/
73   </markup></screen>
74   </para>
75   <para>If you have <emphasis>maildir</emphasis> folders, each recipe must end with a <quote>/</quote>. If your folders are <emphasis>mbox</emphasis>, just omit the <quote>/</quote></para>
76   <para>If you have been using <guilabel>bogofilter</guilabel> with &kmail; you will already have a <emphasis>wordlist</emphasis>. This can be used at server level, too, so you will not have to start training from scratch. The trick is to set this before the <guilabel>procmail</guilabel> recipes:</para>
77   <para><screen><markup>:0fw
78  | bogofilter -e -p
81  { EXITCODE=75 HOST }
84  * ^X-Bogosity: Spam, tests=bogofilter
85  ${MAILDIR}.INBOX.a-Spam/
88  { EXITCODE=75 HOST }
91  * ^X-Bogosity: Unsure, tests=bogofilter
92  ${MAILDIR}.INBOX.a-Unsure/
95  { EXITCODE=75 HOST }
96  </markup></screen>
97 </para>
98 <para>Note that it is going to use a mailbox for spam and one for unsure - I add a 'a-' to the name to ensure that they are easily seen, at the top of the list.</para>
99 <para>Finally, to improve performance, run the following command occasionally on saved spam and unsures:</para>
100 <para><userinput>/usr/share/bogofilter/contrib/trainbogo.sh -c -H /home/<replaceable>user</replaceable>/<replaceable>Maildir</replaceable> /.INBOX.bogotrain_ham/cur/ -S /home/<replaceable>user</replaceable>/<replaceable>Maildir</replaceable>/.INBOX.bogotrain_spam/cur/</userinput></para>
101 <para>(don't forget to check the path.)</para>
102 <para>This is not a complete guide to setting up a server, but notes on how to set up the server to work as you expect in &kmail;.</para>
103 </answer>
104 </qandaentry>
106 <qandaentry><question><para>How to get more screen space in &kmail;?</para></question>
107 <answer>
108   <para><emphasis>Symptom:</emphasis> You are using &kmail; on a netbook, and find that the new <emphasis>Aggregation</emphasis> display leaves you little screen space</para>
109   <para><emphasis>Solution:</emphasis>If you want to change the look so that a mail uses a single row instead of two rows, go to  <menuchoice><guimenu>View</guimenu><guisubmenu>Message List</guisubmenu><guimenuitem>Theme</guimenuitem></menuchoice> and change the theme to <guilabel>Classic</guilabel>. If you want to disable grouping by date, change the aggregation using <menuchoice><guimenu>View</guimenu><guisubmenu>Message List</guisubmenu><guimenuitem>Aggregation</guimenuitem></menuchoice> to <guilabel>Standard Mailing List</guilabel>. Now your &kmail; will look exactly like it did in earlier versions.</para>
111 <para>In <menuchoice><guimenu>Settings</guimenu><guisubmenu>Configure KMail</guisubmenu><guimenuitem>Appearance</guimenuitem><guimenuitem>Fonts</guimenuitem></menuchoice> you can select <guilabel>Use custom fonts</guilabel> and change the setting for each component in the list. This is when you discover that your folder list and the message bodies do use the fonts you want, but the message list still has too large a font.</para>
113 <para>You can make the font changes by right-clicking on the Message List headers, and selecting <menuchoice><guimenu>Theme</guimenu><guisubmenu>Configure</guisubmenu><guimenuitem>Appearance</guimenuitem></menuchoice> tab.
114 Each one of those column headers needs to be clicked on, and your new custom font set. At the end of this, the message list will display in the same font as the rest of your layout.</para>
115 </answer>
116 </qandaentry>
118 <qandaentry><question><para>How to unconfigure &kmail; folder tool tips?</para></question>
119 <answer>
120   <para><emphasis>Symptom:</emphasis> You are using &kmail; on a netbook, and find that the <emphasis>tooltips</emphasis> over folders hide too many folder names</para>
121   <para><emphasis>Solution:</emphasis> Right-clicking on the header of the <guilabel>Folder List</guilabel> and unselect <guilabel>Display Tooltips</guilabel>.</para>
122 </answer>
123 </qandaentry>
125 <qandaentry><question><para>How to unconfigure &kmail; message list tool tips?</para></question>
126 <answer>
127   <para>In &kmail;, <menuchoice><guimenu>Settings</guimenu><guisubmenu>Configure KMail</guisubmenu><guimenuitem>Appearance</guimenuitem><guimenuitem>Message List</guimenuitem></menuchoice> uncheck <menuchoice><guimenu>General</guimenu><guimenuitem>Display tooltips for messages and group headers</guimenuitem></menuchoice></para>
128 </answer>
129 </qandaentry>
131 <qandaentry><question><para>How to remove alternate line colourings?</para></question>
132 <answer>
133   <para>In <menuchoice><guimenu>&systemsettings;</guimenu><guisubmenu>Application Appearance</guisubmenu><guimenuitem>Colors</guimenuitem><guimenuitem>Colors</guimenuitem></menuchoice>, for each color set except <guilabel>Common Colors</guilabel> (which doesn't have it), change the <guilabel>Alternate Background</guilabel> to be the same as the <guilabel>Normal Background</guilabel>.</para>
134   <para><emphasis>Mandriva</emphasis> and <emphasis>Mageia</emphasis> doesn't use the name <guilabel>System Settings</guilabel>.  As in <guilabel>KControl</guilabel>, the KDE 3 control centre, they name it <quote>Configure your Desktop</quote> to distinguish it from <quote>Configure your Computer</quote>, a.k.a. the Mandriva/Mageia Control Center (MCC). Other than this name change, the method is as described above.</para>
135 </answer>
136 </qandaentry>
138 <qandaentry id="transfer-mail-and-settings"><question>
139 <para>How to transfer mail and settings to another computer (or another user account on the same machine)?</para>
140 </question>
141 <answer>
142 <para>Use <menuchoice><guimenu>Tools</guimenu><guimenuitem>Export &kmail; Data...</guimenuitem></menuchoice> 
143 to export and import settings and data. Please see <ulink url="help:/pimsettingexporter">PIM Setting Exporter</ulink> for details.</para>
144 </answer>
145 </qandaentry>
147 <qandaentry><question><para>Why am I not able to copy mails to a USB stick?</para></question>
148 <answer><para><emphasis>Symptom:</emphasis> You are setting up a new computer and want to transfer all your mail. You decide to copy everything to a USB stick. The job starts, then you start to get failure message,</para>
149 <screen>Unable to copy ............Invalid argument</screen>
150 <para><emphasis>Solution:</emphasis> Your usb stick is <ulink url="http://wiki.linuxquestions.org/wiki/VFAT">(V)FAT</ulink> formatted, and thus can't handle <emphasis>maildir</emphasis> folder names (nor can it handle <emphasis>permissions</emphasis>, which can cause many other problems). You have two choices. Either format your <acronym>USB</acronym> stick as ext2 (in which case you should be aware it can't be read on &Windows; OSes without installing additional software there) or create a tar file of all your mail, copy that to the stick and extract it to your new host.</para>
151 </answer>
152 </qandaentry>
154 <qandaentry>
155 <question><para>Why are my filters not applied to incoming messages of &imap; accounts?</para></question>
156 <answer>
157 <para>Normal &imap; mode does not support filtering, but the new
158 disconnected &imap; account type does. You could try to use server-side
159 filtering (ask your admin for how to install filters on the server and in
160 which format), since &imap; is all about managing your email <emphasis>on the server</emphasis>.
161 Unfortunately, although there exists a mail filter language (Sieve, defined
162 in RFC3028), there is no standardized access protocol for installing or
163 editing server-side Sieve scripts. If such a protocol becomes available in
164 the future, &kmail; will most probably include support for it.</para>
165 </answer>
166 </qandaentry>
168 <qandaentry id="pgp-faq">
169 <question><para>What should I know if I want to use
170 <application>PGP</application>/<application>GnuPG</application> with
171 &kmail;?</para></question>
173 <answer><para>&kmail; provides a simple and easy-to-use interface for the basic
174  functions of these programs; still you should understand how these programs
175  work and what might make their use insecure. Some important issues:</para>
177 <itemizedlist>
178 <listitem>
179 <para>You <emphasis>really</emphasis> should test if encryption works
180 before you use it. &kmail; partly relies on
181 <application>PGP</application>/<application>GnuPG</application>'s error strings,
182 which often change between different versions.</para>
183 </listitem>
184 <listitem>
185 <para>&kmail; will not encrypt messages with an untrusted (unsigned) public key: if you want to encrypt to such a
186 key you should check the identity of the key owner and only then sign the key
187 with your secret key; if you do not want to or cannot check the identity
188 of the key owner but nevertheless want to encrypt the message then
189 please sign the key locally with <userinput><command>gpg</command>
190 <option>--lsign</option> <replaceable>keyID</replaceable></userinput>.</para>
191 </listitem>
192 <listitem>
193 <para>Trusting a foreign public key without checking it is not a good idea.</para>
194 </listitem>
195 <listitem>
196 <para>&kmail; cannot encrypt and sign attachments if you are using
197 the built-in OpenPGP support. For encrypted and signed attachments you need
198 to have <!--link linkend="configure-security-crypto-backends">crypto
199 plugins</link--> crypto plugins installed and configured.</para>
200 </listitem>
201 <listitem>
202 <para>Starting with GnuPG 1.0.7 you have to set your own key to
203 ultimate ownertrust: it is no longer implicitly done for you.</para>
204 </listitem>
205 </itemizedlist>
206 </answer>
207 </qandaentry>
209 <qandaentry> <question><para>Where does &kmail; save my settings and my
210 mail?</para></question> <answer> <para>Most &kmail; settings are stored in
211 <filename>$(kde4-config --localprefix)/share/config/kmail2rc</filename> and the 
212 <emphasis>Akonadi</emphasis>-controlled entries are stored in the following folders and files:</para>
213 <itemizedlist>
214   <listitem><para><filename class="directory">~/.local/share/</filename>
215 </para></listitem>
216 <listitem><para><filename class="directory">~/.config/akonadi/</filename>.
217 </para></listitem>
218 <listitem><para><filename>$(kde4-config --localprefix)/share/config/nepomukserverrc</filename>
219 </para></listitem>
220 <listitem><para><filename class="directory">$(kde4-config --localprefix)/share/apps/nepomuk/</filename> (&kaddressbook; stores contact groups in <emphasis>Nepomuk</emphasis>.)
221 </para></listitem>
222 </itemizedlist>
223 <para>Note that some of the files are hidden: remember to also copy those if you want to backup or
224 archive your mails.</para> </answer> </qandaentry>
226 <qandaentry id="faq-index-regeneration">
227 <question><para>Why did &kmail; regenerate the index of a folder?</para></question>
228 <answer>
229 <para>&kmail; regenerates the index of a folder whenever the index appears to be
230 out of date, &ie; whenever the contents of a folder are newer than the
231 index. &kmail; regenerates the index in this case in order to prevent
232 the loss or corruption of messages. Unfortunately, currently-deleted
233 messages might reappear and message flags (like important, etc.) might
234 be lost when the index is regenerated.</para>
235 <para>An outdated index can have several causes; the two most important causes
236 are:
237 <itemizedlist>
238 <listitem><para>Some other program modified the contents of the folder: if you want
239 to use &kmail; together with procmail then please read <link
240  linkend="faq-procmail">this &FAQ;</link>. If you want to use &kmail; together with
241 another email client then please read <link
242 linkend="faq-other-muas">this &FAQ;</link>.</para></listitem>
243 <listitem><para>If your mail folder 
244 is on a volume which is mounted via NFS and if the clock of the NFS server is ahead of the
245 clock of your computer then the NFS server sometimes reports a wrong
246 file date for the index file. In this case &kmail; assumes that the index
247 is outdated although in reality it is not. To fix this problem
248 you (or your system administrator) have to make sure that the clock of
249 the NFS server and the clock of your computer are always in sync. One
250 way to achieve this is the use of the ntp daemon.</para></listitem>
251 </itemizedlist>
252 </para>
253 </answer>
254 </qandaentry>
256 <qandaentry>
257   <question><para>Why does &kmail; not start up?</para></question>
258 <answer>
259 <para><emphasis>Symptom:</emphasis> You want to start &kmail; from a minimal desktop environment like <ulink url="http://en.wikipedia.org/wiki/Fvwm2">fvwm2</ulink>. It does not start.</para>
260 <para><emphasis>Reason:</emphasis> You are missing the <emphasis>dbus</emphasis> functionality.</para>
261 <para><emphasis>Solution:</emphasis> Start &kmail; using dbus-launch like this:</para>
262 <para><userinput>dbus-launch kmail</userinput></para>
263 </answer>
264 </qandaentry>
266 <qandaentry id="faq-other-muas">
267 <question><para>Can I use &kmail; together with a different email client, &eg;
268 <application>mutt</application>?</para></question>
269 <answer>
270 <para>If you're using the mbox format for your folders it is not
271 possible to use a different email client while &kmail; is running.
272 With <application>mutt</application> there may also be problems
273 even if both programs are not running at the same time. We recommend to
274 use the maildir format in this case, this should solve all problems.</para>
275 </answer>
276 </qandaentry>
278 <qandaentry><!-- Valid for 4.12-->
279 <question><para>How can I convert my mailboxes from mbox to maildir?</para></question>
280 <answer>
281 <para>There is no automatic way to do that. You will have to create a new folder
282 in maildir format and copy the messages from the mbox folder into this
283 new folder. Remember to adapt any filter rules connected with the old folder before
284 you delete it.</para>
285 </answer>
286 </qandaentry>
288 <qandaentry>
289 <question><para>How can I remove attachments from messages without removing
290 the message itself?</para></question>
291 <answer>
292 <para>Open the context menu with a &RMB; click on an attachment and 
293 select <guimenuitem>Delete Attachment</guimenuitem></para>
294 </answer>
295 </qandaentry>
297 <qandaentry>
298 <question><para>How can I make &kmail; check for new messages at startup?</para></question>
299 <answer>
300 <para>If &kmail; should always check for new messages at startup then
301 enable <guilabel>Check mail on startup</guilabel> on the
302 <link linkend="configure-accounts-receiving">Accounts configuration page</link>.
303 Otherwise start &kmail; with <command>kmail <option>--check</option></command>.</para>
304 </answer>
305 </qandaentry>
307 <qandaentry>
308 <question><para>Where can I get a list of changes between the versions of &kmail;?</para></question>
309 <answer>
310 <para>The welcome screen lists all important changes for your version. It is displayed when you
311 select <menuchoice><guimenu>Help</guimenu><guimenuitem>&kmail; Introduction</guimenuitem></menuchoice>.</para>
312 </answer>
313 </qandaentry>
315 <qandaentry>
316 <question><para>I'm one of those people whose mails consist of 100 quoted lines
317 and one line written by myself. For some reason this annoys other people. Can
318 &kmail; help me and make everyone's life better?</para></question>
319 <answer><para>Sure. Just select a short relevant part of the original mail
320 with the mouse before you reply. Only this part will then be quoted in your
321 reply.</para></answer>
322 </qandaentry>
324 <qandaentry>
325 <question><para>For some messages the value in the <guilabel>Date</guilabel> field
326 is <guilabel>unknown</guilabel> or it is not correct.</para></question>
327 <answer><para>Probably the <quote>Date:</quote> header of these messages is
328 broken and &kmail; cannot interpret it. That is not a bug in &kmail;
329 but in the software that sent the mail.</para></answer>
330 </qandaentry>
332 <qandaentry>
333 <question><para>My signature has two dashes above it. What's up?</para></question>
334 <answer>
335 <para>
336 Separating the signature from the message body with two dashes and a space
337 on a single line is common usage. These symbols permit mail clients who recognize
338 them to trim the signatures from a reply. If your signature does not already have
339 this separator, &kmail; will automatically add it.</para>
340 </answer>
341 </qandaentry>
343 <qandaentry>
344 <question><para>Are there any known bugs in &kmail;?</para></question>
345 <answer>
346 <para>A list of submitted bugs can be obtained by the query from the <ulink
347 url="https://bugs.kde.org/buglist.cgi?quicksearch=kmail2">Bugzilla page</ulink>. Note that not all
348 these bugs are valid. All in all we think that &kmail; is a very robust piece
349 of software.</para>
350 <para><warning><para>However, you should not run &kmail; while another email client is already
351 accessing the files in the mail directory; if you try to do so,
352 you might lose messages. Note that you should make backups of your messages anyway.</para></warning></para>
353 </answer>
354 </qandaentry>
356 <qandaentry>
357 <question><para>&kmail; does not display &HTML; mail properly.</para></question>
358 <answer><para>References to external content like images, are disabled by
359 default, as they can be used to track whether and when you read a message.
360 Loading external references can be activated in the <guilabel>Security</guilabel>
361 tab in &kmail;'s configuration dialog; also Plugins (like <trademark
362 class="registered">Adobe</trademark> <application>Flash</application>),
363 &Java; and JavaScript will not be displayed in &kmail; for security reasons
364 and there is no way to activate them.</para></answer>
365 </qandaentry>
367 <qandaentry>
368 <question><para>Can I use two different versions of &kmail; at the same time? Can I go
369 back from a current version of &kmail; to an older one?</para></question>
370 <answer><para>You can only run one instance of &kmail; at a time. We also recommend
371 to stick to a certain version and not switch back and forth between different versions.
372 Downgrading to an older version will probably cause problems, &eg; because the index file
373 formats might have changed. Upgrading should never be a problem.</para></answer>
374 </qandaentry>
376 <qandaentry>
377 <question><para>Does &kmail; support uuencoded files?</para></question>
378 <answer><para>Uuencoded attachments are not supported. Save your mail with an uuencoded attachment
379 and use <command>uudecode</command> to decode the attachment.</para></answer>
380 </qandaentry>
382 <qandaentry>
383 <question><para>&kmail; crashed while I was writing a mail; is that mail lost now?</para></question>
384 <answer><para>&kmail; tries to save your mail to
385 <filename class="directory">$(kde4-config --localprefix)/share/apps/kmail/autosave</filename> in case of a crash. The next time you start
386 &kmail; the mail composer should appear with your mail again; If it does not,
387 try to open the files in <filename class="directory">$(kde4-config --localprefix)/share/apps/kmail/autosave</filename> with an editor. If there are no files in this folder then the crash was so bad that &kmail; could not save your mail.</para></answer>
388 </qandaentry>
390 <qandaentry>
391 <question><para>When I try to set a folder to be mailing list-aware, it does not do
392 anything when receiving an email from the list.</para></question>
393 <answer><para>Associating a folder with a mailing list has nothing to do with
394 filtering the mailing list messages &mdash; you have to add a new filter rule manually; however, once you associated a folder with a mailing list you can use <menuchoice>
395 <guimenu>Message</guimenu><guimenuitem>Reply to Mailing-List...</guimenuitem></menuchoice> or
396 <menuchoice><guimenu>Message</guimenu><guimenuitem>New Message to Mailing-List...</guimenuitem></menuchoice>
397 and the mailing list address will be set in the <guilabel>To:</guilabel> field.
398 </para></answer>
399 </qandaentry>
401 <qandaentry>
402 <question><para>My SMTP server requires authentication; does &kmail; support this?</para></question>
403 <answer><para>The <guilabel>Authentication</guilabel> can be set in the <guilabel>Advanced</guilabel> tab
404 of the SMTP configuration dialog.
405 </para></answer>
406 </qandaentry>
408 <qandaentry id="faq-procmail">
409 <question><para>Can I use &kmail; and <application>procmail</application>?</para></question>
410 <answer><para>Yes, but it is important to do it the right way or you might lose
411 mail. In order to use <application>procmail</application> and &kmail; you need
412 to set up &kmail; so that it will fetch new
413 mail from the spoolfiles in which <application>procmail</application>
414 drops your mail. Do <emphasis>not</emphasis> set up procmail to deliver
415 mail in a &kmail; folder, this cannot work.</para>
417 <para>For each procmail spoolfile you then need to create an account
418 from which &kmail; will fetch new mail; you also need to make sure you
419 specify the right lockfile name for this account. When setting up an
420 account, &kmail; will do some minimal parsing on your
421 <filename>.procmail</filename> file, and will try to list every
422 spoolfile it has found, and also the lockfiles next to the
423 <guilabel>procmail lockfile</guilabel> item. procmail lets the user
424 specify lockfiles in three different ways, so there is no way to
425 establish a correspondence between the spoolfiles and lockfiles; so it's
426 really up to you to make sure you specify the right lockfile for each
427 spoolfile.</para>
428 </answer>
429 </qandaentry>
431 <qandaentry>
432 <question><para>Spellchecking does not recognize non-English
433 characters.</para></question>
434 <answer><para>Before you can use spellchecking the first time, you have to
435 configure it. You can do so in the composer window's menu
436 under <menuchoice><guimenu>Settings</guimenu>
437 <guimenuitem>Spellchecker...</guimenuitem></menuchoice>. You can set
438 the dictionary there.</para></answer>
439 </qandaentry>
441 <qandaentry>
442 <question><para>How do I use my
443 <application>Eudora</application>/&Netscape;/<application>Outlook</application>/...
444 mail folders in  &kmail;?</para></question>
445 <answer><para>See the section <link linkend="importing-options">Importing in &kmail;</link>.
446 </para></answer>
447 </qandaentry>
449 <qandaentry>
450 <question><para>Can I use encryption with my normal (non-<acronym>SSL</acronym>)
451 POP3 account?</para></question>
452 <answer><para>If your POP3 server runs an
453 <application>ssh</application> daemon, you can use ssh to tunnel your
454 POP3 connection using the following command:</para>
456 <para><userinput><command>ssh</command> <option>-L 11000:127.0.0.1:110
457 user@host</option></userinput></para>
459 <para>Modify your &kmail; configuration to fetch the mail via
460 POP3 from <userinput>localhost</userinput> and ssh will tunnel
461 the connection for you.
463 <note><para>If non-encrypted messages have already been sent
464 via Internet, the only advantage of using <application>ssh</application> is
465 that your <emphasis>password</emphasis> will be sent encrypted to the POP3
466 server.</para></note>
468 <!-- fixme: add link to http://www.faqs.org/docs/Linux-mini/Secure-POP+SSH.html -->
470 </para>
471 </answer>
472 </qandaentry>
474 <qandaentry id="faq-file-locking">
475 <question><para>Does &kmail; lock the folders it uses?</para></question>
476 <answer><para>&kmail; does not lock the files in <filename
477 class="directory">~/local/share</filename>.</para>
478 <para>To avoid the risk of losing mail <emphasis>if using a local
479 account</emphasis> it is necessary to ensure that &kmail; uses the same type of
480 locking as your mail delivery agent.</para>
482 <para>There are five different locking options you can use:</para>
484 <itemizedlist>
485 <listitem><para><guilabel>Procmail lockfile</guilabel></para></listitem>
486 <listitem><para><guilabel>Mutt dotlock</guilabel></para></listitem>
487 <listitem><para><guilabel>Mutt dotlock privileged</guilabel></para></listitem>
488 <listitem><para><guilabel>FCNTL</guilabel> (default)</para></listitem>
489 <listitem><para><guilabel>none (use with care)</guilabel></para></listitem>
490 </itemizedlist>
492 <para><guilabel>Procmail lockfile</guilabel> will use a small utility that comes
493 with <application>procmail</application> called <command>lockfile</command>. You
494 can use this if your mail folder is in a folder where you have write
495 permission.  This will not work on your <filename
496 class="directory">/var/spool/mail/user</filename> file in most cases.  It will
497 create <filename>.lock</filename> files on your account when &kmail; is checking
498 for new mail. Please note that this will only work if
499 <application>procmail</application> is installed on your system.</para>
501 <para><guilabel>Mutt dotlock</guilabel> and <guilabel>Mutt dotlock
502 privileged</guilabel> will both use a small utility that comes with
503 <application>mutt</application>
504 called <command>mutt_dotlock</command>. <guilabel>Mutt dotlock</guilabel>
505 can be used in the same way as the <guilabel>Procmail lockfile</guilabel>
506 option, with the same limitation with regards to the <filename
507 class="directory">/var/spool/mail/</filename> folders. However, the
508 <guilabel>Mutt dotlock privileged</guilabel> option can create lock files
509 in the <filename class="directory">/var/spool/mail</filename> folder.
510 <command>mutt_dotlock</command> is a setgid program and this option will
511 run it in setgid mode. Please note that these options will only work if
512 <application>mutt</application> is installed on your system.</para>
514 <para><guilabel>FCNTL</guilabel> will use the
515 <function>fcntl()</function> system call.</para>
517 <warning><para>Usage of FCNTL locking might cause system lockups when the mail
518 spool file is on an NFS mounted device.</para></warning>
520 <para>If you do not want to use any locking, the <guilabel>none</guilabel> option
521 is what you want. However, there are risks of losing mail when no locking is
522 used.</para>
524 </answer>
525 </qandaentry>
527 <qandaentry>
528 <question><para>How do I leave messages on the POP3 server?</para></question>
529 <answer><!--<para>See the <link linkend="popfilters">Download filters</link> chapter.-->
530 <para>If you want to leave all messages on the server: open up the
531 <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure &kmail;...</guimenuitem>
532 </menuchoice> window. Click on the <guilabel>Accounts</guilabel> page. Select your
533 account from the account list and click the <guibutton>Modify...</guibutton>
534 button. This dialog contains the <guilabel>Leave fetched messages on the server</guilabel>
535 setting which you must enable.</para></answer>
536 </qandaentry>
538 <qandaentry>
539 <question><para>How do I automatically insert a text footer within my
540 messages?</para></question>
541 <answer><para>The text footer is also called a signature (not to be confused
542 with a cryptographic signature). Select
543 <menuchoice><guimenu>Settings</guimenu>
544 <guimenuitem>Configure &kmail;...</guimenuitem></menuchoice>.
545 Look in the <guilabel>Identity</guilabel> page for the <guilabel>Signature</guilabel>
546 tab and add your signature there. Then go to the <guilabel>General</guilabel>
547 tab on the <guilabel>Composer</guilabel> page and enable
548 <xref linkend="configure-composer-general-append-signature"/></para></answer>
549 </qandaentry>
551 <qandaentry>
552 <question><para>How do I set up &Sendmail; to work with
553 &kmail; if I have a  dial-up connection?</para></question>
555 <answer><para>First you should check if your distribution
556 can do this for you. It probably has already been set up during
557 installation.</para>
559 <para>If that is not the case, you may want to have a look at <ulink
560 url="http://tldp.org/HOWTO/Mail-Queue.html">the Mail Queue
561 HOWTO</ulink>.</para></answer>
562 </qandaentry>
564 <qandaentry>
565 <question><para>I've seen demonstrations of remote control behavior with &kmail;.
566 Is there any documentation on the available interfaces?</para></question>
567 <answer><para>You can get a list of functions by using this command in a shell:
568 <userinput><command>qdbus</command>
569 <option>org.kde.kmail /KMail</option></userinput>. Then you can control &kmail; like this: <userinput><command>qdbus</command>
570 <option>org.kde.kmail /KMail org.kde.kmail.kmail.folderList</option></userinput>. You can use <application>qdbusviewer</application> to browse available methods in a graphical interface.</para></answer>
571 </qandaentry>
573 <qandaentry>
574 <question><para>When I reply to a message, only a part of the message is quoted. How come?</para></question>
575 <answer><para>This can happen when the message contains two dashes and a space on a single line. This is seen as the start of the signature. The remaining part of the message will not be quoted, because when you reply to a message &kmail; strips the signature.</para></answer>
576 </qandaentry>
579 <qandaentry>
580 <question><para>I am only using &imap;, can I get rid of those Local Folders in
581 the folder list or at least keep them collapsed all the time?</para></question>
582 <answer><para>No, you cannot get rid of them. The local folders function as a
583 fallback when the &imap; server is unreachable. Although you only use &imap;,
584 &kmail; uses the outbox for sending the messages. If we hide all local folders
585 you will not be able to fix messages in the outbox which cannot be send for some
586 reason. But it is possible to keep the local folders collapsed. What
587 you have to do is go to <menuchoice><guimenu>Settings</guimenu><guimenuitem>
588 Configure &kmail;...</guimenuitem></menuchoice> and go to the section Misc,
589 there you can setup the folder on startup. If you change that to a folder on
590 the &imap; account, the Local Folders will stay collapsed when &kmail; starts.
591 </para></answer>
592 </qandaentry>
594 <qandaentry>
595 <question><para>How to watch the threads?</para></question>
596 <answer><para>If you want to follow a thread, right click and choose <menuchoice><guimenu>Mark Thread</guimenu><guimenuitem>Watch Thread</guimenuitem></menuchoice>.</para>
597 <para>From this point on all messages on the thread that starts in this message will be marked as <guilabel>Watched</guilabel>.
598 </para></answer>
599 </qandaentry>
600 <qandaentry>
601 <question><para>How to watch your own threads?</para></question>
602 <answer><para>This is useful in case you are registered to a mailing list such as kdepim-users@kde.org and want to filter out the threads you participate in.</para>
603 <itemizedlist>
604   <listitem>
605     <para>Create a filter to mark all your incoming messages to a mailing list as Watched</para>
606     <para>To create a filter go to:</para>
607     <para><menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure Filters</guimenuitem></menuchoice></para>
608     <itemizedlist>
609       <listitem>
610         <para>select <guilabel>Match all of the following</guilabel></para>
611       </listitem>
612       <listitem>
613         <para>Add the conditions:
614           <itemizedlist>
615             <listitem>
616               <para><menuchoice><guimenu>From</guimenu><guisubmenu>Contains</guisubmenu><guimenuitem></guimenuitem></menuchoice> <replaceable>yourmail@maildomain</replaceable><footnote><para>replace <replaceable>yourmail@maildomain</replaceable> with your outgoing mail address</para></footnote>
617               </para>
618             </listitem>
619             <listitem>
620               <para><menuchoice><guimenu>List-Id</guimenu><guimenuitem>Contains</guimenuitem></menuchoice> <replaceable>listID</replaceable><footnote><para>replace <replaceable>listID</replaceable> with a specific mailing list id &eg; (&lt;kdepim-users.kde.org&gt;) or just a <quote>.</quote> to include outgoing mail to all mailing lists with <quote>.</quote> in their id (basically all).</para></footnote>
621               </para>
622             </listitem>
623           </itemizedlist>
624         </para>
625       </listitem>
626       <listitem>
627         <para>Under <guilabel>Filter Actions</guilabel> choose <menuchoice><guimenu>Mark As</guimenu><guimenuitem>Watched</guimenuitem></menuchoice>.
628         </para>
629       </listitem>
630     </itemizedlist>
631   </listitem>
632   <listitem>
633     <para>In the <guilabel>Advanced</guilabel> tab</para>
634     <itemizedlist>
635       <listitem>
636         <para>Uncheck <guilabel>if this filter matches, stop processing here</guilabel>, so that other filters such as sorting the incoming messages from the mailing list to sub-folders would execute.</para>
637       </listitem>
638       <listitem>
639         <para>Place that filter before other filters that may stop the filtering process, or simply put it first. (changing the filters order is done using the two arrows up and down, under the <guilabel>Available filters</guilabel> list)
640         </para>
641       </listitem>
642     </itemizedlist>
643   </listitem>
644   <listitem>
645     <para>Create a search on mailing list messages</para>
646     <para>Go to the folder where your mailing list messages are stored (&eg; Local Folders/KDE-PIM-USERS) and hit <keycap>S</keycap> key or in the menu <menuchoice><guimenu>Edit</guimenu><guimenuitem>Find Messages</guimenuitem></menuchoice>.</para>
647     <itemizedlist>
648       <listitem>
649         <para>Select <guilabel>Match all of the following</guilabel><footnote><para>Pay attention to the <guilabel>Include sub-folders</guilabel>.</para></footnote>
650         </para>
651       </listitem>
652       <listitem>
653         <para>Add the condition: <menuchoice><guimenu>Message Status</guimenu><guisubmenu>is</guisubmenu><guimenuitem>Watched</guimenuitem></menuchoice>
654         </para>
655       </listitem>
656       <listitem>
657         <para>Give the search an informative name (<guilabel>Search folder name</guilabel>) like <replaceable>KDE-PIM-USERS-Watched</replaceable>
658         </para>
659       </listitem>
660       <listitem>
661         <para>Make the search.  After it is done you can close the search window.
662         </para>
663       </listitem>
664     </itemizedlist>
665     <para>Now whenever you start a thread or participate in one, it is <guilabel>Watched</guilabel>.</para>
666     </listitem>
667 </itemizedlist>
668 </answer>
669 </qandaentry>
671 <qandaentry>
672 <question><para>How to use E-Mail Translation?</para></question>
673 <answer>
674 <para>To translate text in the composer window read the section 
675 <link linkend="using-the-translator">Using the Built-in Translator</link>
676 </para>
677 <para>
678 In the message preview pane highlight the text you would like to translate and select 
679 <guimenuitem>Translate</guimenuitem> (<keycombo action="simul">&Ctrl;&Alt;<keycap>T</keycap></keycombo>) from the &RMB; context menu.
680 </para>
681 </answer>
682 </qandaentry>
684 </qandaset>
686 </chapter>