Bug 104380 - kmail_fprot.sh adds header lines on the wrong place (before 'From ')
Summary: kmail_fprot.sh adds header lines on the wrong place (before 'From ')
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-22 17:21 UTC by Tom Anheyer
Modified: 2015-04-12 10:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Anheyer 2005-04-22 17:21:44 UTC
Version:           1.8 (3.4.0 level "b") (using KDE KDE 3.4.0)
Installed from:    SuSE RPMs
OS:                Linux

kmail_fprot.sh adds the X-Virus Header before the From line. If you bounce such a mail kmail splits the header just before the From line. The old header is now a part of the mail body. The receiver sees a mail without subject, from, to etc. lines and the raw old mail code as body.

Replacing the echo "X-Virus: ..." lines with HEADER="X-Virus: ..." and the cat on the end with:

formail -a "${HEADER}" < $TEMPFILE

fixes the problem for me.
Comment 1 Till Adam 2005-05-16 23:57:58 UTC
Andreas, do we maintain that one ourselves?
Comment 2 Laurent Montel 2015-04-12 10:00:30 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.