Quarantine Folder |
Post Reply |
Author | |
yapadu
Senior Member Joined: 12 May 2005 Status: Offline Points: 297 |
Post Options
Thanks(0)
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? |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.174 seconds.