[Users] [Bug 3296] Bogofilter unexpectedly deletes mails.
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Mon Oct 13 18:36:25 CEST 2014
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3296
progchild at gmx.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #2 from progchild at gmx.de ---
I have checked all my computers. The messages are not in any of the trash
folders.
>From the bogofilter.c
/* flag spams and delete them if !config.receive_spam
* (if config.receive_spam is set, we'll move them later) */
for (cur = new_spams; cur; cur = cur->next) {
MsgInfo *msginfo = (MsgInfo *)cur->data;
if (config.receive_spam) {
if (config.mark_as_read)
procmsg_msginfo_unset_flags(msginfo, ~0, 0);
procmsg_msginfo_set_flags(msginfo, MSG_SPAM, 0);
} else {
folder_item_remove_msg(msginfo->folder, msginfo->msgnum);
}
}
The variable config.receive_spam is set corresponding to the value of the
check box "Save spam in". I do not know what the function
folder_item_remove_msg does exactly, but I would assume that it does not
store the mails to the trash.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list