Controlling quarantine ID names
Alex
mysqlstudent at gmail.com
Mon Nov 21 17:23:26 CET 2011
Hi,
I am using amavis-2.6.6 on fedora15 with spamassassin-3.3.2. I'd like
to change the X-Quarantine-ID stored in the quarantined file to match
that of the filename, so I can use amavisd-release. I have the
following for the filename format:
$virus_quarantine_method = 'local:virus-%b-%i-%n.gz';
$spam_quarantine_method = 'local:spam-%b-%i-%n.gz';
$banned_files_quarantine_method = 'local:banned-%b-%i-%n.gz';
$bad_header_quarantine_method = 'local:badh-%b-%i-%n.gz';
However, the quarantine IDs are like:
X-Quarantine-ID: <xFgIbf8TON1E>
so when I try to release the quarantined file:
# amavisd-release xFgIbf8TON1E
450 4.5.0 Failure: File /var/spool/amavisd/quarantine/xFgIbf8TON1E
does not exist at (eval 87) line 385, <GEN178> line 4.
However, if I decompress it and rename it, it successfully delivers it.
Thanks,
Alex
More information about the amavis-users
mailing list