amavis-user March 2012 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: How to use amavisd-release with an SQL quaranti

Re: How to use amavisd-release with an SQL quarantine?

From: McDonald, Dan <Dan.McDonald_at_nospam>
Date: Tue Mar 13 2012 - 11:59:15 GMT
To: <amavis-users@amavis.org>

On 3/13/12 4:35 AM, "Steve" <steeeeeveee@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.company.com>
> From: "Lastname,Firstname,CITY,Department"
> <remote.user@at.company.com>
> Message-ID: <771FEFDDD3F0B04588F78B8471506D31025837F6@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