tags: KMail

Action executed in 0.000

Each Tag


Common tags - number of posts

Sieve (2), compose (1), open source (1), KDE (1), UI (1), standard (1), IMAP (1), recipient editor (1), behavior (1),

2 way join

KMail, Sieve

KMail issue with Sieve

tags: KMail, Sieve, UI

This "article" is about how KMail needs improvements to their Sieve interface. After a several attempts over the past few months, i've finally got Sieve working.

Not knowing all the workings of Sieve, configuring sieve can be challenging. I'm pretty sure the server was accepting my scripts, but i wasn't sure that they were correct. My emails weren't being filed to their intended folders.

As it turns out, the scripts were correct, but they weren't activated because the circle wasn't filled in Kmail. sieve available scripts with none selected To me they look like bullets or decoration.

They certainly don't looke like real radio buttons. mail client field set with two radio buttons encryption field set with three radio buttonsmessage structure viewer field set with three radio buttons

With one item selected, it looks like this available scripts with one item selected.

How to Configure Sieve

This "article" is about how to configure Sieve. Sieve is a simple filter for email that's used on the client or server side. It's useful to configure it on the server side if you connect from multiple mail user agents (MUAs).

Cyrus IMAP comes with Sieve enabled by default, though distributors may disable it. Start by uncommenting the line in cyrus.conf:

sieve cmd="timsieved" listen="" prefork=0 maxchild=100 Restart cyrus. Test that it works by running this on another machine telnet sieve You should get something like this: "IMPLEMENTATION" "Cyrus timsieved v2.1.18-IPv6-Debian-2.1.18-1+sarge2"

Two tutorials to help you write sieve scripts are Wikipedia's page and FastMailWiki's BasicSieve.

Kmail can upload your script to your IMAP server. First let Kmail know that your server supports it by modifying your IMAP account and setting "Server supports Sieve". You may need to open port 2000 of your firewall.

Then upload your script through the Settings / Manage Sieve Scripts dialog box. You should get a successful response. Finally make sure that your script is activated; make sure the circle "radio button" is filled. If Kmail bitches at you about activating scripts, you can use sieveshell to disactivate all scripts and active one of them.

If i missed any details, please let me know.

Composing Email in KMail

I've been using KMail for years. It's a great application with lots of features. In the past it's had a "ok" composer window, but with recent changes, i've become displeased. Specifically i'm referring to the recipient editor. Currently Sid has KMail 1.8.3 in KDE 3.4.3. KDE 3.5 is out, but i haven't seen screenshots yet.

Here's the big problem. As i'm entering recipients, the drop down box behaves differently from common drop down boxes.

Programmatically it begins by behaving like the text box should hold just one address. That is, as i begin to type, the drop down box appears. As i move down to select a recipient, that name becomes highlighted and also appears in the text box. When i press enter, that name remains in the text field, and the cursor is given to the next To: text box.

This is contrary to other select drop downs, for example the ones in Konqueror and Firefox. Normally when you press enter the cursor stays with that widget and you press tab to move the focus to the next one.

You can tell that the developers want this because after you enter an address, a new To: line appears below it. In both KMail and Thunderbird, the displayed list of To: address is limited, 4 and 5 respectively. If there are more, a scroll bar appears; very ugly. It's hard to review your recipients and there's wasted space to the right of recipients.

Honestly i think Mac Mail, got it just right. They highlight each person's name like it's an object. You can drag it around or remove it. It doesn't show the email address, which we don't need to see anyway. By comparison, when i call someone on my phone, i rarely see their phone number. Mail.app will wrap up to 4 lines of recipients. After that a scroll bar appears. Keep in mind each recipient is narrower.

The name you are highlighting should NOT be entered into the text box until you press enter. To display it there means you will email that person. It shouldn't be there otherwise. Gmail works this way.

Other people agree that KMail's behavior is awkward.

In KMail, it is possible to enter multiple recipients on a To: line. Highlight the recipient you want, then hit comma.