[kmail2] [Bug 409169] New: Header lines can become too long

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Jun 25 11:32:02 BST 2019


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

            Bug ID: 409169
           Summary: Header lines can become too long
           Product: kmail2
           Version: 5.9.3
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: houz at gmx.de
  Target Milestone: ---

SUMMARY

When sending a mail to many recipients the 'To:' header can become longer than
the allowed 998 bytes. KMail should fold it to span several lines so the mails
don't get rejected by mail servers.

STEPS TO REPRODUCE
1. Create a new mail.
2. Add many recipients.
3. Send it to someone using (for example) exim.
4. Look at the reject log on the mail server.

OBSERVED RESULT

Mail gets rejected due to header not valid according to RFC 5322.

EXPECTED RESULT

Mail gets delivered because it is not malformed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: (whatever Debian/sid ships)
(available in About System)
KDE Plasma Version: (whatever Debian/sid ships)
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION

[0] RFC 5322: https://tools.ietf.org/html/rfc5322#section-2.1.1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list