Hi'
(amavisd-new-2.6.4 (20090625)) I'm having problems with releasing e-mails from quarantine using the commandline tool amavisd-release. The e-mail is put into sql-quarantine because spam assassin has marked it as spam. But when I run 'amavisd-release 36lGky1ET9nU' I get this: 250 2.5.0 No recipients, nothing to do Amavis-log produces this: May 2 11:22:48 amavis amavis[20106]: (rel-36lGky1ET9nU) Quarantined message release (miscategorized): 36lGky1ET9nU <> -> May 2 11:22:48 amavis amavis[20106]: (rel-36lGky1ET9nU) Quarantine release 36lGky1ET9nU: missing X-Quarantine-ID; missing X-Envelope-From or Return-Path; missing X-Envelope-To May 2 11:22:48 amavis amavis[20106]: (rel-36lGky1ET9nU) WARN: dispatch_from_quarantine failed: Stored quarantine ID '' does not match requested ID '36lGky1ET9nU' at /usr/sbin/amavisd-new line 8345, <GEN50> line 4. Amavis detecting email as spam: May 2 11:19:08 amavis amavis[20107]: (20107-03) Blocked SPAM, amavis [192.168.0.10] [192.168.0.10] <REMOVED1> -> <REMOVED2>, quarantine: 36lGky1ET9nU[201218], Message-ID: <16E0EADFC77B452CAD2E0A1EAC440061@JADAPC>, mail_id: 36lGky1ET9nU, Hits: 7.466, size: 1232, pt: 201218, 6482 ms May 2 11:19:08 amavis postfix-local/smtp[20144]: 03292869: to=<REMOVED>, relay=localhost[127.0.0.1]:10024, delay=6.6, delays=0.09/0/0.01/6.5, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=20107-03 - SPAM) May 2 11:19:08 amavis postfix-local/qmgr[1629]: 03292869: removed Records in the database to this e-mail containts this: mysql> select * from msgrcpt where mail_id = '36lGky1ET9nU'; +---------------+--------------+-----+----+----+------+------+-------------+ ---------------------------------------------+ | partition_tag | mail_id | rid | ds | rs | bl | wl | bspam_level | smtp_resp | +---------------+--------------+-----+----+----+------+------+-------------+ ---------------------------------------------+ | 201218 | 36lGky1ET9nU | 125 | D | | N | N | 7.466 | 250 2.7.0 Ok, discarded, id=20107-03 - SPAM | +---------------+--------------+-----+----+----+------+------+-------------+ ---------------------------------------------+ 1 row in set (0.00 sec) mysql> select * from msgs where mail_id = '36lGky1ET9nU'; +---------------+--------------+--------------+----------+------------+----- -------------+-----+--------+-------------+------+---------+-----------+---- ------------------+----------+------------+--------------------------------- ----------+-----------------------------+----------------+------------------ -+ | partition_tag | mail_id | secret_id | am_id | time_num | time_iso | sid | policy | client_addr | size | content | quar_type | quar_loc | dsn_sent | spam_level | message_id | from_addr | subject | host | +---------------+--------------+--------------+----------+------------+----- -------------+-----+--------+-------------+------+---------+-----------+---- ------------------+----------+------------+--------------------------------- ----------+-----------------------------+----------------+------------------ -+ | 201218 | 36lGky1ET9nU | enbexgpvgjlQ | 20107-03 | 1335950342 | 20120502T091902Z | 124 | amavis | 192.168.0.10 | 1232 | S | Q | 36lGky1ET9nU[201218] | N | 7.466 | <16E0EADFC77B452CAD2E0A1EAC440061@PC> | "Jacob" <REMOVED1> | buy viagra now | amavis | +---------------+--------------+--------------+----------+------------+----- -------------+-----+--------+-------------+------+---------+-----------+---- ------------------+----------+------------+--------------------------------- ----------+-----------------------------+----------------+------------------ -+ 1 row in set (0.00 sec) mysql> select * from maddr; +---------------+-----+-------------------+--------------+ | partition_tag | id | email | domain | +---------------+-----+-------------------+--------------+ | 201218 | 124 | REMOVED1 | XX.XXXXXX | | 201218 | 125 | REMOVED2 | XX.XXXXXX | +---------------+-----+-------------------+--------------+ 4 rows in set (0.00 sec) I really can't figure out, whats wrong here. I have a amavisd-custom.pl-file with some changes, but I've also tried without these changes, that doesn't change anything, I still get this error. I hope, someone can give some input to this J Kind regards Jacob
