Re: Problems in Kmail 1.10.1 on Ubuntu Intrepid

"André M. de Roos" <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
Op Wednesday 10 December 2008, schreef André M. de Roos:
> I have used Kmail for a long time and I have generally been very impressed
> by it. However, after a recent upgrade from Ubuntu Hardy to Intrepid and
> hence from Kmail 1.9.3 (based on KDE 3.5.9) to Kmail 1.10.1 (based on KDE
> 4.1.2) I noticed that a number of things stopped working which made me
> prefer Kmail over other clients in the first place:
>
> 1. Expansion in kmailrc
> In my kmailrc configuration file I use expansions like:
>
> check-interval[$ie]=$(/home/andre/bin/test-online)
>
> The script "test-online" returns 0 if I'm not on-line (in a train or so)
> and a value of 10 otherwise. This prevents interval mail checking if I am
> not on- line and checks mail every 10 minutes if I am. In Kmail 1.10.1,
> however, this expansion stopped working. I did discover that a similar
> expansion:
>
> default-transport[$ie]=$(/home/andre/bin/test-kmail-smtp)
>
> in the mailtransports file does work, strangely enough.
>

I did some further testing of this configuration problem with as the main 
result confirmation that shell expansion is not working in kmailrc (Kmail 
1.10.3 on Ubuntu Intrepid).

On a freshly installed machine I started up kmail and entered the details of 
my mail account (very basic pop3 configuration). I subsequently closed kmail 
and edited the file .kde/share/config/kmailrc to change

check-interval=0

into 

check-interval[$ie]=$(/home/andre/test-kmail)

The script file test-kmail contains the following 3 lines:

#!/bin/sh
echo 3
exit 0

I made sure that executing /home/andre/test-kmail from the command line gave 
the appropriate result (3). However, starting up kmail with the edited kmailrc 
file does not lead to regular checking of mail at 3 minutes interval, no 
regular email checking is done at all!

I further tested this problem by changing the line to 

check-interval[$e]=$(/home/andre/test-kmail)

so that the value of check-interval is not immutable and (according to the KDE 
documentation) will be changed on start-up of the application. This changing 
indeed happens, but the result is 

check-interval=0

as opposed to the expected check-interval=3.

Any ideas what happened to configuration via shell expansion  after the switch 
to KDE 4?

I filed this bug a while ago as:

http://bugs.kde.org/show_bug.cgi?id=177492

Cheers,
Andre
-- 
André M. de Roos
Park Arenberg 40A, 3731 ET De Bilt
Tel. 030-2200991/06-53978960

_______________________________________________
KDE PIM users mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.