Daniel
Naber

    daniel.naber@t-online.de

David
Rugge

    davidrugge@mediaone.net

Michel
Boyer de la Giroday

    michel@klaralvdalens-datakonsult.se

Scarlett
Clark

    &Scarlett.Clark.mail;

2017-04-18
Applications 17.08

# Getting Started

This is a short introduction to &kmail; and its usage so you can start working with it right away. For more in-depth information see the Using &kmail; section.

## Account Wizard

Account Wizard
Account Wizard

Account Wizard

The first time you run &kmail; you will be greeted with the Account Wizard.

If at anytime you need to run the account wizard again, you can find it under Settings Add Account.

The wizard will take you through the process of creating your email accounts. Your screens will vary depending on how much the wizard can determine on its own. Below is an outline of the screens you may encounter while using this wizard.

- Provide personal data is the first screen of the wizard. It will prompt you for your basic account information: Full name:, E-mail address, and Password. By default, the Find provider settings on the Internet option is checked, the wizard will attempt to retrieve the necessary information from the server. Uncheck this option if you are an expert user and you need to set up advanced configuration. Click the Next button once finished.

  If you use GMail 2-step verification you will need to generate an application-specific password within gmail security settings and enter that password in the password text box.

- If you want to secure your communication with GnuPG you can generate a new key and publish the key on a public key server or import an existing key.

  When sending mails &kmail; then automatically looks for encryption keys of your recipients and secures the mail when keys for each recipient can be found. It also signs your mails cryptographically so that it can be verified that your messages have not been tampered with.

- The Select Account Type screen will be next if the wizard cannot determine your account type. Select your account type from the list (if you do not know, you will need to contact your email provider). If your account type is not listed, click the Check for more on Internet button. Once your account type has been selected, click the Next button, and you will be presented with the Personal Settings screen.

  The Provide personal data screen will show again with the server details it found if the wizard was successful at determining the account type. Click the Finish set up the account, complete the wizard and close the window.

- The Personal Settings screen will show if you had to enter your account type. Verify that your information is correct on this page. Select Download all messages for offline use if you want your messages available when you do not have an Internet connection (&imap; only). Click the Next button once finished.

- Your account will then be set up, and you can click the Finish button to complete the wizard and close the window.

For manually creating accounts please continue reading the rest of this document.

## Manual Configuration Quickstart

The Configure window consists of six sections: Identities, Accounts, Appearance, Composer, Security, Misc, and Plugins.

To begin sending and receiving messages you will only have to change some settings in the Identities and Accounts pages.

### Setting your Identity

The settings in the Identities page are fairly straightforward. Select your default identity and click Modify. Fill in the Your name field with your full name (&eg; `John Doe`) and the Organization field (optional) with the appropriate information.

Next, fill in the Email address field with your email address (&eg; `john@example.net`).

If you are using PGP or GnuPG you can set your &openpgp; keys and/or &smime; certificates in the Cryptography tab.

Optionally, go to the Signature tab and enter your signature. This is a short text that will be automatically appended to all your messages. It has nothing to do with digital signatures.

### Setting up your Account

The Accounts page contains the settings that tell &kmail; how to send and receive your email messages. Many of these settings can vary greatly depending on the setup of your system and on the kind of network that your mail server is located in. If you do not know what setting to choose or what to put in a field, consult your Internet Service Provider (ISP) or system administrator.

#### Sending Messages

The Sending tab provides a list of ways to send messages. The first item in the list is the default way to send messages. Using the Add... button you can fill in the Name field with a descriptive name (&eg; `My Mail Account`). Click the Create and Configure and fill the Outgoing mail server field with the name and domain of your mail server (&eg; `smtp.provider.com`). You will probably not need to change the Port setting (the default is `25`).

The way of sending messages configured here will be used for your default identity and for all other identities that do not have their own way of sending messages. You can use different ways of sending messages for different identities by selecting the Outgoing Account check box in the Advanced tab of the Identities page.

