View Single Post
  #6 (permalink)  
Old 08-10-2007, 07:11 PM
vluther vluther is offline
Starter Member
 
Posts: 1
Default Workaround to get messages out of the quarantine

Hi guys,
There are two bugs/enhancement requests for this problem.. (11061 and 14614). I came across the same problem..and I believe I have a workaround, it's not the cleanest.. but it works..

Here is the quick rundown of what you need to do..

0. Make sure you've turned off the encrypted mail check for the anti virus.
1. Find the specific file you want to recover
2. Run formail on the file, and convert it to mbox.
3. View the message as root using mutt/pine/elm and save the attachment to your shell on the server.
4. Download the file to your computer.
5. Email the file to the intended recipient.

6. When the recipient gets the message, he'll get the message with the subject saying UNCHECKED .. but the zip file is indeed there.

-- Slightly more detailed Tips --

1. To convert the quarantined file into mbox format
formail -ds <virus-XXXXXXX > cleanmbox
2. cat cleanmbox >> /var/spool/mail/root
3. mutt

Mutt/Pine/Elm are fairly easy to use text only mail readers.. if you need help with mutt/pine please let me know.. I haven't personally used elm in over 12 years.. and I doubt it comes on many distros..
Reply With Quote