Bug 139477

Summary: address with dot at the end terminates list of recipients
Product: [Unmaintained] kmail Reporter: Martin Schulte <martin.schulte>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kollix
Priority: NOR    
Version: 1.9.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Schulte 2007-01-01 21:02:33 UTC
Version:           1.9.5 (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
Compiler:          gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) standard kubuntu 6.10
OS:                Linux

I send an email to 
martin.schulte@guug.de, msadmin@guug.de., msnewsletter@guug.de
the mail is correctly send to the first two addresses but not to the last - so it looks as if the . behind schulte@guug.de terminates the list (if I omit the dot the mail is delivered to all three addresses) although this should be a valid address format.
It looks that when delivering the mail to the SMTP-server there's not rcpt to with the third address.
Comment 1 Martin Schulte 2007-01-01 21:04:14 UTC
Sorry, this should read "the . behind msadmin@guug.de."
Comment 2 Martin Koller 2009-08-26 00:02:01 UTC
can confirm with KDE 4.3/4.4 trunk
Comment 3 Torgny Nyblom 2009-08-26 19:43:17 UTC
SVN commit 1015973 by tnyblom:

Generete error when emailaddress ends with a dot (.)

BUG: 139477


 M  +7 -0      email.cpp  
 M  +17 -0     tests/testemail.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1015973
Comment 4 Torgny Nyblom 2009-08-26 20:01:13 UTC
SVN commit 1015975 by tnyblom:

Backport r1015973
Generete error when emailaddress ends with a dot (.)

CCBUG: 139477



 M  +7 -0      email.cpp  
 M  +17 -0     tests/testemail.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1015975
Comment 5 Torgny Nyblom 2009-08-27 10:23:03 UTC
SVN commit 1016229 by tnyblom:

Revert r1015973 pending a better solution.

Keep the unittests but adopted to the old behaviour.

CCBUG: 139477


 M  +0 -7      email.cpp  
 M  +2 -2      tests/testemail.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1016229
Comment 6 Torgny Nyblom 2009-08-27 10:29:48 UTC
SVN commit 1016231 by tnyblom:

Revert r1015973 pending a better solution.
Keep the unittests but adopted to the old behaviour.

CCBUG: 139477



 M  +0 -7      email.cpp  
 M  +2 -2      tests/testemail.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1016231
Comment 7 Torgny Nyblom 2009-08-27 10:31:31 UTC
Better solution needed.
Comment 8 Torgny Nyblom 2009-09-28 17:42:19 UTC
SVN commit 1028946 by tnyblom:

This makes KMime allow a trailing dot in domain names as per the RFC.

BUG: 139477


 M  +5 -0      kmime_header_parsing.cpp  
 M  +16 -10    tests/headertest.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1028946
Comment 9 Torgny Nyblom 2009-09-28 19:17:10 UTC
Will be in 4.4 and 4.3.3.
Comment 10 Torgny Nyblom 2009-10-05 15:45:02 UTC
SVN commit 1031598 by tnyblom:

Backport r1028946 by tnyblom from trunk to the 4.3 branch:

This makes KMime allow a trailing dot in domain names as per the RFC.

CCBUG: 139477



 M  +5 -0      kmime_header_parsing.cpp  
 M  +22 -0     tests/headertest.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1031598