Bug 450883 - New identities have unreasonable settings for email address and outgoing account
Summary: New identities have unreasonable settings for email address and outgoing account
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: config dialog (show other bugs)
Version: 5.18.90
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-26 16:31 UTC by Lukas Ba.
Modified: 2022-02-26 16:31 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 Lukas Ba. 2022-02-26 16:31:41 UTC
STEPS TO REPRODUCE 1-3
1. Preparation. Create multiple outgoing email accounts, e.g. 
   account-a, username-a, smtp.domain-a.com
   account-b, username-b, smtp.domain-b.de
2. Create new identity from template empty, give it the name username-a@domain-a.com . I know it can be an arbitrary name, but it seems reasonable for the user to use an email address as an identity name.
3. See/check what settings have been filled in for the identity

OBSERVED RESULT
Identity settings do not have reasonable values:
1. email address is empty even though the identity name is already in email address format.

STEPS TO REPRODUCE, 4.
4. In identity settings, fill in the email address as username-a@domain-a.com.

OBSERVED RESULT 2.
2. In the identity settings Under advanced, the outgoing account may be set to account-b. Sending email may not work (, because the email provider has blocked sending email with a different address). The outgoing account setting is not set smartly.

EXPECTED RESULT
1. email address should be filled in equal to identity name.
2. The user should be prompted to fill in an outgoing account instead of picking an arbitrary outgoing account that doesn't work, or a reasonable guess at the outgoing account should be made. A better pick would be account-a, where the username and domain match to the email address much better, just compare username-a@domain-a.com and (username-a, smtp.domain-a.com) and (username-b, smtp.domain-b.de).

SOFTWARE/OS VERSIONS
 KMail: 5.18.1

COMMENT
If i configure an open PGP key, that doesn't match the email adress i get a warning by KMAIL which makes sense. But configuring an email address that doesn't match my outgoing mail domain does somehow not generate a warning. Even though most providers will block such mismatching addresses.