amavis-user February 2013 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: amavisd-release help

Re: amavisd-release help

From: Patrick Ben Koetter <p_at_nospam>
Date: Sun Feb 17 2013 - 20:07:11 GMT
To: amavis-users@amavis.org

Dirk,

* Dirk Schleicher <dirk.schleicher@gmx.de>:
> I like to send all files stored in a directory to my user.
>
> I try
> root@mail-proxy:/var/lib/amavis/virusmails/0# find -type f -exec amavisd-release {} \;
> 450 4.5.0 Failure: Unsafe filename './spam-0r4J3DDXs+Di.gz' at (eval 99) line 319, <GEN64> line 5.
> 450 4.5.0 Failure: Unsafe filename './spam-0BhS3rKtey6Z.gz' at (eval 99) line 319, <GEN83> line 5.
> 450 4.5.0 Failure: Unsafe filename './virus-0YRPUktUXNBY' at (eval 99) line 319, <GEN65> line 5.
> 450 4.5.0 Failure: Unsafe filename './spam-0x7gXXv+kmJY.gz' at (eval 99) line 319, <GEN84> line 5.

Are the files in subdirecories of /var/lib/amavis/virusmails?
If they are the logic to release such a mail would probably be:

% amavisd-release <DIRNAME>/spam-<ID>.gz

p@rick

-- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich