Version: 1.5.94 (using KDE 3.1.94 (3.2 Beta 2), Gentoo) Compiler: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) OS: Linux (i686) release 2.4.20-gentoo-r7 I have many email adresses and receive mails on many of them. There are often cases where kmail does not use the default one, probably when none of the addresses it knows are listed. Here is the full header (slightly edited to keep privacy) Return-Path: <XXX@yyy> Received: from Satellite (ACB59824.ipt.aol.com [172.181.152.36]) by ns0.arkalis.net (8.11.6/8.11.6) with ESMTP id i0LNJHW13471 for <top@inseal.com>; Thu, 22 Jan 2004 00:19:18 +0100 From: xx <xxx@yyy.com> To: <top@inseal.com> Subject: some subject Date: Thu, 22 Jan 2004 00:37:25 +0100 Message-ID: <FPEDIGAAOIAHKLOMMHONEEJPCBAA.xxx@yyy.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-UIDL: n`e"!aOJ!!EK2"!m+@!! Status: R X-Status: N X-KMail-EncryptionState: X-KMail-SignatureState: X-KMail-MDN-Sent: The mail was sent to top@inseal.com and was received directly to me on pfremy@inseal.com (top is an alias). pfremy@inseal.com is also my default from adress in kmail. Nevertheless, if I hit reply or reply-all, the adress phil@freehackers.org is selected as from adress. This used to be my from adress but is not anymore. kmail should use pfremy@inseal.com when it does not know what address to use. Here are some copy/paste from the kmail config file: [General] Default Identity=678814605 Default domain=freehackers.org [Identity #0] Bcc= Default PGP Key=5D486A0C Dictionary= Drafts=drafts Email Address=pfremy@inseal.com Fcc=sent-mail Identity=pfremy@inseal.com Inline Signature=Philippe Fremy \nDirecteur Technique - InSeal CTO\nemail: pfremy@inseal.com\ntel: +33 6 07 98 76 44 Name=Philippe Fremy Organization=Inseal Reply-To Address= Signature Type=inline Transport= VCardFile= uoid=678814605 [Identity #5] Bcc= Default PGP Key=5D486A0C Dictionary=<default> Drafts=drafts Email Address=phil@freehackers.org Fcc=sent-mail Identity=phil@freehackers.org Name=Philippe Fremy Organization= Reply-To Address= Signature File=$HOME/.sig-jayacard Signature Type=file Transport= VCardFile= uoid=1492560531
So you changed the default identity, right? I guess that for the folder you are replying from still your other identity is stored as folder identity. Unfortunately KMail currently doesn't allow to specify the default identity as folder identity. Therefore, after changing the default identity all folder identities have to be changed as well. :-( Hmm, and for the inbox one can't even specify a folder identity via the GUI. So you probably have to hack your kmailrc with an editor. Actually, you could try to replace all "identity=1492560531" with "identity=678814605" in your kmailrc. You better confirm each replacement (in case you want to keep the other identity for something). And you better make a backup before you try this.
Subject: Re: kmail using wrong from adress on reply I am less concerned about a specific solution than by the general problem that kmail had an unexpected behaviour. I did not realise that folder have an identity email associated to them. I don't remember specifying any, so I guess that, upon creation, the default identity was used. The problem is that this identity has changed since then. My understanding is that the identity is mostly useful when associating a folder with a mailing-list, right ? Half of my folders are for mailing-lists, and the other half is not. Can you evaluate the following suggestions: - do not associate an identity with a folder unless the user explicitely express it, like when it associate a folder with a mailing-list. - when no identity is associated with a folder, just use the default one specified in the global setting. - in the wording of the folder property, make a reference to the global setting so that user know there are other solution than specifying an identity for every folder. The confusion for me comes from the fact that you can specify an identity in the global settings, with no references to the folders, so I had no idea that folder would override anything.
I've checked this with KMail from KDE SVN r881890 (to be KDE 4.2). In kmailrc I no longer see identity= for every folder. There is an option if default identitty should be used and only if this is set to false an identity ID is added to folder to identify which identity to use. I've also created an additional identity and made that new one as default and in normal folders which are set to use default identity the new one was automatically selected in the Identity drop-down list in reply composer window. So I think this bug si more or less fixed for KDE 4.2. On the other hand, I did notice a little strange behavior. For the messages I pressed the R to reply before changing the default identity, after the change the old one was still selected by default after starting the reply. I'm not sure if this would be considered a bug. If it is, the I guess a new bug report should be opened.
I just tried on 4.1.2 and can't reproduce either. If KMail can figure out the identity to use (using To:, or *-To: fields) it uses that one. Else it uses the default identity. This holds true after changing the default identity as well.