个人工具

UbuntuHelp:KMailGroupwareIMAP

来自Ubuntu中文

Wikibot讨论 | 贡献2009年11月17日 (二) 19:41的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索
  1. title KMail Groupware Folders on IMAP Server

Introduction

Setting up Kmail to use Groupware folders on a IMAP server. There are complications with different versions of Kmail reaching from 1.9.0 to 1.9.6.

Setup

According to the BUG [1] the Groupware functionality with Imap accounts doesn't work out of the box. What you need to do is the following:

  • "enable Groupware" in your Kmail Settings -> Misc -> Groupware
  • select the folder where the groupware folders are supposed to be. Please keep in mind, that it has to be on a cached Imap account.
  • close Kmail and open ~/.kde/share/config/kmailrc with an editor
  • search for the [Account X] section, that matches the cachedimap account and copy id in ID=id
  • search for TheIMAPResourceEnabled and make sure it is true
  • add in this section: TheImapResourceAccount=id where id is the ID of the account identified before
  • start kmail again and enjoy

BEFORE you do that - please backup your kmailrc file !!! Go to your all! accounts (via web panel) which are linked to Kmail and change options to "leave copy of messages on the server" In case that tutorial won't work for you (like for me) reverse settings and follow: Settings: Turn off groupware from MISC, check accounts if they're back to old (working) settings). Delete all that has been received during different settings. Turn off Kmail. Back to Accounts via webpage. Untick leaving copy on server. Turn on Kmail. Shall be fine. (added by birkopf from kubuntuforums.net)

Configuration example

Excerpt of ~/.kde/share/config/kmailrc

[Account 1]
0=""
Folder=380361337
Id=380361337 <--- You need this
Name=Contacts
Namespace:=.
Type=cachedimap  <--- type must be cached imap
auth=*
host=youhost
login=youlogin

...

[IMAP Resource]
HideGroupwareFolders=false
TheIMAPResourceEnabled=true           <-- make sure this is true
TheIMAPResourceFolderParent=380361337 <-- this must be an id of a folder on the cached imap server
TheIMAPResourceAccount=380361337      <-- insert here the number from above