Bug 424042

Summary: Message-ID
Product: [Applications] kmail2 Reporter: Podagric <kde.podagric>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: montel
Priority: NOR    
Version: 5.14.3   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:

Description Podagric 2020-07-09 21:35:51 UTC
SUMMARY
When an email is sent from kmail, it generates a field in the header that is not following the user settings


STEPS TO REPRODUCE
1. Try to change the domain in one of these options
- Accounts -> Identity -> $(user) -> Advanced -> Default domain
https://i.imgur.com/Q9ianm2.png
- Accounts -> Shipping -> $(smtp-account) -> Advanced -> Send a custom machine name to the server
https://i.imgur.com/0K62yS7.png
2. Send a email
3. The default domain is still there

OBSERVED RESULT
Even after changing the domain to another term (riseup) kmail keeps sending "archlinux".


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0
Kernel Version: 5.7.7-arch1-1
OS Type: 64-bit


ADDITIONAL INFORMATION
This is an example of how thunderbird generates this field compared to kmail.
thunderbird
Message-ID: <5e8852c7-9514-2r6x-8x8x-429053947fbe@riseup.net>

kmail
Message-ID: <1644155.uznUpMHy3Y@archlinux>
Comment 1 Laurent Montel 2020-07-10 04:58:23 UTC
In identity it's the domain name which will use for expanding email. For example you have an email "foo" you want to expand to foo@riseup.net you will define it.

If you want to define messageId you need to change in configure->composer->header-> use custom message-Id suffix