amavisd-release and quarantine IDs

Alex mysqlstudent at gmail.com
Fri Oct 28 22:07:16 CEST 2011


Hi,
I have a fedora15 system with amavisd-2.6.6, and trying to use
amavisd-release. It's not working because the quarantine ID doesn't
match the name of the actual quarantined file:

Oct 27 14:42:45 mail02 amavis[12768]: (12768-07) Blocked BAD-HEADER,
[207.97.XXX.165] [207.97.XXX.165] <reservations at carmen.com> ->
<harris at example.com>, quarantine:
badh-b186a116b69831c8ef90af936745dc08-20111027T144245-12768-07.gz,
mail_id: fkwA22ARsMNo, Hits: -, size: 125448, 178 ms
Oct 27 14:42:45 mail02 postfix/smtp[12404]: D53C868DC5:
to=<harris at example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.83,
delays=0.65/0/0/0.18, dsn=2.6.0, status=sent (250 2.6.0 Ok, discarded,
id=12768-07 - BAD HEADER)

I've set up the quarantine method to be:

$bad_header_quarantine_method       = 'local:badh-%b-%i-%n.gz';

Running amavisd-release using the quarantine ID:

# amavisd-release fkwA22ARsMNo
450 4.5.0 Failure: File /var/spool/amavisd/quarantine/fkwA22ARsMNo
does not exist at (eval 87) line 385, <GEN149> line 4.

# amavisd-release
badh-b186a116b69831c8ef90af936745dc08-20111027T144245-12768-07.gz
alex at example.com
450 4.5.0 ERROR: Stored quarantine ID 'fkwA22ARsMNo' does not match
requested ID 'badh-b186a116b69831c8ef90af936745dc08-20111027T144245-12768-07'
at /usr/sbin/amavisd line 8355, <GEN263> line 17.

How can I convince amavisd-release to requeue and deliver this message?

Thanks,
Alex


More information about the amavis-users mailing list