Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Not handling reject response correctly when multiple recipients #4125
Similar issues found
My mail server is enforcing a 'reject' rule on unknown recipient domain. So any email containing unknown domain will not be accepted.
Whenever a recipient is rejected, the MUA should handle it gracefully. Testing with Thunderbird and SOGo, they both raise the error and do not try further attempts to deliver the email until the 'bad' recipients have been removed from the list.
K9-Mail should do the same and stop all attempt on receiving the reject from the mail server until the list of recipients has been sanitized.
Mail server rejects the email, with and from=<> as per bouncing standards, however K9-Mail basically integrate that bad-formatted header and use it to try sending the email to the rest of the recipients.
Steps to reproduce
K-9 Mail version: 5.500
Android version: 8.1.0
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
Please take some time to retrieve logs and attach them here:
Logs from the mail server: