amavisd-release help

Patrick Ben Koetter p at sys4.de
Sun Feb 17 21:07:11 CET 2013


Dirk,

* Dirk Schleicher <dirk.schleicher at gmx.de>:
> I like to send all files stored in a directory to my user.
> 
> I try 
> root at 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 at 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
 


More information about the amavis-users mailing list