Re: Amavisd-release Frage
Hallo Heiko,
am 17.02.13 schrieb Heiko Schlittermann
>> Wie kann ich das machen? * geht ja so nicht.
>
>Warum nicht. Will amavisd-release immer nur eine Message, oder werden
>es bei * zu viele?
root@mail-proxy:/var/lib/amavis/virusmails/0# amavisd-release \*
Invalid quarantine ID: *
amavisd-release version 1.5
Usage: $ amavisd-release mail_file [secret_id [alt_recip1 alt_recip2 ...]]
or to read request lines from stdin: $ amavisd-release -
>Wenn Du eine Bourne-Shell hast:
>
> for m in 1/*; do
> amavisd-release "$m"
> done
Invalid quarantine ID: 0/*
amavisd-release version 1.5
Usage: $ amavisd-release mail_file [secret_id [alt_recip1 alt_recip2 ...]]
or to read request lines from stdin: $ amavisd-release -
Ob ich da Bourne-shell habe muss ich noch schauen. So ging es nicht.
>sollte in beiden Fällen helfen.
>Alternativ, egal welche Shell:
>
> find 1/ -type f -exec amavisd-release {} ;¹
> find 1/ -type f -exec amavisd-release {} +
>
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, <GEN32> line 5.
450 4.5.0 Failure: Unsafe filename './spam-0BhS3rKtey6Z.gz' at (eval 99) line 319, <GEN49> line 5.
War ein versuch wert ;-)
Danke
Gruß
Dirk
Reply to: