Rick, > I am storing my quarantined spam in a MySQL DB using amavisd 2.6.1. I have > encountered an apparent problem with amavisd-release when attempting to > release multipart-mime messages that have been sent to more than one user. > > Running: > "amavisd-release '3bXlhn6uyq23' 'P3eq6iCRywxQ' '[EMAIL PROTECTED]'" > > Produces the error: > 450 4.5.0 ERROR: Stored quarantine ID '' does not match requested ID > '3bXlhn6uyq23' at /usr/local/sbin/amavisd line 7898, <GEN96> line 5.
The error message is misleading, the actual reason is that a record with mail_id 3bXlhn6uyq23 does not exist in your database (or no longer exists). The amavisd log shows what actually happened. Btw, are you leaving partition_tag at a default (0) or is it set to some other value (like a week number)? I'll fix the error message message for the next release, thanks! > Running: > "amavisd-release '3bXlhn6uyq23' 'P3eq6iCRywxQ'" > > Produces the error: > 450 4.5.0 Failure: Can't use an undefined value as an ARRAY reference at > (eval 93) line 615, <GEN245> line 5. > > Running: > "amavisd-release '3bXlhn6uyq23'" > > Produces the error: > 450 4.5.0 Failure: Can't use an undefined value as an ARRAY reference at > (eval 93) line 615, <GEN251> line 4. Again, the underlying reason is the same, but instead of failing right there, the program continues and falls on a subsequent failure. The difference between the first and the second case is only where the subsequent failure happens (in the first case the recipient is explicitly specified in a release request, while in the second case it is implicit but missing as there is no record found). > amavisd-release works as expected on other messages using the same syntax > as the above examples. Ok. Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
