Hello Mark,

That id is the same as the one in the log:

X-Quarantine-id: 
<spam-ed34c6f3da86888b0ea65c336cbeb63a-20070212-122718-16148-09>

I also checked the amavisd-new source and found the error on line 6312 / 
6313:

{ die "Stored quarantine ID '$qid' does not match ".
    "requested ID '$quarantine_id'" }

Ron

Here are the comments of my amavisd-new, maybe versions got screwed up 
by the debian packages:

#------------------------------------------------------------------------------
# This is amavisd-new.
# It is an interface between message transfer agent (MTA) and virus
# scanners and/or spam scanners, functioning as a mail content filter.
#
# It is a performance-enhanced and feature-enriched version of amavisd
# (which in turn is a daemonized version of AMaViS), initially based
# on amavisd-snapshot-20020300).
#
# All work since amavisd-snapshot-20020300:
#   Copyright (C) 2002,2003,2004,2005,2006  Mark Martinec, All Rights 
Reserved.
# with contributions from the amavis-* mailing lists and individuals,
# as acknowledged in the release notes.
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  
02111-1307  USA

# Author: Mark Martinec <[EMAIL PROTECTED]>
# Patches and problem reports are welcome.
#
# The latest version of this program is available at:
#   http://www.ijs.si/software/amavisd/
#------------------------------------------------------------------------------

# Here is a boilerplate from the amavisd(-snapshot) version,
# which is the version that served as a base code for the initial
# version of amavisd-new. License terms were the same:
#
#   Author:  Chris Mason <[EMAIL PROTECTED]>
#   Current maintainer: Lars Hecking <[EMAIL PROTECTED]>
#   Based on work by:
#         Mogens Kjaer, Carlsberg Laboratory, <[EMAIL PROTECTED]>
#         Juergen Quade, Softing GmbH, <[EMAIL PROTECTED]>
#         Christian Bricart <[EMAIL PROTECTED]>
#         Rainer Link <[EMAIL PROTECTED]>
#   This script is part of the AMaViS package.  For more information see:
#     http://amavis.org/
#   Copyright (C) 2000 - 2002 the people mentioned above
#   This software is licensed under the GNU General Public License (GPL)
#   See:  http://www.gnu.org/copyleft/gpl.html
#------------------------------------------------------------------------------

#------------------------------------------------------------------------------
#Index of packages in this file
#  Amavis::Boot
#  Amavis::Conf
#  Amavis::Lock
#  Amavis::Log
#  Amavis::Timing
#  Amavis::Util
#  Amavis::rfc2821_2822_Tools
#  Amavis::Lookup::RE
#  Amavis::Lookup::IP
#  Amavis::Lookup::Label
#  Amavis::Lookup
#  Amavis::Expand
#  Amavis::TempDir
#  Amavis::IO::Zlib
#  Amavis::In::Connection
#  Amavis::In::Message::PerRecip
#  Amavis::In::Message
#  Amavis::Out::EditHeader
#  Amavis::Out
#  Amavis::UnmangleSender
#  Amavis::Unpackers::NewFilename
#  Amavis::Unpackers::Part
#  Amavis::Unpackers::OurFiler
#  Amavis::Unpackers::Validity
#  Amavis::Unpackers::MIME
#  Amavis::Notify
#  Amavis::Cache
#  Amavis
#optionally compiled-in packages: 
---------------------------------------------
#  Amavis::OS_Fingerprint
#  Amavis::DB::SNMP
#  Amavis::DB
#  Amavis::Cache
#  Amavis::Lookup::SQLfield
#  Amavis::Lookup::SQL
#  Amavis::LDAP::Connection
#  Amavis::Lookup::LDAP
#  Amavis::Lookup::LDAPattr
#  Amavis::In::AMCL
#  Amavis::In::SMTP
#( Amavis::In::Courier )
#  Amavis::Out::SMTP
#  Amavis::Out::Pipe
#  Amavis::Out::BSMTP
#  Amavis::Out::Local
#  Amavis::Out::SQL::Connection
#  Amavis::Out::SQL::Log
#  Amavis::IO::SQL
#  Amavis::Out::SQL::Quarantine
#  Amavis::AV
#  Amavis::SpamControl
#  Amavis::SpamControl::SpamAssassin
#  Amavis::Unpackers
#------------------------------------------------------------------------------


Mark Martinec wrote:
> Ron,
>
>   
>> Amavis version 2.4.2, running on a mostly debian stable (some testing
>> packages for newer versions of amavisd, spamassassin).
>>     
>
>   
>> Feb 12 12:27:18 server amavisd-new[16148]: (16148-09) Not-Delivered,
>> <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, quarantine
>> spam-ed34c6f3da86888b0ea65c336cbeb63a-20070212-122718-16148-09,
>> Message-ID: <[EMAIL PROTECTED]>, Hits: 9.342
>>     
>
> Ok. I wonder why it doesn't say .gz at the end of a name.
>
>   
>> Trying to release, attempt 1:
>> # amavisd-release
>> spam-ed34c6f3da86888b0ea65c336cbeb63a-20070212-122718-16148-09
>> 450 4.5.0 Failure: File
>> /var/lib/amavis/virusmails/spam-ed34c6f3da86888b0ea65c336cbeb63a-20070212-1
>> 22718-16148-09 does not exist at (eval 40) line 308, <GEN143> line 5
>>
>> Some checking, indeed, that file does not exist. A gzipped version does,
>> so: trying to release, attempt 2:
>>     
>
> Ok.
>
>   
>> # amavisd-release
>> spam-ed34c6f3da86888b0ea65c336cbeb63a-20070212-122718-16148-09.gz
>> 450 4.5.0 ERROR: Stored quarantine ID
>> 'spam-ed34c6f3da86888b0ea65c336cbeb63a-20070212-122718-16148-09'
>> does not match requested ID '718-16148-09'
>> at /usr/sbin/amavisd-new line 6312 
>>     
>
> Strange. There isn't such a message in amavisd-new-2.4.2,
> the closest is, literally:
>   stored quar. ID '%s' does not match requested ID '%s'
>
> And the 'spam-ed34c6f3da86888b0ea65c336cbeb63a-20070212-122718-16148-09'
> is most weird for a stored quarantine id, which normally looks
> something like OP5Sk7JHyAiv.
>
> Could you please take a look into the file and see what X-Quarantine-ID:
> header field it carries - somewhere close to its beginning, e.g.:
>   X-Quarantine-ID: <OP5Sk7JHyAiv>
>
> Mark
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to