Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a postfix server with amavisd and a clamav scanner. I have encountered a situation where clamav has issued false positives and quarantined messages in /var/virusmails/

What is the simplest way of taking these mails and pushing them through the postfix que again. I believe the false positive was temporary and would like to retry sending them.

Is there a postfix que directory I could place the files in?

Thank you.

share|improve this question
This is not trivial in my experience, but maybe someone has a great idea. – Peter Eisentraut Jan 13 '10 at 19:20
up vote 5 down vote accepted

If your using amavisd-new, you can simply run the amavisd-release command, passing it the quarantine ID of the mail in question. It will take care of removing the email from the quarantine and injecting the email into Postfix, bypassing any content filtering.

You can find out the details at

share|improve this answer
looks exactly like what I'm looking for however the command doesn't seem to exist on my system. amavisd-new-2.5.3 is the running version. – Antitribu Jan 14 '10 at 9:44
I checked the 2.5.3 release (still available for download) and the amavisd-release app is there. Try downloading the package from and installing amavisd-release yourself. – David Jan 14 '10 at 20:46
it looks like it is in the CentOS packages for 2.5.3-2 and I have 2.5.3-1! Just unlucky but pushing the mails to another system running a more recent version and unfreezing them from there with that command has done the trick! – Antitribu Jan 15 '10 at 9:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.