Bug 293816 - BCC adds host name to BCC Field in header.
Summary: BCC adds host name to BCC Field in header.
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-10 22:32 UTC by Russ Fineman
Modified: 2012-07-31 11:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Russ Fineman 2012-02-10 22:32:49 UTC
Version:           4.8 (using KDE 4.8.0) 
OS:                Linux

Here is header from message:

code
--------
From: upscope <upscope@nwi.net>
To: Russ Fineman <upscope@nwi.net>
Cc: John Kirry <jkirry@centurytel.net>, PZC Jean Phillips <snipn@aol.com>
Bcc: MD19-D_South_Pres-Sec@linux-450c
Subject: NWLERC "Focus" Newletter for February, 2012
Date: Fri, 10 Feb 2012 14:10:01 -0800
Message-ID: <14783157.NVZiorzkqQ@linux-450c>
User-Agent: KMail/4.8.0 (Linux/3.1.9-1.4-desktop; KDE/4.8.0; x86_64; ; )
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="nextPart1513993.nafz5bPqH0"
Content-Transfer-Encoding: 7Bit

/code
---------

Reproducible: Didn't try

Steps to Reproduce:
1. Create Message
2. Select Group (distribution List0 from contacts
3. add To: and CC: contacts
4. Send Message
5. Display header in sent message



Actual Results:  
Bcc: MD19-D_South_Pres-Sec@linux-450c

Expected Results:  
Bcc: MD19-D_South_Pres-Sec

OS: openSUSE Linux (x86_64) release 3.1.9-1.4-desktop
Compiler: gcc
KDE 4.8.0 "Release 2"
Kmail2 4.8.0 (kmail-4.8.0-325.6.x86_64)

Could be related to the recent fix for BCC being exposed. In earlier releases of 4.8.0.
Comment 1 Laurent Montel 2012-02-14 08:21:38 UTC
Bcc: MD19-D_South_Pres-Sec it's a email address ???
you add just a CC and To you don't add BCC no ?
Comment 2 Russ Fineman 2012-02-14 21:19:34 UTC
Correction to comment #1 Steps tp reproduce

Step 2 should have read "Select Group (distribution List from contacts and add as BCC".

I have various group with up to 60 users defined and don't want names readable. That's why I'm using BCC. Have noticed the BCC is not actally removed until message is sent. It is there in composer without the host name:
Bcc: MD19-D_South_Pres-Sec@linux-450c

ISP bounces the BCC because it cannot find a @linux-450 host. The host name is apparently added after send button in Composer is hit. I can not find a setting that says add the host name in Kmail2.
Comment 3 Laurent Montel 2012-02-16 08:55:02 UTC
Do you have nepomuk works ?
if it doesn't work it will not find distribution list
=> will complet with machine name.
Comment 4 Russ Fineman 2012-02-16 16:18:31 UTC
(In reply to comment #3)
> Do you have nepomuk works ?
> if it doesn't work it will not find distribution list
> => will complet with machine name.

It says its running. The file indexer, Semantic indexer and  email indexer aare all enabled. 

It is finding the distribution list when selected from Kmail2. It finds it as:
 Example: BCC: MD19-D_South_Pres-Sec 

But when the message is sent something is adding the host name:
  BCC:	MD19-D_South_Pres-Sec@linux-450c

This causes my ISP to Bounce the BCC: List.

If I can suppy additional information let me know. This was a problem back on 11.4 KDE versions, Don't remember which KDE version but think it may have 4.0 or 4.1 That was fixed.Looks like a regression.

Thanks for your help and suggestions.

Russ
Comment 5 Russ Fineman 2012-03-09 22:44:15 UTC
Installed KDE4.8.1 release 481 from openSUSE Repo yesterday. Today I tested BCC by creatinga test group with one user in it. Either kmail or something else is adding the host name to the test group name

When the message was composed it just showed BCC: testgroup

Here's the message header after it was sent:

Code
--------
From: upscope <upscope@nwi.net>
To: russf@nwi.net
Bcc: testgroup@linux-450c
Subject: Test Message
Date: Fri, 09 Mar 2012 14:33:36 -0800
Message-ID: <2635322.QcIf86345c@linux-450c>
User-Agent: KMail/4.8.0 (Linux/3.1.9-1.4-desktop; KDE/4.8.1; x86_64; ; )
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
/Code
----------


openSUSE 12.1. KDE 4.8.1.

This problem originally appeared in openSUSE 11.4, not sure of KDE release but think it was 4.7. over a year ago and some update fixed it.
Comment 6 Russ Fineman 2012-03-09 23:01:59 UTC
Just found some more info. If I just add individual contacts to an email as BCC it does not add the host name, only if I create a group in contacts and then select it as a BCC. 

Is there a unique way to create distribution groups under Contacts?
Comment 7 Laurent Montel 2012-07-12 07:09:04 UTC
Group works with nepomuk.
If nepomuk doesn't work well for you it will not expend it and it will add hostname here.
Comment 8 Russ Fineman 2012-07-12 15:43:58 UTC
This appears fixed in 4.8.3. I sent several emails yestrerday as BCC and they went throught. Apparently no host name was attached. I installed 4.8.4 yesteday on my other system. 
Nepomuk is enabled and running
Will make sure it still works once I'm able to send a message. Its setup exactly like this system but refuses to send mail (SMTP) but does receive mail. I'll open a new bug on that if I don't find anything.