Ticket #188 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Old 'popfile??.msg.flush' files can be left in the 'messages' directory structure

Reported by: brian Assigned to: amatubu
Priority: normal Milestone: 1.1.4
Component: Parser Version: 1.1.3
Severity: normal Keywords: POP3


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

10/25/13 14:45:35 changed by amatubu

  • owner set to amatubu.
  • component changed from unknown to Parser.

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].


02/11/14 11:20:38 changed by amatubu

  • status changed from new to closed.
  • resolution set to fixed.

I've been testing this patch for months without any problems.

I close this ticket.