Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Quarantine Folder
  FAQ FAQ  Forum Search   Register Register  Login Login

Quarantine Folder

 Post Reply Post Reply
yapadu View Drop Down
Senior Member
Senior Member

Joined: 12 May 2005
Status: Offline
Points: 277
Post Options Post Options   Thanks (0) Thanks(0)   Quote yapadu Quote  Post ReplyReply Direct Link To This Post Topic: Quarantine Folder
    Posted: 04 November 2009 at 9:43pm
How exactly does the quarantine folder work?

For some reason (reason unknown) SF was not able to talk to our database, so it started putting messages to be quarantined into the quarantine folder.  Obviously this is great so they are not lost.

There was about 1100 messages in there when I noticed the problem.

I restarted SF and it started processing messages in the quarantine folder.

After a couple of minutes there were 191 remaining files, and they were not moving.  I assumed they would be processed in a few minutes.  I checked about 8 hours later and the same 191 files were still there.

They are Qrtn????.tmp files.

I also noticed a few minutes ago there were some called Qrtn???.tmp.queued or something like that.  However they only remained there for a few minutes.

Why are these .tmp file remaining, or how did they get there?  Can someone explain in more detail how the quarantine folder is handled? 

Back to Top
LogSat View Drop Down
Admin Group
Admin Group

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4077
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2009 at 10:43pm
SpamFilter spools emails to be quarantined in the \SpamFilter\quarantine folder. These files will be named something like Qrtn_SomeGUI_.tmp while they are being added to the database. If the database operation fails for some reason, SpamFilter will append the extension ".queued" to the filename, and will create another file with the same name but extension ".info" which will contain the header (to/from/subject/date etc) information for the email. From then on, SpamFilter will retry automatically to resend the emails to the quarantine when the database comes back online. Sometimes SpamFilter is unable to communicate with the database until SpamFilter is restarted. In this case, it will again retry populating the database with the queued emails shortly after being restarted.

It's possible that there are .tmp files left over due to other issues that may occur during these failed attempts. Unfortunately it's impossible to tell if the emails contained in those files were actually quarantined or not without looking for them in the database. These leftover .tmp files can be removed manually at any time. We opt to leave them on disk as, since unrecoverable errors caused them to be left there orphaned, admins may look thru them in case they lost critical emails that cannot be located elsewhere.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.164 seconds.