How to use amavisd-release with an SQL quarantine?

McDonald, Dan Dan.McDonald at austinenergy.com
Tue Mar 13 12:59:15 CET 2012




On 3/13/12 4:35 AM, "Steve" <steeeeeveee at gmx.net> wrote:

> Hello list,
> 
> I am lost. How do I use amavisd-release to release a quarantined message from
> an SQL quarantine. The message I would like to release has generated this
> error (I masked some values to protect the innocent):
> 
> ------------------------------------------------------------
> A virus was found: PUA.OLE.EmbeddedPDF
> 
> Scanner detecting a virus: ClamAV-clamd
> 
> Content type: Virus
> Internal reference code for the message is 10632-05/CyzWZJfWJryw
> 
> First upstream SMTP client IP address: [213.199.154.207]
>   am1ehsobe004.messaging.microsoft.com
> According to a 'Received:' trace, the message apparently originated at:
>   [aaa.bbb.ccc.dd], DEMDCE0028.company.com [aaa.bbb.ccc.dd]
> 
> Return-Path: <remote.user at at.company.com>
> From: "Lastname,Firstname,CITY,Department"
>   <remote.user at at.company.com>
> Message-ID: <771FEFDDD3F0B04588F78B8471506D31025837F6 at DEMDCE0028.company.com>
> Subject: WG: Vanilloccino
> The message has been quarantined as: CyzWZJfWJryw[111]

> 
> I have no clue how to extract the mail_id/secret_id from the notification I
> receive from Amavisd-New. Can anyone help me or point me into the proper
> direction?

$ /usr/sbin/amavisd-release CyzWZJfWJryw


I don't think you need the partition_tag.

-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20120313/0cfa3da4/attachment.html>


More information about the amavis-users mailing list