[Users] [Bug 4352] Local mail fetching fail if mailbox file has an empty message

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Thu Jun 18 16:47:14 CEST 2020


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4352

--- Comment #9 from gpac <gpaclog at free.fr> ---
I think that removing the test conducted in lines 222-230 from mbox.c, should
do the job :

                /* warn if email part is empty (it's the minimum check 
                   we can do */
                if (lines == 0) {
                        g_warning("malformed mbox: %s: message %d is empty",
mbox, msgs);
                        claws_fclose(tmp_fp);
                        claws_fclose(mbox_fp);
                        claws_unlink(tmp_file);
                        return -1;
                }

Would that be possible to remove these lines from the code of a coming version
?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list