[Bug 197523] New: kmail: Kiosk-based [$e] config variables are not evaluated for file emailidentities

Jörg Steffens joerg.steffens at dass-it.de
Mon Jun 22 17:48:36 BST 2009


https://bugs.kde.org/show_bug.cgi?id=197523

           Summary: kmail: Kiosk-based [$e] config variables are not
                    evaluated for file emailidentities
           Product: kmail
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: joerg.steffens at dass-it.de


Version:           kde4-kmail-4.2.4-2.9 (using KDE 4.2.4)
OS:                Linux
Installed from:    SuSE RPMs


We are using cascading config directories (KIOSK)
for company wide Kontact configuration.

# kde4-config --path config
/home/joergs/.kde4/share/config/:/var/lib/kde-profiles/vermkv_kontact/share/config/:/usr/share/kde4/config/:/etc/kde4/share/config/

Besides others, there we using following config files:
/var/lib/kde-profiles/vermkv_kontact/share/config/kmailrc
and
/var/lib/kde-profiles/vermkv_kontact/share/config/emailidentities

The kmailrc file looks like this:
[General]
Default domain[$ie]=$DEFDOMAIN

[Account 1]
login[$ie]=$USER

and is handled correctly (means the environment variables are replaced by there
values).
kreadconfig --file kmailrc --group "Account 1" --key login
joergs

But the emailidentities causing trouble, because there variables are not
replaced by there values:
[Identity #0]
Email Address[$ie]=$MAILADDR
Name[$ie]=$FULLNAME
Organization[$ie]=$ORGANAME
Signature File[$ie]=$HOME/.signature
Signature Type[$ie]=file

This configuration is resulting in a identity with name "$FULLNAME" and
Email-Address "$MAILADDR".
kreadconfig returns the correct result:
kreadconfig --file emailidentities --group "Identity #0" --key Name
Jörg Steffens


We are using a similar setup with KDE3, without these problems.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list