Opened 10 years ago
Closed 10 years ago
#188 closed defect (fixed)
Old 'popfile??.msg.flush' files can be left in the 'messages' directory structure
Reported by: | Brian Smith | Owned by: | naoki iimura |
---|---|---|---|
Priority: | normal | Milestone: | 1.1.4 |
Component: | Parser | Version: | 1.1.3 |
Severity: | normal | Keywords: | POP3 |
Cc: |
Description
When POPFile receives unexpected information from a POP3 server, such as extra information after the body of an email message, POPFile temporarily stores this information in a 'popfile??.msg.flush' file for transmission to the email client. POPFile does not try to use this unexpected information when it analyses the email message.
These 'popfile??.msg.flush' files are supposed to be deleted automatically (I think) but they can be left behind. Need to check the source code and either (1) fix the code (Bayes.pm?) that handles the deletion of these files or (2) add new code to ensure these files get deleted when it is safe to do so.
Change History (2)
comment:1 by , 10 years ago
Component: | unknown → Parser |
---|---|
Owner: | set to |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I've been testing this patch for months without any problems.
I close this ticket.
Hmm... I've looked into the code (Bayes.pm) and I can't find any problems in it.
I've committed a patch to avoid creating '.flush' file by using variable as a file handle. This change will solve a TODO written in the source code "TODO: Do this in a faster way" and POPFile will no longer create '.flush' files.
For more details, please see changeset [3849].
Naoki