Kmail/Configuring Kmail: Difference between revisions

From KDE Wiki Sandbox
(small tweaks for easier translation, images should be translatable)
(Marked this version for translation)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Construction}}


<languages />
<languages />


<translate>
<translate>
== Configuring KMail ==


<!--T:76-->
{{IncompletePage}}
== Configuring KMail == <!--T:1-->
<!--T:2-->
[[Image:Kmail-Configure.png|thumb|500px|center|Configure Kmail]]
[[Image:Kmail-Configure.png|thumb|500px|center|Configure Kmail]]


<!--T:3-->
''KMail configuration can be reached through'' <menuchoice>Settings → Configure KMail...</menuchoice>.
''KMail configuration can be reached through'' <menuchoice>Settings → Configure KMail...</menuchoice>.
Listed below are the links to the many configuration options in '''KMail'''.
Listed below are the links to the many configuration options in '''KMail'''.


=== Identities ===
=== Identities === <!--T:4-->


<!--T:5-->
*[[Special:myLanguage/Kmail/Configuring Kmail/Identities#New Identity|New Identity]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Identities#New Identity|New Identity]]
**[[Special:myLanguage/Kmail/Configuring Kmail/Identities#General|Identities General Tab]]
**[[Special:myLanguage/Kmail/Configuring Kmail/Identities#General|Identities General Tab]]
Line 21: Line 27:
**[[Special:myLanguage/Kmail/Configuring Kmail/Identities#Picture|Identities Picture Tab]]
**[[Special:myLanguage/Kmail/Configuring Kmail/Identities#Picture|Identities Picture Tab]]


=== Accounts ===
=== Accounts === <!--T:6-->


You can quickly set up new accounts with the [[Special:myLanguage/Kmail/Account Wizard|Account Wizard]]. The following describes the manual configuration tabs. This page allows you to create one or more (incoming and outgoing) accounts, i.e. combinations of mail servers, login information and other settings. Typically, you will create one incoming (used to retrieve messages) and one  outgoing (used for sending messages) account. You can create as many accounts as you want, though, and assign each one to different identities or decide on a per-message basis.
<!--T:7-->
You can quickly set up new accounts with the [[Special:myLanguage/KMail/Account Wizard|Account Wizard]]. The following describes the manual configuration tabs. This page allows you to create one or more (incoming and outgoing) accounts, i.e. combinations of mail servers, login information and other settings. Typically, you will create one incoming (used to retrieve messages) and one  outgoing (used for sending messages) account. You can create as many accounts as you want, though, and assign each one to different identities or decide on a per-message basis.


<!--T:8-->
*[[Special:myLanguage/Kmail/Configuring Kmail/Accounts#Receiving |Receiving Account]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Accounts#Receiving |Receiving Account]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Accounts#Sending Account|Sending Account]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Accounts#Sending Account|Sending Account]]


=== Appearance ===
=== Appearance === <!--T:9-->


<!--T:10-->
*[[Special:myLanguage/Kmail/Configuring Kmail/Appearance#Fonts |Appearance Fonts]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Appearance#Fonts |Appearance Fonts]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Appearance#Colors |Appearance Colors]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Appearance#Colors |Appearance Colors]]
Line 37: Line 46:
*[[Special:myLanguage/Kmail/Configuring Kmail/Appearance#System Tray |Appearance System Tray]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Appearance#System Tray |Appearance System Tray]]


=== Composer ===
=== Composer === <!--T:11-->


<!--T:12-->
*[[Special:myLanguage/Kmail/Configuring Kmail/Composer#General |Composer General]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Composer#General |Composer General]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Composer#Standard Templates |Composer Standard Templates]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Composer#Standard Templates |Composer Standard Templates]]
Line 50: Line 60:
*[[Special:myLanguage/Kmail/Configuring Kmail/Composer#External Editor |Composer External Editor]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Composer#External Editor |Composer External Editor]]


=== Security ===
=== Security === <!--T:13-->


<!--T:14-->
*[[Special:myLanguage/Kmail/Configuring Kmail/Security#Reading |Security Reading]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Security#Reading |Security Reading]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Security#Composing |Security Composing]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Security#Composing |Security Composing]]
Line 58: Line 69:
*[[Special:myLanguage/Kmail/Configuring Kmail/Security#Miscellaneous |Security Miscellaneous]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Security#Miscellaneous |Security Miscellaneous]]


=== Misc ===
=== Misc === <!--T:15-->


<!--T:16-->
*[[Special:myLanguage/Kmail/Configuring Kmail/Misc#Folders|Misc Folders]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Misc#Folders|Misc Folders]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Misc#Invitations|Misc Invitations]]
*[[Special:myLanguage/Kmail/Configuring Kmail/Misc#Invitations|Misc Invitations]]


== Options without a user interface representation ==
== Options without a user interface representation == <!--T:17-->


<!--T:18-->
Apart from the options presented in the configuration dialog, some options can only be set directly in the KMail configuration file or through KIOSK (eg. Input into '''Konsole'''). These so called “hidden” configuration options cannot be changed via the normal '''KMail''' Settings dialog; they must be made by modifying the configuration file using a text editor or the kwriteconfig program. The configuration file is to be written in the format of [Section Name] and the following lines are the variables and their settings. If you are manually editing the configuration file you will need to add the [Section Name] before adding variables. The kwriteconfig will add the section for you as long as you use the <code>--group</code> switch.
Apart from the options presented in the configuration dialog, some options can only be set directly in the KMail configuration file or through KIOSK (eg. Input into '''Konsole'''). These so called “hidden” configuration options cannot be changed via the normal '''KMail''' Settings dialog; they must be made by modifying the configuration file using a text editor or the kwriteconfig program. The configuration file is to be written in the format of [Section Name] and the following lines are the variables and their settings. If you are manually editing the configuration file you will need to add the [Section Name] before adding variables. The kwriteconfig will add the section for you as long as you use the <code>--group</code> switch.
The '''KMail''' configuration file is called kmailrc and can be found in your home directory. The location can vary according to your operating system or distribution, but can always be found by running the command  
The '''KMail''' configuration file is called kmail2rc and can be found in your home directory. The location can vary according to your operating system or distribution, but can always be found by running the command  
<code>kde4-config --path config --locate</code> '''''kmailrc'''''. For the remainder of this section, assume that the configuration file is located in '''''/path/to/kmailrc'''''.  
<code>kf5-config --path config --locate kmail2rc</code>. For the remainder of this section, assume that the configuration file is located in <tt>/path/to/kmailrc</tt>.  
{{Warning|Whenever changing these options, make sure to quit '''KMail''' first before editing the configuration file. Only restart '''KMail''' after you have made and saved the changes to the configuration file.}}  
 
<!--T:19-->
{{Warning|1=Whenever changing these options, make sure to quit '''KMail''' first before editing the configuration file. Only restart '''KMail''' after you have made and saved the changes to the configuration file.}}  


<!--T:20-->
* Send Message Distribution Notifications with an empty sender string (SendMDNsWithEmptySender)
* Send Message Distribution Notifications with an empty sender string (SendMDNsWithEmptySender)


<!--T:21-->
Some servers might be configured to reject such messages, so if you are experiencing problems sending MDNs, make sure this option is set to false.
Some servers might be configured to reject such messages, so if you are experiencing problems sending MDNs, make sure this option is set to false.
To enable this feature, add to the <menuchoice>[MDN]</menuchoice> section: <br />
To enable this feature, add to the '''[MDN]''' section of the Configuration File:
'''Configuration File:'''
 
<menuchoice>SendMDNsWithEmptySender</menuchoice>='''''true'''''<br />
<!--T:22-->
If there is no such section, simply add [MDN]on a line by itself just above the option.  
{{Input|1=SendMDNsWithEmptySender=true}}
'''Input into '''Konsole''':
 
<code>kwriteconfig --file '''''/path/to/kmailrc''''' --group MDN --key SendMDNsWithEmptySender '''''true''''' </code><br />
<!--T:23-->
If there is no such section, simply add <code>[MDN]</code> on a line by itself just above the option.  
Alternatively, input the following into '''Konsole''':
 
<!--T:24-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group MDN --key SendMDNsWithEmptySender true}}
 
<!--T:25-->
{{Note|The default setting of “false” strictly speaking violates Internet standards, but is set that way for practical reasons, to avoid servers rejecting MDNs that '''KMail''' generates because they think they are SPAM. }}
{{Note|The default setting of “false” strictly speaking violates Internet standards, but is set that way for practical reasons, to avoid servers rejecting MDNs that '''KMail''' generates because they think they are SPAM. }}


<!--T:26-->
* MaximumAttachmentSize
* MaximumAttachmentSize


This allows the maximum filesize allowed for attachments in the mail composer to be limited. To limit attachments to 20 MB in size, for example, add a line under <menuchoice>[Composer]</menuchoice> section: <br />
<!--T:27-->
'''Configuration File:'''
This allows the maximum filesize allowed for attachments in the mail composer to be limited. To limit attachments to 20 MB in size, for example, add a line under '''[Composer]''' section of the Configuration File:
<menuchoice>MaximumAttachmentSize</menuchoice>='''''20'''''<br />
 
'''Input into '''Konsole''':
<!--T:28-->
<code>kwriteconfig --file '''''/path/to/kmailrc''''' --group Composer --key MaximumAttachmentSize '''''20'''''</code><br />
{{Input|1=MaximumAttachmentSize=20}}
 
<!--T:29-->
Alternatively, input the following into '''Konsole''':
 
<!--T:30-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group Composer --key MaximumAttachmentSize 20}}
 
<!--T:31-->
* CloseDespiteSystemTray
* CloseDespiteSystemTray


This option allows you to configure the application to close fully, even if there is a system tray icon configured, which would normally keep the application running. To enable the feature, add a line under <menuchoice>[General]</menuchoice> section: <br />
<!--T:32-->
'''Configuration File:'''
This option allows you to configure the application to close fully, even if there is a system tray icon configured, which would normally keep the application running. To enable the feature, add a line under '''[General]''' section of the Configuration File:
<menuchoice>CloseDespiteSystemTray</menuchoice>='''''true'''''<br />
 
'''Input into '''Konsole''':
<!--T:33-->
<code>kwriteconfig --file '''''/path/to/kmailrc''''' --group General --key CloseDespiteSystemTray '''''true'''''</code><br />
{{Input|1=CloseDespiteSystemTray=true}}
 
<!--T:34-->
Alternatively, input the following into '''Konsole''':
 
<!--T:35-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group General --key CloseDespiteSystemTray true}}


==== OutOfOffice Specific ====
==== OutOfOffice Specific ==== <!--T:36-->


When manually entering entries into the configuration file, and there is no such section, simply add [OutOfOffice]on a line by itself just above the option. Applying defaults to the out-of-office configuration dialog via the corresponding button will restore this domain, in case the user has changed it.   
<!--T:37-->
When manually entering entries into the configuration file, and there is no such section, simply add <code>[OutOfOffice]</code> on a line by itself just above the option. Applying defaults to the out-of-office configuration dialog via the corresponding button will restore this domain, in case the user has changed it.   


<!--T:38-->
* CheckOutOfOfficeOnStartup
* CheckOutOfOfficeOnStartup


With this option enabled, '''KMail''' will check on every startup if there is an active out-of-office configured and show a warning if this is the case. To disable the feature, add a line under <menuchoice>[OutOfOffice]</menuchoice> section: <br />
<!--T:39-->
'''Configuration File:'''
With this option enabled, '''KMail''' will check on every startup if there is an active out-of-office configured and show a warning if this is the case. To disable the feature, add a line under '''[OutOfOffice]''' section of the Configuration File:
<menuchoice>CheckOutOfOfficeOnStartup</menuchoice>='''''false'''''<br />
 
'''Input into '''Konsole''':
<!--T:40-->
<code>kwriteconfig --file '''''/path/to/kmailrc''''' --group OutOfOffice --key CheckOutOfOfficeOnStartup '''''false'''''</code><br />
{{Input|1=CheckOutOfOfficeOnStartup=false}}
 
<!--T:41-->
Alternatively, input the following into '''Konsole''':
 
<!--T:42-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group OutOfOffice --key CheckOutOfOfficeOnStartup false}}


<!--T:43-->
* Allow out-of-office settings to be adjusted by the user.
* Allow out-of-office settings to be adjusted by the user.


In case you don't want users to be able to upload their own out-of-office scripts to the server you can add to the <menuchoice>[OutOfOffice]</menuchoice> section : <br />
<!--T:44-->
'''Configuration File:'''
In case you don't want users to be able to upload their own out-of-office scripts to the server you can add to the '''[OutOfOffice]''' section of the Configuration File:
<menuchoice>AllowOutOfOfficeSettings</menuchoice>='''''false'''''<br />
 
If there is no such section, simply add "[OutOfOffice]" on a line by itself just above the option.
<!--T:45-->
'''Input into '''Konsole''':
{{Input|1=AllowOutOfOfficeSettings=false}}
<code>kwriteconfig --file '''''/path/to/kmailrc''''' --group OutOfOffice --key AllowOutOfOfficeSettings '''''false'''''</code><br />
 
<!--T:46-->
If there is no such section, simply add <code>[OutOfOffice]</code> on a line by itself just above the option.
Alternatively, input the following into '''Konsole''':
 
<!--T:47-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group OutOfOffice --key AllowOutOfOfficeSettings false}}
    
    
* Allow out-of-office scripts to be uploaded by the user, but no settings changed.
* Allow out-of-office scripts to be uploaded by the user, but no settings changed.


If you want to allow your users to upload their own out-of-office scripts but you do not want them to be able to change the domain to react to and the react-to-spam setting, you can add to the <menuchoice>[OutOfOffice]</menuchoice> section : <br />
<!--T:48-->
'''Configuration File:'''
If you want to allow your users to upload their own out-of-office scripts but you do not want them to be able to change the domain to react to and the react-to-spam setting, you can add to the '''[OutOfOffice]''' section of the Configuration File:
<menuchoice>AllowOutOfOfficeUploadButNoSettings</menuchoice>='''''true'''''<br />
 
'''Input into '''Konsole''':
<!--T:49-->
{{Input|1=AllowOutOfOfficeUploadButNoSettings=true}}
 
<!--T:50-->
<!-- Uncomment if correct
Alternatively, input the following into '''Konsole''':
 
<!--T:51-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group OutOfOffice --key AllowOutOfOfficeUploadButNoSettings true}}
-->


<!--T:52-->
* Default domain to limit out-of-office replies to.
* Default domain to limit out-of-office replies to.


When editing vacation (out-of-office) scripts, the user can specify a domain to limit the sending of such replies to. To pre-load this setting with a default value, add to the <menuchoice>[OutOfOffice]</menuchoice> section :<br /> 
<!--T:53-->
'''Configuration File:'''
When editing vacation (out-of-office) scripts, the user can specify a domain to limit the sending of such replies to. To pre-load this setting with a default value, add to the '''[OutOfOffice]''' section of the Configuration File:
<menuchoice>OutOfOfficeDomain</menuchoice>='''''myMailDomain.test'''''<br />
 
*Enable sending of out-of-office replies to messages marked as SPAM.
<!--T:54-->
By default, out-of-office replies are not sent to messages marked as SPAM. To override this behavior, add to the <menuchoice>[OutOfOffice]</menuchoice> section : <br />
{{Input|1=OutOfOfficeDomain=myMailDomain.test}}
'''Configuration File:'''
 
<menuchoice>OutOfOfficeReactToSpam</menuchoice>='''''true'''''<br />
<!--T:55-->
<!-- Uncomment if correct
Alternatively, input the following into '''Konsole''':
 
<!--T:56-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group OutOfOffice --key OutOfOfficeDomain myMailDomain.test}}
-->
 
<!--T:57-->
* Enable sending of out-of-office replies to messages marked as SPAM.
 
<!--T:58-->
By default, out-of-office replies are not sent to messages marked as SPAM. To override this behavior, add to the '''[OutOfOffice]''' section of the Configuration File:
 
<!--T:59-->
{{Input|1=OutOfOfficeReactToSpam=true}}
   
   
<!-- Uncomment if correct
Alternatively, input the following into '''Konsole''':
<!--T:60-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group OutOfOffice --key OutOfOfficeReactToSpam true}}
-->
<!--T:61-->
* disregardUmask
* disregardUmask


In versions prior to 1.9, KMail saved all attachments to disk with permissions set to 600 — only readable or writable by the owner of the file. In response to user feedback, this was made configurable in KMail version 1.9, with the defaults changed to honour the umask set on the user account while saving files to disk. To enable this feature, add under <menuchoice>[General]</menuchoice> section: <br />
<!--T:62-->
'''Configuration File:'''
In versions prior to 1.9, KMail saved all attachments to disk with permissions set to 600 — only readable or writable by the owner of the file. In response to user feedback, this was made configurable in KMail version 1.9, with the defaults changed to honour the umask set on the user account while saving files to disk. To enable this feature, add under '''[General]''' section of the Configuration File:
<menuchoice>disregardUmask</menuchoice>='''''true'''''<br />
 
<code>kwriteconfig --file '''''/path/to/kmailrc''''' --group General --key disregardUmask '''''true'''''</code><br />
<!--T:63-->
{{Input|1=disregardUmask=true}}
 
<!--T:64-->
Alternatively, input the following into '''Konsole''':
 
<!--T:65-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group General --key disregardUmask true}}


<!--T:66-->
* AutoLostFoundMove
* AutoLostFoundMove


<!--T:67-->
Activate this option to automate the handling of not yet uploaded messages in disconnected IMAP folders that cannot be uploaded. This can happen if the folder was removed from the server or your access rights have been restricted. Such messages will automatically be moved to a newly created lost+found folder if this option is enabled; you will be asked how to proceed every time otherwise.  
Activate this option to automate the handling of not yet uploaded messages in disconnected IMAP folders that cannot be uploaded. This can happen if the folder was removed from the server or your access rights have been restricted. Such messages will automatically be moved to a newly created lost+found folder if this option is enabled; you will be asked how to proceed every time otherwise.  
'''Configuration File:'''
'''Configuration File:'''


<!--T:68-->
* ShowUserAgent
<!--T:69-->
Starting in version 1.9, KMail can show the User-Agent or X-Mailer value from the message header when using Fancy Headers (see <menuchoice>View → Headers</menuchoice> menu). To enable this feature, add under '''[Reader]''' section of the Configuration File:
<!--T:70-->
{{Input|1=ShowUserAgent=true}}
<!--T:71-->
Alternatively, input the following into '''Konsole''':
<!--T:72-->
{{Input|1=kwriteconfig --file <tt>/path/to/kmailrc</tt> --group Reader --key ShowUserAgent true}}


* ShowUserAgent
== More Information == <!--T:74-->


Starting in version 1.9, KMail can show the User-Agent or X-Mailer value from the message header when using Fancy Headers (see <menuchoice>View → Headers</menuchoice> menu). To enable this feature, add under <menuchoice>[Reader] </menuchoice> section: <br />
<!--T:75-->
'''Configuration File:'''
* [https://docs.kde.org/trunk5/en/pim/kmail2/configure.html KDE official documentation]
<menuchoice>ShowUserAgent</menuchoice>='''''true'''''<br />
<code>kwriteconfig --file '''''/path/to/kmailrc''''' --group Reader --key ShowUserAgent '''''true'''''</code><br />


<!--T:73-->
[[Category:Office]]
[[Category:Office]]
</translate>
</translate>

Latest revision as of 07:29, 3 October 2020


This page needs Your love!
This page is incomplete, inaccurate or just not good enough! Your help will be greatly appreciated. Before editing, please make sure You understand this Introduction to new contributors.


Configuring KMail

Configure Kmail

KMail configuration can be reached through Settings → Configure KMail.... Listed below are the links to the many configuration options in KMail.

Identities

Accounts

You can quickly set up new accounts with the Account Wizard. The following describes the manual configuration tabs. This page allows you to create one or more (incoming and outgoing) accounts, i.e. combinations of mail servers, login information and other settings. Typically, you will create one incoming (used to retrieve messages) and one outgoing (used for sending messages) account. You can create as many accounts as you want, though, and assign each one to different identities or decide on a per-message basis.

Appearance

Composer

Security

Misc

Options without a user interface representation

Apart from the options presented in the configuration dialog, some options can only be set directly in the KMail configuration file or through KIOSK (eg. Input into Konsole). These so called “hidden” configuration options cannot be changed via the normal KMail Settings dialog; they must be made by modifying the configuration file using a text editor or the kwriteconfig program. The configuration file is to be written in the format of [Section Name] and the following lines are the variables and their settings. If you are manually editing the configuration file you will need to add the [Section Name] before adding variables. The kwriteconfig will add the section for you as long as you use the --group switch. The KMail configuration file is called kmail2rc and can be found in your home directory. The location can vary according to your operating system or distribution, but can always be found by running the command kf5-config --path config --locate kmail2rc. For the remainder of this section, assume that the configuration file is located in /path/to/kmailrc.

Warning
Whenever changing these options, make sure to quit KMail first before editing the configuration file. Only restart KMail after you have made and saved the changes to the configuration file.


  • Send Message Distribution Notifications with an empty sender string (SendMDNsWithEmptySender)

Some servers might be configured to reject such messages, so if you are experiencing problems sending MDNs, make sure this option is set to false. To enable this feature, add to the [MDN] section of the Configuration File:

SendMDNsWithEmptySender=true

If there is no such section, simply add [MDN] on a line by itself just above the option. Alternatively, input the following into Konsole:

kwriteconfig --file /path/to/kmailrc --group MDN --key SendMDNsWithEmptySender true
Note
The default setting of “false” strictly speaking violates Internet standards, but is set that way for practical reasons, to avoid servers rejecting MDNs that KMail generates because they think they are SPAM.


  • MaximumAttachmentSize

This allows the maximum filesize allowed for attachments in the mail composer to be limited. To limit attachments to 20 MB in size, for example, add a line under [Composer] section of the Configuration File:

MaximumAttachmentSize=20

Alternatively, input the following into Konsole:

kwriteconfig --file /path/to/kmailrc --group Composer --key MaximumAttachmentSize 20
  • CloseDespiteSystemTray

This option allows you to configure the application to close fully, even if there is a system tray icon configured, which would normally keep the application running. To enable the feature, add a line under [General] section of the Configuration File:

CloseDespiteSystemTray=true

Alternatively, input the following into Konsole:

kwriteconfig --file /path/to/kmailrc --group General --key CloseDespiteSystemTray true

OutOfOffice Specific

When manually entering entries into the configuration file, and there is no such section, simply add [OutOfOffice] on a line by itself just above the option. Applying defaults to the out-of-office configuration dialog via the corresponding button will restore this domain, in case the user has changed it.

  • CheckOutOfOfficeOnStartup

With this option enabled, KMail will check on every startup if there is an active out-of-office configured and show a warning if this is the case. To disable the feature, add a line under [OutOfOffice] section of the Configuration File:

CheckOutOfOfficeOnStartup=false

Alternatively, input the following into Konsole:

kwriteconfig --file /path/to/kmailrc --group OutOfOffice --key CheckOutOfOfficeOnStartup false
  • Allow out-of-office settings to be adjusted by the user.

In case you don't want users to be able to upload their own out-of-office scripts to the server you can add to the [OutOfOffice] section of the Configuration File:

AllowOutOfOfficeSettings=false

If there is no such section, simply add [OutOfOffice] on a line by itself just above the option. Alternatively, input the following into Konsole:

kwriteconfig --file /path/to/kmailrc --group OutOfOffice --key AllowOutOfOfficeSettings false
  • Allow out-of-office scripts to be uploaded by the user, but no settings changed.

If you want to allow your users to upload their own out-of-office scripts but you do not want them to be able to change the domain to react to and the react-to-spam setting, you can add to the [OutOfOffice] section of the Configuration File:

AllowOutOfOfficeUploadButNoSettings=true


  • Default domain to limit out-of-office replies to.

When editing vacation (out-of-office) scripts, the user can specify a domain to limit the sending of such replies to. To pre-load this setting with a default value, add to the [OutOfOffice] section of the Configuration File:

OutOfOfficeDomain=myMailDomain.test


  • Enable sending of out-of-office replies to messages marked as SPAM.

By default, out-of-office replies are not sent to messages marked as SPAM. To override this behavior, add to the [OutOfOffice] section of the Configuration File:

OutOfOfficeReactToSpam=true


  • disregardUmask

In versions prior to 1.9, KMail saved all attachments to disk with permissions set to 600 — only readable or writable by the owner of the file. In response to user feedback, this was made configurable in KMail version 1.9, with the defaults changed to honour the umask set on the user account while saving files to disk. To enable this feature, add under [General] section of the Configuration File:

disregardUmask=true

Alternatively, input the following into Konsole:

kwriteconfig --file /path/to/kmailrc --group General --key disregardUmask true
  • AutoLostFoundMove

Activate this option to automate the handling of not yet uploaded messages in disconnected IMAP folders that cannot be uploaded. This can happen if the folder was removed from the server or your access rights have been restricted. Such messages will automatically be moved to a newly created lost+found folder if this option is enabled; you will be asked how to proceed every time otherwise. Configuration File:

  • ShowUserAgent

Starting in version 1.9, KMail can show the User-Agent or X-Mailer value from the message header when using Fancy Headers (see View → Headers menu). To enable this feature, add under [Reader] section of the Configuration File:

ShowUserAgent=true

Alternatively, input the following into Konsole:

kwriteconfig --file /path/to/kmailrc --group Reader --key ShowUserAgent true

More Information