A description of the other options can be found in the Configuration chapter.

#### Options relevant to Kolab server

When configuring an SMTP account with a Kolab server Host, you need to check the Server requires authentication option and to fill in your Kolab user's email address and password in the Login and Password fields. Then select the Security tab and click on the Check What the Server Supports for automated setup of your Security configuration. The default should be TLS/PLAIN. The Kolab server supports SSL/PLAIN as well. These settings may of course be configured manually.

### Receiving Messages

By default the Local Folders (inbox, outgoing, sentmail, trash, drafts and templates) with data from a local Maildir folder are predefined on this tab. Using the drop down box you can select the Retrieval Options for these folders.

To set up an account so you can receive mail, press the Add... button in the Receiving tab. You will then be prompted for the type of your email account. Most users should select POP3 E-Mail Server or IMAP E-Mail Server. If you want to use a local mailbox file, please see the FAQ about file locking.

You will then be presented with the account settings window. First, fill in the Account name field to name your account. You can choose any name you like. Username, Password, and Incoming mail server should be filled in with the appropriate information from your ISP or system administrator. You should not need to change the Port setting (the default for POP3 is `110`, the default for IMAP is `143`).

#### Options only relevant to IMAP

If you check Automatically compact folders &kmail; removes the messages you deleted from the server as soon as you leave a folder. Otherwise the messages are only marked as deleted and it is up to you to compact the folders manually by using the menu item File Compact All Folders.

If you check Show hidden folders, folders whose name starts with a dot are also displayed.

#### Options only relevant to POP3

Select Leave fetched messages on the server if you want to leave your messages on the server after you downloaded them.

Select Include in Manual Mail Check if you want to check this account whenever you use File Check Mail. If you unselect this option you can still check for new messages on this account with File Check Mail In.

Select Enable interval mail checking if you want &kmail; to check for new messages automatically. The interval can be specified below under Check mail interval.

inbox is the default folder for incoming messages. If you want to change that for some reason, you can do so with Destination folder. But what you probably want is a filter, which has nothing to do with this option.

With Pre-command you can specify any program that &kmail; will execute just before fetching mail. Please specify the full path (do not use ~) and note that &kmail; will not continue until the program returns.

In the POP Settings group you can select Use pipelining for faster mail download if this is supported by your server. You should carefully test this to make sure it works safely.

#### Options for both IMAP and POP3

&kmail; supports encryption via SSL/TLS and STARTTLS (SSL/TLS should be preferred if it is available).

For POP3 &kmail; supports:

- Clear text,

- PLAIN,

- LOGIN,

- CRAM-MD5 (recommended if DIGEST-MD5 is not available),

- DIGEST-MD5 (recommended),

- NTLM,

- GSSAPINTLM and

- APOP authentication.

DIGEST-MD5, CRAM-MD5 and APOP are secure on their own, the other options are only secure when used together with SSL or TLS. You should only use Clear text if your server does not support any of the other authentication methods. Additionally, for IMAP Anonymous is supported, but APOP is not. Use the Check what the server supports button on the Security tab to automatically select the most secure settings supported by your server.

You are now ready to send and receive mail. For IMAP, just open your folders in the folder tree in &kmail;'s main window. &kmail; then connects to your server and displays the messages it finds. For POP3 use File Check Mail.

## Testing your Setup

First, you should send yourself a message to test your configuration. To send a message, either hit &Ctrl;N, select the New Message icon or select the Message New Message... menu item. The composer window will appear. Fill in the To: field with your email address and type something in the Subject field. Send the message by selecting Message Send Mail .

To check your email, select File Check Mail. In the lower right corner of the main window, a progress bar will indicate how many messages are being downloaded. If you receive the message you just sent, then congratulations! If, however, you receive any error messages while testing your setup, make sure that your network connection is working and recheck your settings at Settings Configure &kmail;....