Bug 411204 - With two email accounts, SPF sees emails as being from the 'Set as Default' account, leading to authentication/DMARC problems when sending from other account
Summary: With two email accounts, SPF sees emails as being from the 'Set as Default' a...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.12.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-23 12:12 UTC by Peter
Modified: 2019-08-23 12:12 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 Peter 2019-08-23 12:12:58 UTC
SUMMARY

If there are two email accounts, Sending Policy Framework seems to think emails are sent always from the 'Set as Default' account, leading to authentication/DMARC problems when sending from other account.   

STEPS TO REPRODUCE

1.Under Accounts.Sending, set up two SMTP Sending Accounts with different ISPs 

2.One of the accounts will be 'Set as Default'

3.Send a message to a Gmail account with each Account.  

4. Under Account.Sending swap 'Set as Default' to the other account.  

OBSERVED RESULT

The email from the  Sending Account which is 'Set as Default' will be delivered; the email from the other account will fail on DMARC policies.   

When the 'Set as Default' is swapped to the other account, the account from which the email is successfully delivered and the account from which the email is rejected will swap over.     

EXPECTED RESULT

Emails from both accounts should be sent and not rejected. 

SOFTWARE/OS VERSIONS

KDE Plasma Version: Linux/KDE neon Plasma LTS Edition 5.12, Release 18.04
Kernel: 4.15.0-58-generic 64-bit 
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.3
Kmail 5.12.0 ( Version 4:19.08.0-0xneon+18.04+bionic+build33 from ubuntu-bionic-universe (KDE neon Plasma LTS) )

ADDITIONAL INFORMATION

A record in a "mail not deliverered message" was: 

"Received-SPF: softfail (transitioning domain of sa-prd-fep-014.btinternet.com does not designate 74.208.4.204 as permitted sender)".  

Here, 74.208.4.204 is an IP address belonging to 1&1, which was the service provider for the email account which was 'Set as Default'.  

I am not sure whether this is a duplicate of Bug 393185, which is marked as "Resolved Not a Bug".  If so, it is not clear why this is not a bug, as it makes the  account other than the default account almost unusable for sending emails. 

Thanks and regards